yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43777
[Bug 1529581] Re: delete RBD residual data when unrescue a vm
This bug fix is a duplicate of the following bug and fix.
https://bugs.launchpad.net/nova/+bug/1478199
https://review.openstack.org/#/c/205766/
** Changed in: nova
Status: New => Invalid
--
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