Merge "Handle concurrent volume creation request"

This commit is contained in:
Jenkins 2017-07-27 19:04:38 +00:00 committed by Gerrit Code Review
commit 8414a58ad4
1 changed files with 1 additions and 1 deletions

View File

@ -742,7 +742,7 @@ class CreateVolumeFromSpecTask(flow_utils.CinderTask):
'%(exception)s', {'exception': e})
return None, False
@coordination.synchronized('{image_id}')
@coordination.synchronized('{image_id}-{volume.id}')
def _create_from_image_cache_or_download(self, context, volume,
image_location, image_id,
image_meta, image_service):