volume: Temporarily ignore new volume columns

Change-Id: I4296766a1576c64eb3927cb0557aef5346b2d6f6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-05-19 13:07:46 +01:00
parent 03aa172fd0
commit 125133d056

@ -339,7 +339,21 @@ class CreateVolume(command.ShowOne):
metadata=parsed_args.properties,
bootable=parsed_args.bootable,
)
return zip(*sorted(volume.items()))
data = {}
for key, value in volume.to_dict().items():
# FIXME(stephenfin): Stop ignoring these once we bump SDK
# https://review.opendev.org/c/openstack/openstacksdk/+/945836/
if key in (
'cluster_name',
'consumes_quota',
'encryption_key_id',
'service_uuid',
'shared_targets',
'volume_type_id',
):
continue
data[key] = value
return zip(*sorted(data.items()))
source_volume = None
if parsed_args.source: