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

cloud.b.lab cloud.b.lab at zoho.com
Tue May 8 08:32:44 PDT 2012


Tino,
Thanks for the reply.
I compared with only the Shared Transfer driver in both. Currently I am on travel and I will post some more details like  "Time taken"  on both versions etc once I am back to work. 
Regards,
Anil

---- On Mon, 07 May 2012 10:16:52 -0700 Tino Vazquez <tinova at opennebula.org> wrote ---- 


Hi Anil, 
 
So which drivers are you comparing exactly? I mean, are you comparing 
SSH drivers in ONE 3.2 vs ONE3.4? Or are you trying all the 
combinations? 
 
Operations in ONE3.4 regarding cloning of files are done in the ESX 
host, whereas it was done in the front-end in ONE3.2. It may be that 
performance is a tad worst in the low load scenario in ONE 3.4 vs ONE 
3.2 in SHARED drivers (SSH should pretty much be the same), but on the 
other hand the scalability is much better (in terms of responsiveness 
of the front-end). Please let me know if your findings indicates 
otherwise. 
 
Regards, 
 
-Tino 
 
-- 
Constantino Vázquez Blanco, MSc 
Project Engineer 
OpenNebula - The Open-Source Solution for Data Center Virtualization 
www.OpenNebula.org | @tinova79 | @OpenNebula 
 
 
On Mon, Apr 30, 2012 at 7:03 PM, cloud.b.lab <cloud.b.lab at zoho.com> wrote: 
> Tino, 
> Thanks. 
>  In the mean time I tested OpenNebula 3.4 with ESX 4.1 using all threse TMs 
> (SSH, SHARED and VMWARE). All are working fine. But I see a little bit of 
> performance issue. 
> I am  comparing the time , 
> OpenNebula 3.4  takes to clone/ transfer Ubuntu 11.10 Desktop VMDK files to 
> ESX 4.1 
> versus 
> OpenNebula 3.2.1  transferring  Ubuntu 11.10 Desktop VMDK files to 
> ESXi5.0. 
> 
> According to me, OpenNebula 3.2.1  with ESXi5.0 was much faster with same 
> Ubuntu 11.10 Desktop VMDK files. 
> 
> Regards, 
> Anil Kumar. 
> 
> ---- On Mon, 30 Apr 2012 04:44:49 -0700 Tino Vazquez <tinova at opennebula.org> 
> wrote ---- 
> 
> The link to the ticket: http://dev.opennebula.org/issues/1260 
> -- 
> Constantino Vázquez Blanco, MSc 
> Project Engineer 
> OpenNebula - The Open-Source Solution for Data Center Virtualization 
> www.OpenNebula.org | @tinova79 | @OpenNebula 
> 
> 
> On Mon, Apr 30, 2012 at 1:44 PM, Tino Vazquez <tinova at opennebula.org> wrote: 
>> Dear Anil, 
>> 
>> You are very right, this is a bug since it is true that "sudo" doesn't 
>> come installed by default in ESX 5.0. 
>> 
>> A possible workaround is to use the root account in the ESX 5.0 host, 
>> since root permissions is needed by the vmkfstools command. 
>> 
>> I've attached in the ticket a replacement for clone that uses a "ssh 
>> root@<esx>" connection, and removes the use of sudo. For that you will 
>> need to: 
>> 
>>  * enable root access via ssh to ESX 5.0 
>>  * replace the clone script 
>> 
>> We will start working on a proper solution for this, it would be 
>> trackable from dev.opennebula. 
>> 
>> Regards, 
>> 
>> -Tino 
>> 
>> -- 
>> Constantino Vázquez Blanco, MSc 
>> Project Engineer 
>> OpenNebula - The Open-Source Solution for Data Center Virtualization 
>> www.OpenNebula.org | @tinova79 | @OpenNebula 
>> 
>> 
>> On Sun, Apr 29, 2012 at 10:59 AM, cloud.b.lab <cloud.b.lab at zoho.com> 
>> wrote: 
>>> 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] 
>>> 
>>> _______________________________________________ 
>>> 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/20120508/edd06c86/attachment-0003.htm>


More information about the Users mailing list