Merge "Fix incorrect status for volume clone from image"
This commit is contained in:
commit
76062be494
@ -296,8 +296,7 @@ class VolumeManager(manager.SchedulerDependentManager):
|
|||||||
volume_ref['id'],
|
volume_ref['id'],
|
||||||
snapshot_id)
|
snapshot_id)
|
||||||
|
|
||||||
if image_id and not cloned:
|
if image_id and image_meta:
|
||||||
if image_meta:
|
|
||||||
# Copy all of the Glance image properties to the
|
# Copy all of the Glance image properties to the
|
||||||
# volume_glance_metadata table for future reference.
|
# volume_glance_metadata table for future reference.
|
||||||
self.db.volume_glance_metadata_create(context,
|
self.db.volume_glance_metadata_create(context,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user