Gluster-FS volume snapshots are stuck in error_deleting if trying to delete them when the volume is attached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Unassigned |
Bug Description
gluster is configured as my cinder backend
I created an instance snapshot from instance booted from volume and as well as a new image we also create a new volume snapshot.
I tried to delete the snapshot while the instance is still up (so volume is still attached)
and the snapshot is stuck in error_deleting.
if we delete the snapshot after destroying the instance (so volume no longer attached) we succeed.
reproduce:
boot instance from volume
take a snapshot for instance (from horizon).
try to delete the volume snapshot while the instance is still running
2013-10-29 16:20:58.654 12921 ERROR cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:20:58.654 12921 TRACE cinder.
2013-10-29 16:36:00.579 12921 WARNING cinder.quota [req-fcb23067-
tags: | added: gluster-fs |
summary: |
- volume snapshots are stuck in error_deleting if trying to delete them - when the volume is attached + Gluster-FS volume snapshots are stuck in error_deleting if trying to + delete them when the volume is attached |
tags: |
added: glusterfs removed: gluster-fs |
tags: | added: drivers |
It isn't clear what caused this without seeing the log from the Nova side. Could be caused by using a libvirt without the requisite fixes for this feature.