after I fail to create a snapshot when cinder is configured to work with gluster (#1236966) I tried to delete the snapshot and fail.
status of snapshot changes to error_deleting
[root@cougar06 ~(keystone_admin)]# cinder snapshot-list
+--------------------------------------+--------------------------------------+----------------+------------------------+------+
| ID | Volume ID | Status | Display Name | Size |
+--------------------------------------+--------------------------------------+----------------+------------------------+------+
| 28dd6a1e-9e96-4dc8-8c09-e38504b6ef6d | e78978af-0f46-4caf-948b-218afb5de6ef | error_deleting | snapshot for blablabla | 1 |
| 36f4e31e-63b6-4273-8a98-4bcf8ce895b2 | 1560fa00-752b-4d7b-a747-3ef9bf483692 | error_deleting | snapshot for lka | 1 |
| 4a6597fc-d33c-49b0-88e4-3dc0a6e9855c | 1560fa00-752b-4d7b-a747-3ef9bf483692 | error | None | 1 |
| 4ac236e1-61f1-47dc-a0fa-d96162622121 | 1560fa00-752b-4d7b-a747-3ef9bf483692 | error | None | 1 |
| e9a67b38-e25a-4fe4-965d-15bf4d014045 | 3b5a7694-fda0-4647-9ca7-77a7905b1b2f | error_deleting | snapshot for baba | 10 |
+--------------------------------------+--------------------------------------+----------------+------------------------+------+
2013-10-08 19:54:38.955 7297 ERROR cinder.openstack.common.rpc.amqp [req-da5b9f8c-fca9-4615-a5e4-0caec2012bd7 c02995f25ba44cfab1a3cbd419f045a1 c77235c29fd0431a8e6628ef6d18e07f] Exception during message handling
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/amqp.py", line 441, in _process_data
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp **args)
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 377, in delete_snapshot
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp {'status': 'error_deleting'})
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp self.gen.next()
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 365, in delete_snapshot
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp self.driver.delete_snapshot(snapshot_ref)
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/glusterfs.py", line 524, in delete_snapshot
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp snap_info = self._read_info_file(info_path)
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/glusterfs.py", line 489, in _read_info_file
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp return json.loads(self._read_file(info_path))
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/glusterfs.py", line 479, in _read_file
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp with open(filename, 'r') as f:
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp IOError: [Errno 2] No such file or directory: u'/var/lib/cinder/mnt/4a31bc6e5fb9244971075aa23d364364/volume-e78978af-0f46-4caf-948b-218afb5de6ef.info'
2013-10-08 19:54:38.955 7297 TRACE cinder.openstack.common.rpc.amqp
(END)
I am not sure what this file is but it's missing:
/var/lib/cinder/mnt/4a31bc6e5fb9244971075aa23d364364/volume-e78978af-0f46-4caf-948b-218afb5de6ef.info
[root@cougar06 ~(keystone_admin)]# ls -l /var/lib/cinder/mnt/4a31bc6e5fb9244971075aa23d364364/volume-e78978af-0f46-4caf-948b-218afb5de6ef.info
ls: cannot access /var/lib/cinder/mnt/4a31bc6e5fb9244971075aa23d364364/volume-e78978af-0f46-4caf-948b-218afb5de6ef.info: No such file or directory
this file cannot be created for some reason (even when I try manually)
[root@cougar06 4a31bc6e5fb9244971075aa23d364364(keystone_admin)]# touch volume-e78978af-0f46-4caf-948b-218afb5de6ef.info
touch: cannot touch `volume-e78978af-0f46-4caf-948b-218afb5de6ef.info': No such file or directory
[root@cougar06 4a31bc6e5fb9244971075aa23d364364(keystone_admin)]# pwd
/var/lib/cinder/mnt/4a31bc6e5fb9244971075aa23d364364
[root@cougar06 4a31bc6e5fb9244971075aa23d364364(keystone_admin)]#