diff --git a/manilaclient/v2/shell.py b/manilaclient/v2/shell.py index ebf1549c6..e778fc078 100644 --- a/manilaclient/v2/shell.py +++ b/manilaclient/v2/shell.py @@ -4434,7 +4434,8 @@ def do_share_server_list(cs, args): "Share network subnet option is only available with manila " "API version >= 2.51") else: - search_opts.update({'share_network_subnet': args.share_network_subnet}) + search_opts.update({ + 'share_network_subnet_id': args.share_network_subnet}) fields.append("Share Network Subnet Id") if args.columns is not None: diff --git a/releasenotes/notes/bug-1959329-fix-server-listing-by-subnets-fa6447fd43093cae.yaml b/releasenotes/notes/bug-1959329-fix-server-listing-by-subnets-fa6447fd43093cae.yaml new file mode 100644 index 000000000..6b953d74e --- /dev/null +++ b/releasenotes/notes/bug-1959329-fix-server-listing-by-subnets-fa6447fd43093cae.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - Launchpad `bug 1959329 `_ + has been fixed for share server listing with network subnet id.