gluster snapshots delete and detach of volume stuck in deleteing/detaching

Bug #1236482 reported by Dafna Ron
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Bharat Kumar Kobagana

Bug Description

we had an outage and the gluster share I am using had to be restarted after the outage.
since I did not know that I sent detach of a volume.
once I restarted the share in gluster, the detach was stuck until I terminated the instance

I also have a volume stuck in creating (different bug).

+--------------------------------------+-----------+--------------+------+-------------+----------+--------------------------------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+----------+--------------------------------------+
| 1560fa00-752b-4d7b-a747-3ef9bf483692 | available | new | 1 | None | True | |
| 22c3e84c-1d9b-4a45-9244-06b3ab6c401a | creating | bla | 10 | None | False | |
| aadc9c04-17ab-42c4-8bce-c2f63cd287fa | detaching | image_new | 1 | None | True | 5a225901-5394-42f2-b974-538257ef2818 |
+--------------------------------------+-----------+--------------+------+-------------+----------+--------------------------------------+

This is from the compute log on the volume:

2013-10-07 20:25:02.674 2790 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000009: [Errno 2] No such file or directory: '/var/lib/nova/mnt/4a31bc6e5fb9244971075aa23d364364/volume-aadc9c04-17ab-42c4-8bce-c2f63cd287fa'

after I terminated the instance:

[root@cougar06 ~(keystone_admin)]# cinder list
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| 1560fa00-752b-4d7b-a747-3ef9bf483692 | available | new | 1 | None | True | |
| 22c3e84c-1d9b-4a45-9244-06b3ab6c401a | creating | bla | 10 | None | False | |
| aadc9c04-17ab-42c4-8bce-c2f63cd287fa | available | image_new | 1 | None | True | |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+

to reproduce:

configure cinder to work with gluster
boot instance from volume created from an image
hard shut down the gluster server
send detach to volume attached to an instance
start gluster
restart gluster lun and cinder-volume service

results:

detach is stuck until we terminate the instance

Revision history for this message
Avishay Traeger (avishay-il) wrote :

Your bugs seem to indicate that maybe Cinder didn't come up properly? Can you please submit logs?

summary: - snapshots delete and detach of volume stuck in deleteing/detaching
+ gluster snapshots delete and detach of volume stuck in
+ deleteing/detaching
tags: added: gluster
Mike Perez (thingee)
tags: added: drivers
tags: added: glusterfs
removed: gluster
Revision history for this message
John Griffith (john-griffith) wrote :

almost a year with no activity, marking incomplete

Changed in cinder:
status: New → Incomplete
Changed in cinder:
assignee: nobody → Bharat Kumar Kobagana (bkobagan)
status: Incomplete → Invalid
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.