Re: [one-users] Error with TM_LVM

2011-02-22 Thread Anoop L
Hi Jaime, Thank you for the patch. It all went good and I launched the second VM. Error I mentioned was due to VNC configuration on VM template. I have used the same VNC port for second VM. TM_LVM works fine now and it creates the LV with VMID. I have another doubt, how can I force to create o

Re: [one-users] Error with TM_LVM

2011-02-21 Thread Anoop L
Thanks Jaime. I have edited the tm_lvmrc and now I get this error on launching a second VM: Tue Feb 22 08:51:33 2011 [LCM][I]: New VM state is BOOT Tue Feb 22 08:51:33 2011 [VMM][I]: Generating deployment file: /opt/cloud/one/var/87/deployment.0 Tue Feb 22 08:53:21 2011 [VMM][I]: Command executi

Re: [one-users] Error with TM_LVM

2011-02-21 Thread Jaime Melis
Hi Anoop, we have figured out what's wrong. A while back we changed the $SED variable and to use by default the '-r' option (extended reg-exps), but that change broke the sed script which parses de VM ID which is passed to the tm_clone script. We have reported a bug and submitted a patch: http://d

Re: [one-users] Error with TM_LVM

2011-02-16 Thread Anoop L
sure Jaime. I have attached the vm.log as well. Vm.log: Wed Feb 16 20:49:43 2011 [DiM][I]: New VM state is ACTIVE. Wed Feb 16 20:49:43 2011 [LCM][I]: New VM state is PROLOG. Wed Feb 16 20:49:43 2011 [VM][I]: Virtual Machine has no context Wed Feb 16 20:49:54 2011 [TM][I]: Command execution fail:

Re: [one-users] Error with TM_LVM

2011-02-16 Thread Jaime Melis
Hi Anoop, could you please send me the full vm.log of that VM? cheers, Jaime On Wed, Feb 16, 2011 at 4:31 PM, Anoop L wrote: > Hi Jaime, > > Thanks for the reply. My VM ID is 86 but still ONE uses 0 as identifier for > LV. Even the working VM with ID is using lv-one--0. > > I have already tri

Re: [one-users] Error with TM_LVM

2011-02-16 Thread Anoop L
Hi Jaime, Thanks for the reply. My VM ID is 86 but still ONE uses 0 as identifier for LV. Even the working VM with ID is using lv-one--0. I have already tried removing LV manually. I guess issue is that ONE is trying to create the LV of same name and some how VM ID is not appended to the LV_NAME

Re: [one-users] Error with TM_LVM

2011-02-16 Thread Jaime Melis
Hello Anoop, Is the ID of the VM you're trying to deploy '0' ? When you deploy a new vm the following LV volume will be created: lv-one-. If that LV already exists then it fails. My guess is that it's failing because for some reason OpenNebula didn't get the change to do a 'delete' removing the LV

[one-users] Error with TM_LVM

2011-02-16 Thread Anoop L
Hi, I have successfully created a VM from Front-End to a Xen node However on creating the second VM I get an error: Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: Creating LV lv-one--0 Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: ERROR: Command "/usr/bin/ssh node-1 /usr/bin/sudo /sbin/lvcreate