[one-users] OpenNebula 3.4 and Esxi 5.0- image cloning task throws error

cloud.b.lab cloud.b.lab at zoho.com
Sun Apr 29 01:59:13 PDT 2012


Hi,
I am facing some issues while using VMWare Esxi5.0 with OpenNebula 3.4, especially while creating a VM.  [Esxi5.0 was working fine until OpenNebula 3.2]

As you know Esxi 5.0 does not have "sudo" it in but OpenNebula "Clone" program has "sudo" written in it, which suspends the cloning process. 

Pasting the contents of vm.log for your  reference.

oneadmin at OneHost:~/templates$ tail -n 100 ~/var/4/vm.log
Sun Apr 29 13:29:48 2012 [DiM][I]: New VM state is ACTIVE.
Sun Apr 29 13:29:48 2012 [LCM][I]: New VM state is PROLOG.
Sun Apr 29 13:29:48 2012 [VM][I]: Virtual Machine has no context
Sun Apr 29 13:29:48 2012 [TM][I]: Command execution fail: /var/lib/one/var/remotes/tm/vmware/clone OneHost:/var/lib/one/var/datastores/100/69da5878a2234300762a784b2ad8d85c esxi01:/var/lib/one/var/datastores/0/4/disk.0
Sun Apr 29 13:29:48 2012 [TM][I]: clone: Cloning ../../100/69da5878a2234300762a784b2ad8d85c in esxi01:/var/lib/one/var/datastores/0/4/disk.0
Sun Apr 29 13:29:48 2012 [TM][E]: clone: Command "cd /var/lib/one/var/datastores/0/4
Sun Apr 29 13:29:48 2012 [TM][I]: sudo /usr/sbin/vmkfstools -U /var/lib/one/var/datastores/0/4/disk.0/disk.vmdk
Sun Apr 29 13:29:48 2012 [TM][I]: sudo /usr/sbin/vmkfstools -i ../../100/69da5878a2234300762a784b2ad8d85c/disk.vmdk -d thin /var/lib/one/var/datastores/0/4/disk.0/disk.vmdk" failed: sh: cd: line 1: can't cd to /var/lib/one/var/datastores/0/4
Sun Apr 29 13:29:48 2012 [TM][I]: sh: sudo: not found
Sun Apr 29 13:29:48 2012 [TM][I]: sh: sudo: not found
Sun Apr 29 13:29:48 2012 [TM][E]: Error cloning OneHost:/var/lib/one/var/datastores/100/69da5878a2234300762a784b2ad8d85c to esxi01:/var/lib/one/var/datastores/0/4/disk.0
Sun Apr 29 13:29:48 2012 [TM][I]: ExitCode: 127
Sun Apr 29 13:29:48 2012 [TM][E]: Error executing image transfer script: Error cloning OneHost:/var/lib/one/var/datastores/100/69da5878a2234300762a784b2ad8d85c to esxi01:/var/lib/one/var/datastores/0/4/disk.0
Sun Apr 29 13:29:48 2012 [DiM][I]: New VM state is FAILED
=============================================================================================================================


Kindly help to resolve this issue.


Regards,
Anil Kumar A.N.
[cloud-b-lab]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120429/249f43fb/attachment-0002.htm>


More information about the Users mailing list