Nova unrescue doesn't cleanup ceph rescue images

Bug #1511123 reported by Tyler Wilson on 2015-10-28
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Mark Doffman

Bug Description

It seems on a standard nova/ceph deployment an unrescue command doesn't clean up the .rescue RBD disk created for the rescue environment.

$ rbd ls compute | grep e9f2e3f4-f095-45b4-b5f2-1b34d3776191
e9f2e3f4-f095-45b4-b5f2-1b34d3776191_disk
$ nova rescue e9f2e3f4-f095-45b4-b5f2-1b34d3776191
$ rbd ls compute | grep e9f2e3f4-f095-45b4-b5f2-1b34d3776191
e9f2e3f4-f095-45b4-b5f2-1b34d3776191_disk
e9f2e3f4-f095-45b4-b5f2-1b34d3776191_disk.rescue
$ nova unrescue e9f2e3f4-f095-45b4-b5f2-1b34d3776191
$ rbd ls compute | grep e9f2e3f4-f095-45b4-b5f2-1b34d3776191
e9f2e3f4-f095-45b4-b5f2-1b34d3776191_disk
e9f2e3f4-f095-45b4-b5f2-1b34d3776191_disk.rescue

This was tested on 2015.1.1-1.el7

Tyler Wilson (loth) on 2015-10-28
description: updated
Mark Doffman (mjdoffma) on 2015-11-04
Changed in nova:
assignee: nobody → Mark Doffman (mjdoffma)

Fix proposed to branch: master
Review: https://review.openstack.org/241777

Changed in nova:
status: New → In Progress
melanie witt (melwitt) on 2016-04-07
tags: added: ceph
Changed in nova:
importance: Undecided → Medium

Change abandoned by Mark Doffman (<email address hidden>) on branch: master
Review: https://review.openstack.org/241777
Reason: Competing fix at https://review.openstack.org/#/c/314928/ preferred.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers