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

Jaime Melis jmelis at opennebula.org
Thu Feb 9 06:57:18 PST 2012


Hello Rolandas,

You're right, that's a bug. I've just opened an issue:
http://dev.opennebula.org/issues/1121

Thanks for reporting it!

Cheers,
Jaime

On Tue, Jan 24, 2012 at 10:39 AM, Rolandas Naujikas
<rolandas.naujikas at mif.vu.lt> wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org


More information about the Users mailing list