Public bug reported:
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?
** Affects: nova
Importance: Undecided
Assignee: niusmallnan (niusmallnan)
Status: New
** Changed in: nova
Assignee: (unassigned) => niusmallnan (niusmallnan)
--
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):
New
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
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp