From 1c70e264a40e3f01bc6e135be6f981d28a68566d Mon Sep 17 00:00:00 2001 From: hongp Date: Fri, 23 May 2025 09:47:18 +0900 Subject: [PATCH] bug fix volume group show command. There is no "show" function in the "group" class of python-cinderclient. Instead, there is a "get" function, so I fixed it. https://opendev.org/openstack/python-cinderclient/src/commit/0125495f92ecd0248a204974a96b7403dc160fbe/cinderclient/v3/groups.py#L134 Closes-Bug: #2111539 Change-Id: If61d8cf115c9ff04d172d7344565e693774e7a21 --- openstackclient/volume/v3/volume_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstackclient/volume/v3/volume_group.py b/openstackclient/volume/v3/volume_group.py index f943b80302..8433e57368 100644 --- a/openstackclient/volume/v3/volume_group.py +++ b/openstackclient/volume/v3/volume_group.py @@ -552,7 +552,7 @@ class ShowVolumeGroup(command.ShowOne): parsed_args.group, ) - group = volume_client.groups.show(group.id, **kwargs) + group = volume_client.groups.get(group.id, **kwargs) if parsed_args.show_replication_targets: replication_targets = (