yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #17990
[Bug 1172691] Re: LXC termination fails using LVM for root
*** This bug is a duplicate of bug 1333827 ***
https://bugs.launchpad.net/bugs/1333827
** This bug has been marked a duplicate of bug 1333827
Libvirt-LXC can leave image mounted to host
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1172691
Title:
LXC termination fails using LVM for root
Status in OpenStack Compute (Nova):
Triaged
Bug description:
Hello,
Terminating an instance running on LXC with LVM as instance root
storage fails with an exception.
The LVM volume is wiped using dd, but it is not disconnected from
qemu-nbd before the LVM volume gets removed.
The instance in itself on the compute node is stopped but still marked as Active, Deleting in nova. qemu-nbd is sill running.
After first failure, disconnecting the qemu-nbd process manually and relaunching the instance termination works
Log file in debug attached
Environment:
Ubuntu 12.04
OpenStack grizzly
Configuration for LVM:
libvirt_images_type=lvm
libvirt_images_volume_group=nova_local
Error: (The full stack can be find in attached log)
2013-04-25 12:02:59.119 10796 TRACE nova.openstack.common.rpc.amqp ProcessExecutionError: Unexpected error while running command.
2013-04-25 12:02:59.119 10796 TRACE nova.openstack.common.rpc.amqp Command: sudo nova-rootwrap /etc/nova/rootwrap.conf lvremove -f /dev/nova_local/instance-00000004_disk
2013-04-25 12:02:59.119 10796 TRACE nova.openstack.common.rpc.amqp Exit code: 5
2013-04-25 12:02:59.119 10796 TRACE nova.openstack.common.rpc.amqp Stdout: ''
2013-04-25 12:02:59.119 10796 TRACE nova.openstack.common.rpc.amqp Stderr: ' Can\'t remove open logical volume "instance-00000004_disk"\n'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1172691/+subscriptions