← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1483570] Re: using rbd image, after unrescued the temp unrescue disk are not cleaned

 

*** 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/1483570

Title:
  using rbd image, after unrescued the temp unrescue disk are not
  cleaned

Status in OpenStack Compute (nova):
  New

Bug description:
  
  vms/volumes/images are all use ceph rbd backend

  Nova Version:
  root@controller:~# dpkg -l | grep nova
  ii  nova-api                            1:2015.1.0-0ubuntu1~cloud0            all          OpenStack Compute - API frontend
  ii  nova-cert                           1:2015.1.0-0ubuntu1~cloud0            all          OpenStack Compute - certificate management
  ii  nova-common                         1:2015.1.0-0ubuntu1~cloud0            all          OpenStack Compute - common files
  ii  nova-conductor                      1:2015.1.0-0ubuntu1~cloud0            all          OpenStack Compute - conductor service
  ii  nova-consoleauth                    1:2015.1.0-0ubuntu1~cloud0            all          OpenStack Compute - Console Authenticator
  ii  nova-novncproxy                     1:2015.1.0-0ubuntu1~cloud0            all          OpenStack Compute - NoVNC proxy
  ii  nova-scheduler                      1:2015.1.0-0ubuntu1~cloud0            all          OpenStack Compute - virtual machine scheduler
  ii  python-nova                         1:2015.1.0-0ubuntu1~cloud0            all          OpenStack Compute Python libraries
  ii  python-novaclient                   1:2.22.0-0ubuntu1~cloud0              all          client library for OpenStack Compute API

  Reproduce steps:
  1. Runing an Instance
  2. rescue the instance
  rbd ls vms
  f0bf69a9-929e-4e2a-83d3-aaa77bfe7ec9_disk
  f0bf69a9-929e-4e2a-83d3-aaa77bfe7ec9_disk.rescue
  (OK)
  3. unrescue the instance
  rbd ls vms
  f0bf69a9-929e-4e2a-83d3-aaa77bfe7ec9_disk
  f0bf69a9-929e-4e2a-83d3-aaa77bfe7ec9_disk.rescue
  (Not OK)the disk.rescue should not be deleted
  4. terminate the instance 
  rbd ls vms
  <none>

  Code Trace:
  in the /nova/virt/libvirt/driver.py
  def unrescue(self, instance, network_info):

  there is not distinguish rbd and lvm

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1483570/+subscriptions


References