Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to