4 Replies Latest reply on Jun 11, 2010 12:30 AM by chorgeas

    Ubuntu 10.04 as template

    ThomasKu Lurker





      is it possible to use Ubuntu 10.04 as Guest OS? I tried to setup vmware studio as described in Ubuntu 9.10 support howto. I even managed to change the old packages librpm4.4 to librpm0, and the same with lipcurl. But the vm is not build correctly.



      It is also strange that i can't search inside the package list. I get a message "Package searching requires ISO file. Verify that the file specified

      exists." But the location of the iso file is verified.



      What do I have to do to get it working? What additional information should I post?



      I can build a vm that is based on Ubuntu 8.041.










        • 1. Re: Ubuntu 10.04 as template
          ThomasKu Lurker


          Additional Information:



          log-information in /opt/vmware/var/log/vami/vami.log:



          09/06/2010 15:19:42 /build/mts/release/bora-185256/vadk/src/vami/services/build/server/VADK_Search_Package_Provider.cpp:170 Unknown ISO File:/opt/vmware/www/ISV/ISO/ubuntu-10.04-dvd-i386.iso



          Request Information send from firefox:



          version="1.0" encoding="UTF-8"?>

          CIMVERSION="2.0" DTDVERSION="2.0"><MESSAGE ID="20"

          NAME="root"/><NAMESPACE NAME="cimv2"


          NAME="ResultEndIndex" PARAMTYPE="uint16"

          NAME="RepositoryURL" PARAMTYPE="string"><VALUE>/opt/vmware

          NAME="ResultFilter" PARAMTYPE

          NAME="Query" PARAMTYPE="string"><VALUE>Development




          Thanks in advance.






          • 2. Re: Ubuntu 10.04 as template
            Arthurrh Novice

            Studio only supports very specific versions of each OS as listed in the developer guide. Unfortunately Ubuntu 10.4 is not currently one of them. Note that the dev guide also conveniently lists where you can get the ISO's the linux that it supports. Page 30 in the version of the dev guide that I have.

            • 3. Re: Ubuntu 10.04 as template
              chorgeas Hot Shot

              Yes, Ubuntu 10.04 is not supported by VMware Studio 2.0


              But you can refer "Ubuntu 9.10 Server support on VMware Studio 2.0" document for creating Ubuntu 10.04. Following is the link for the same.


              • 4. Re: Ubuntu 10.04 as template
                ThomasKu Lurker


                I dug deeper into Studio to find the problem.



                Findings so far:



                1. Inside the libcmpiVADK_Build_Provider.so the error why the iso of ubuntu 10.04 is not recognized correctly is, that inside the VDAK_Search_Package method the file /dists/stable/main/binary-i386/Packages is tried to copy to the /tmp/cache_packageBrowsing directory. But instead the file /dists/stable/main/binary-i386/Packages.gz should be copied with zcat done before. I tried to fix this in the shared library, but without the source it is useless.



                I don't know if this error has an impact on the build process. But I will keep on trying.