yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #53087
[Bug 1529581] Re: delete RBD residual data when unrescue a vm
*** This bug is a duplicate of bug 1475652 ***
https://bugs.launchpad.net/bugs/1475652
** This bug is no longer a duplicate of bug 1478199
Unrescue will not remove rescue disk in ceph when image_type=rbd
** This bug has been marked a duplicate of bug 1475652
libvirt, rbd imagebackend, disk.rescue not deleted when unrescued
--
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/1529581
Title:
delete RBD residual data when unrescue a vm
Status in OpenStack Compute (nova):
Invalid
Bug description:
the code in nova/virt/libvirt/driver.py :
def unrescue(self, instance, network_info):
......
......
rescue_files = os.path.join(instance_dir, "*.rescue")
for rescue_file in glob.iglob(rescue_files):
libvirt_utils.file_delete(rescue_file)
# cleanup rescue volume
lvm.remove_volumes([lvmdisk for lvmdisk in self._lvm_disks(instance)
if lvmdisk.endswith('.rescue')])
Only delete the local file and lvm volumes, so what about RBD?
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1529581/+subscriptions
References