[one-users] [one-ecosystem] vmware deployment problem

Tino Vazquez tinova at fdi.ucm.es
Tue Oct 26 02:59:21 PDT 2010


Hi Paul,

Can you check the $ONE_LOCATION/var/8/images/*/vmware.log to see what
is failing?

Regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Mon, Oct 25, 2010 at 5:55 PM, Paul Piscuc <paul.piscuc at sinergetic.ro> wrote:
> Hi,
>
> well, it seams that now the problem is another. We have created a new
> template, and used as disk the one created with onevmware. It passed the
> boot phase, and now the error is:
>
> Mon Oct 25 18:51:43 2010 [VMM][I]: [VMWARE] cmd failed
> [/srv/cloud/one/bin/tty_expect -u oneadmin -p **** virsh -c
> esx://vmware.local?no_verify=1 start one-8]. Stderr:
> Mon Oct 25 18:51:43 2010 [VMM][I]: error: Failed to start domain one-8
>
>
>
> On Mon, Oct 25, 2010 at 5:17 PM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>>
>> Hi Paul,
>>
>> Does "srv/cloud/one/var/images" exist, and is it writable by oneadmin?
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> Virtualization Technology Engineer / Researcher
>> OpenNebula Toolkit | opennebula.org
>>
>>
>>
>> On Mon, Oct 25, 2010 at 4:03 PM, Paul Piscuc <paul.piscuc at sinergetic.ro>
>> wrote:
>> > Hi,
>> >
>> > We are trying to use the new method. The paths are:
>> > local images in : /srv/cloud/one/localimages
>> > local NFS mounted as test in ESX: /srv/cloud/one/var
>> > image repository path: /srv/cloud/one/var/images
>> >
>> > the onehost vmware.local works fine. Ssh to the vmware works fine
>> > also.Also,
>> > ESX doen't have any machine with the name debtest.
>> > template:
>> >
>> > NAME=debtest
>> > MEMORY=256
>> > CPU=1
>> >
>> > NIC=[NETWORK="Public"]
>> >
>> > command: onevmware register --disk-vmdk debtest.vmdk --disk-flat
>> > debtest-flat.vmdk debtest.one
>> > error:
>> > /srv/cloud/one/lib/ruby/OpenNebula/ImageRepositoryVMware.rb:59:in
>> > `mkdir':
>> > No such file or directory -
>> > /srv/cloud/one/var/images/e3a9e8d2cf347e141d4339325561a46e30fd18b8
>> > (Errno::ENOENT)
>> >
>> > Sorry for all the trouble.
>> >
>> >
>> > On Mon, Oct 25, 2010 at 4:01 PM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>> >>
>> >> Hi Paul,
>> >>
>> >> comments inline,
>> >>
>> >>
>> >> On Mon, Oct 25, 2010 at 2:28 PM, Paul Piscuc
>> >> <paul.piscuc at sinergetic.ro>
>> >> wrote:
>> >> > Hi,
>> >> >
>> >> > We are using the new VMware driver, with mysql backend, but we're
>> >> > having
>> >> > serios problems when trying to launch and deploy the virtual machine.
>> >> > We
>> >> > have mounted NFS localy at ~/var/images, we have set in oned.conf
>> >> > IMAGE_REPOSITORY_PATH = /srv/cloud/var/images , in
>> >> > ~/etc/vmm_sh/vmm_sh_vmware.conf , the name of the datastore is test.
>> >> > When
>> >> > trying to register an existing machine on the ESX using
>> >> >
>> >> > onevmware register debtest.tem --disk-vmdk
>> >> > /srv/cloud/one/var/images/debtest/debtest.vmdk --disk-flat
>> >> > /srv/cloud/one/var/images/debtest/debtest-flat.vmdk
>> >> >
>> >> > the error generated is
>> >> > /srv/cloud/one/lib/ruby/OpenNebula/ImageRepositoryVMware.rb:59:in
>> >> > `mkdir':
>> >> > No such file or directory -
>> >> > /srv/cloud/var/images/447ae3c816e8ca89fc99edcb913d653767d066eb
>> >> > (Errno::ENOENT)
>> >> >
>> >>
>> >> The setup should be: the image repository being in
>> >> $ONE_LOCATION/var/images, and your local images in some other
>> >> location. The onevmware register will then copy the vmdk and the flat
>> >> files from that other location to $ONE_LOCATION/var/images. also, the
>> >> whole $ONE_LOCATION/var needs to be mounted in the ESX as the "test"
>> >> datastore.
>> >>
>> >> I see that the images are in " /srv/cloud/one/var/images/debtest", is
>> >> that $ONE_LOCATION/var?
>> >>
>> >> > Part 2
>> >> > When trying to deploy from a local path, using onevm create and the
>> >> > deploy,
>> >> > tm_clone tries the copy to a whole different directory then the point
>> >> > where
>> >> > the test datastore is mounted on the ESX(/vmfs/volumes/test):
>> >> > neb2:/srv/cloud/one/localimages/debtest
>> >> > vmware.local:/srv/cloud/one/var//5/images/disk.0
>> >> > And then the error:
>> >> > Mon Oct 25 14:53:58 2010 [VMM][E]: Wrong target value in DISK.
>> >> >
>> >> > source="/srv/cloud/one/localimages/debtest
>> >> >
>> >> > Maybe you can point us in the right direction.
>> >>
>> >> When using images in the "traditional way" (ie. not using the Image
>> >> Catalog), you need to explicitly set the "TARGET" attribute in the
>> >> DISK section (try with "hda", for instance).
>> >>
>> >> Best regards,
>> >>
>> >> -Tino
>> >>
>> >> >
>> >> > Thank you.
>> >> >
>> >>
>> >>
>> >> --
>> >> Constantino Vázquez Blanco | dsa-research.org/tinova
>> >> Virtualization Technology Engineer / Researcher
>> >> OpenNebula Toolkit | opennebula.org
>> >
>> >
>
>



More information about the Users mailing list