[one-users] vm in vmware can't start

Vu Tong Minh vtminh at fpt.net
Mon Dec 6 19:47:18 PST 2010


Hi Tino,

I did as you suggest, and one-49 was started successfully.

But when I create a new vm, processes are still hang.

/oneadmin  8104     1  0 10:20 pts/0    00:00:00 sh -c 
/srv/cloud/one/lib/remotes/vmm/vmware/deploy 10.160.0.23 
/srv/cloud/one/var/50/deployment.0 ; echo ExitCode: $? 1>&2
oneadmin  8105  8104  0 10:20 pts/0    00:00:00 ruby 
/srv/cloud/one/lib/remotes/vmm/vmware/deploy 10.160.0.23 
/srv/cloud/one/var/50/deployment.0
oneadmin  8111     1  0 10:20 pts/0    00:00:00 sh -c 
/srv/cloud/one/bin/tty_expect -u oneadmin -p onepasswd virsh -c 
esx://10.160.0.23?no_verify=1 start one-50 ; echo ExitCode: $? 1>&2
oneadmin  8112  8111  0 10:20 pts/0    00:00:00 
/srv/cloud/one/bin/tty_expect -u oneadmin -p onepasswd virsh -c 
esx://10.160.0.23?no_verify=1 start one-50
oneadmin  8113  8112  0 10:20 pts/1    00:00:00 virsh -c 
esx://10.160.0.23?no_verify=1 start one-50
/

This is output from oned.log:

/Tue Dec  7 10:20:56 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
Tue Dec  7 10:20:56 2010 [ReM][D]: VirtualMachineDeploy invoked
Tue Dec  7 10:20:56 2010 [DiM][D]: Deploying VM 50
Tue Dec  7 10:20:57 2010 [TM][D]: Message received: LOG - 50 tm_ln.sh: 
Creating directory /srv/cloud/one/var//50/images
Tue Dec  7 10:20:57 2010 [TM][D]: Message received: LOG - 50 tm_ln.sh: 
Executed "mkdir -p /srv/cloud/one/var//50/images".
Tue Dec  7 10:20:57 2010 [TM][D]: Message received: LOG - 50 tm_ln.sh: 
Executed "chmod a+w /srv/cloud/one/var//50/images".
Tue Dec  7 10:20:57 2010 [TM][D]: Message received: LOG - 50 tm_ln.sh: 
Link /srv/cloud/one/var/images/disk
Tue Dec  7 10:20:57 2010 [TM][D]: Message received: LOG - 50 tm_ln.sh: 
Executed "ln -s ../../images/disk /srv/cloud/one/var//50/images/disk.0".
Tue Dec  7 10:20:57 2010 [TM][D]: Message received: TRANSFER SUCCESS 50 -
Tue Dec  7 10:21:26 2010 [ReM][D]: HostPoolInfo method invoked
Tue Dec  7 10:21:26 2010 [ReM][D]: VirtualMachinePoolInfo method invoked/


I'm using CentOS 5.5 (64bit), ruby 1.8.7 (2010-08-16 patchlevel 302), 
libvirt 0.8.4

This's my template /2k3_64.onevm/:
/        NAME = 2k3_64
         MEMORY = 1024
         DISK = [
         TARGET = sda,
         BUS = scsi,
         SOURCE = /srv/cloud/one/var/images/disk,
         CLONE = NO,
         SAVE = NO
         ]/

And //srv/cloud/one/var/images/disk/ includes: /disk.vmdk, 
Win2k3_64-flat.vmdk/.

Please tell me if you need more info.

BR,

VTMinh



On 07/12/2010 3:02 SA, Tino Vazquez wrote:
> Hi Vu,
>
> This may be due to a variety of reasons, most probably the ESX
> hypervisor finding difficulties to start the VM due to some question
> it has that is not being answered. This can be, for instance, the
> typical question about the VM being moved or copied.
>
> In order to debug this, I suggest connecting to the ESX host using the
> VI client, and try to run the virsh command directly from the prompt,
> the VI client should output the reason of the hanging:
>
> $ virsh -c esx://10.160.0.23?no_verify=1 start one-49
>
> Best regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco | dsa-research.org/tinova
> Virtualization Technology Engineer / Researcher
> OpenNebula Toolkit | opennebula.org
>
>
>
> On Mon, Dec 6, 2010 at 3:32 AM, Vu Tong Minh<vtminh at fpt.net>  wrote:
>> Hi,
>>
>> I'm trying to test One 2.0 with VMWare ESXi 4.0. I only can deploy vm into
>> vmware but I can't start vm up. Processes is hang.
>>
>> oneadmin  4008     1  0 18:03 pts/0    00:00:00 /srv/cloud/one/bin/oned -f
>> oneadmin  4018     1  0 18:03 pts/0    00:00:00 /srv/cloud/one/bin/mm_sched
>> -p 2633 -t 30 -m 300 -d 30 -h 1
>> oneadmin  4026  4008  0 18:03 pts/0    00:00:00 ruby
>> /srv/cloud/one/lib/mads/one_vmm_ssh.rb kvm
>> oneadmin  4036  4008  0 18:03 pts/0    00:00:00 ruby
>> /srv/cloud/one/lib/mads/one_vmm_sh.rb vmware
>> oneadmin  4046  4008  0 18:03 pts/0    00:00:00 ruby
>> /srv/cloud/one/lib/mads/one_im_ssh.rb kvm
>> oneadmin  4055  4008  0 18:03 pts/0    00:00:00 ruby
>> /srv/cloud/one/lib/mads/one_im_sh.rb vmware
>> oneadmin  4064  4008  0 18:03 pts/0    00:00:00 ruby
>> /srv/cloud/one/lib/mads/one_tm.rb tm_nfs/tm_nfs.conf
>> oneadmin  4077  4008  0 18:03 pts/0    00:00:00 ruby
>> /srv/cloud/one/lib/mads/one_tm.rb tm_vmware/tm_vmware.conf
>> oneadmin  4086  4008  0 18:03 pts/0    00:00:00 ruby
>> /srv/cloud/one/lib/mads/one_hm.rb
>> oneadmin  4143     1  0 18:05 pts/0    00:00:00 sh -c
>> /srv/cloud/one/lib/remotes/vmm/vmware/deploy 10.160.0.23
>> /srv/cloud/one/var/49/deployment.0 ; echo ExitCode: $? 1>&2
>> oneadmin  4144  4143  0 18:05 pts/0    00:00:00 ruby
>> /srv/cloud/one/lib/remotes/vmm/vmware/deploy 10.160.0.23
>> /srv/cloud/one/var/49/deployment.0
>> oneadmin  4151     1  0 18:05 pts/0    00:00:00 sh -c
>> /srv/cloud/one/bin/tty_expect -u oneadmin -p onepasswd virsh -c
>> esx://10.160.0.23?no_verify=1 start one-49 ; echo ExitCode: $? 1>&2
>> oneadmin  4152  4151  0 18:05 pts/0    00:00:00
>> /srv/cloud/one/bin/tty_expect -u oneadmin -p onepasswd virsh -c
>> esx://10.160.0.23?no_verify=1 start one-49
>> oneadmin  4153  4152  0 18:05 pts/1    00:00:00 virsh -c
>> esx://10.160.0.23?no_verify=1 start one-49
>>
>> Any suggest help me to fix this issue?
>>
>> Thks,
>>
>> VTMinh
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101207/15fac9f8/attachment-0003.htm>


More information about the Users mailing list