[OpenStack Mitaka -> Nova/Ceph] fails to delete snapshots when they are used to create instances

Bug #1714085 reported by Nicolas Peter Lane
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Incomplete
High
Oleksiy Molchanov

Bug Description

The bug happens in OpenStack Mitaka from Mirantis Fuel 9.2, we didn't see any bug reported in Mitaka or earlier versions of OpenStack regarding it.

We're currently almost certain the culprit is Nova.

How to reproduce the bug:

1) Create an instance (I'll label it i_1)
2) Create a snapshot from this instance (I'll label it s_1)
3) From this snapshot create another instance (I'll label it i_2)
4) Delete this new instance i_2
4) Now, try to delete the snapshot s_1

The error will inform you that it could not delete it.
Which in turn causes your storage to have a lot of trash :(.

Details:

It seems to be caused due to Nova failing to tell Ceph to delete the disk of i_2.
Hence, the snapshot fails to be deleted because of its discs's dependencies.

Workaround found:
Manually delete the disks using Ceph and then delete the snapshot.

Log attached below.

Revision history for this message
Nicolas Peter Lane (lambd0x) wrote :
Changed in fuel:
milestone: none → 9.x-updates
assignee: nobody → Oleksiy Molchanov (omolchanov)
importance: Undecided → High
status: New → Confirmed
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Nicolas, I was not able to reproduce this. Can you try to reproduce this and share full diagnostic snapshot.

Changed in fuel:
status: In Progress → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.