[one-users] tm_lvm, xen and VM delete command

Rolandas Naujikas rolandas.naujikas at mif.vu.lt
Tue Jan 24 01:39:05 PST 2012


Hi,

When I tried to do "delete" command from sunstone to running xen VM with
tm_lvm and LVM volume, LVM volume is not removed from the host.
LVM volume is tried to be removed, before running VM is removed.
I thing in command "delete" the first step should be remove VM and only
after remove files (volumes).

...
Tue Jan 24 11:18:07 2012 [TM][W]: Ignored: LOG I 168 tm_delete.sh:
Deleting remote LVs

Tue Jan 24 11:18:07 2012 [TM][W]: Ignored: LOG E 168 tm_delete.sh:
Command "ssh pvxen1 sudo lvremove -f $(echo vgone/$(sudo lvs
--noheadings vgone|awk '{print $1}'|grep lv-one-168))" failed.

Tue Jan 24 11:18:07 2012 [TM][W]: Ignored: LOG E 168 tm_delete.sh:
Can't remove open logical volume "lv-one-168-0"

Tue Jan 24 11:18:07 2012 [TM][W]: Ignored: LOG E 168 Can't remove open
logical volume "lv-one-168-0"

Tue Jan 24 11:18:07 2012 [TM][W]: Ignored: LOG I 168 ExitCode: 5

Tue Jan 24 11:18:07 2012 [TM][W]: Ignored: TRANSFER FAILURE 168 Can't
remove open logical volume "lv-one-168-0"

Tue Jan 24 11:18:08 2012 [VMM][W]: Ignored: LOG I 168 cancel: Executed
"sudo /usr/sbin/xm destroy one-168".

Tue Jan 24 11:18:08 2012 [VMM][W]: Ignored: LOG I 168 ExitCode: 0
...

Regards, Rolandas Naujikas



More information about the Users mailing list