Step to reproduce :-
---------------------
1) Comment out the flag 'image_volume_cache_enabled = True' in lvmdriver-1 backend section in cinder.conf
2) Restart the cinder services
3) Try creating bootable volume with default volume-type (lvmdriver-1) and default glance image (cirros)
stack@cld6b14:~/devstack$ glance image-list
+--------------------------------------+--------------------------+
| ID | Name |
+--------------------------------------+--------------------------+
| f5a63abe-e73a-461e-8779-d93a773d18f9 | cirros-0.3.5-x86_64-disk |
+--------------------------------------+--------------------------+
stack@cld6b14:~/devstack$ for i in `seq 10`; do cinder create --image-id f5a63abe-e73a-461e-8779-d93a773d18f9 --name volume$i --volume-type lvmdriver-1 1 & done
Error Logs :-
---------------------
|__Flow 'volume_create_manager'[00m: ToozError: Not Found
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00mTraceback (most recent call last):
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m result = task.execute(**arguments)
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 951, in execute
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m **volume_spec)
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 898, in _create_from_image
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m image_service)
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "<decorator-gen-236>", line 2, in _create_from_image_cache_or_download
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/opt/stack/cinder/cinder/coordination.py", line 169, in _synchronized
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m with lock(blocking):
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/tooz/locking.py", line 31, in __enter__
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m return self.lock.__enter__(*self.args, **self.kwargs)
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/tooz/locking.py", line 52, in __enter__
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m acquired = self.acquire(*args, **kwargs)
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/tooz/drivers/etcd3gw.py", line 50, in wrapper
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m cause=e)
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/tooz/utils.py", line 225, in raise_with_cause
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m excutils.raise_with_cause(exc_cls, message, *args, **kwargs)
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 143, in raise_with_cause
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m six.raise_from(exc_cls(message, *args, **kwargs), kwargs.get('cause'))
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m File "/usr/lib/python2.7/dist-packages/six.py", line 718, in raise_from
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00m raise value
[01;33m2017-07-20 02:59:47.429 TRACE cinder.volume.manager [01;35m[00mToozError: Not Found
On further analysis, it fails to acquire the lock in decorator function coordination. synchronized( ). This results in error "ToozError: Not Found"