Image not synced to latest PowerVC
Image not synced to latest PowerVC due to design changed. boot volumes in images now have is_boot_volume = True set in their metadata. The is_image_volume tag can be used to determine if the volume is an image volume. Change-Id: I99c8ad8bc4dc672aa0a35a5ea13c91c527a3cb9d Closes-Bug: #1436142
This commit is contained in:
parent
516eba24a7
commit
0c18f3154e
|
@ -714,8 +714,9 @@ class Utils(object):
|
|||
metadata = storage_volume.__dict__.get("metadata")
|
||||
if(metadata is not None):
|
||||
is_boot_volume = metadata.get("is_boot_volume")
|
||||
is_image_volume = metadata.get("is_image_volume")
|
||||
# Filter out the boot volumes
|
||||
if(is_boot_volume != "True"):
|
||||
if(is_boot_volume != "True" or is_image_volume == "True"):
|
||||
accessible_storage_volumes.append(storage_volume)
|
||||
else:
|
||||
accessible_storage_volumes.append(storage_volume)
|
||||
|
|
Loading…
Reference in New Issue