← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1478199] [NEW] Unrescue will not remove rescue disk in ceph when image_type=rbd

 

Public bug reported:

This bug will happen when using libvirt/QEMU and image_type=rbd.

Rescue instance will produce rescue kernel and ramdisk disk in local.
It will also product rescue disk which will saved in ceph by rbd.
When users want to unrescue instance, nova will remove all rescue kernel and ramdisk disk in local.
But rescue disk which was created in rescue step will still exist.
We can using rbd or rados command to show whether objects was still existed in pool or not.
For example:
sudo rbd --pool $POOL_NAME ls | grep .rescue
or
sudo rados --pool $POOL_NAME ls | grep .rescue

Why it will happen?
Because of unrescue action will remove local rescue file and lvm disk but it didn't remove rdb disk.
Therefore we need to add libvirt images_type condition statement which will remove correct type of disk.

** Affects: nova
     Importance: Undecided
     Assignee: lyanchih (lyanchih)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => lyanchih (lyanchih)

** Changed in: nova
       Status: New => In Progress

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

Title:
  Unrescue will not remove rescue disk in ceph when image_type=rbd

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  This bug will happen when using libvirt/QEMU and image_type=rbd.

  Rescue instance will produce rescue kernel and ramdisk disk in local.
  It will also product rescue disk which will saved in ceph by rbd.
  When users want to unrescue instance, nova will remove all rescue kernel and ramdisk disk in local.
  But rescue disk which was created in rescue step will still exist.
  We can using rbd or rados command to show whether objects was still existed in pool or not.
  For example:
  sudo rbd --pool $POOL_NAME ls | grep .rescue
  or
  sudo rados --pool $POOL_NAME ls | grep .rescue

  Why it will happen?
  Because of unrescue action will remove local rescue file and lvm disk but it didn't remove rdb disk.
  Therefore we need to add libvirt images_type condition statement which will remove correct type of disk.

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