Merge "Display private flavors in server list"
This commit is contained in:
commit
0ba5dcbc6a
@ -1240,7 +1240,7 @@ class ListServer(command.Lister):
|
|||||||
# "Flavor Name" is not crucial, so we swallow any exceptions.
|
# "Flavor Name" is not crucial, so we swallow any exceptions.
|
||||||
if not parsed_args.no_name_lookup:
|
if not parsed_args.no_name_lookup:
|
||||||
try:
|
try:
|
||||||
flavors_list = compute_client.flavors.list()
|
flavors_list = compute_client.flavors.list(is_public=None)
|
||||||
for i in flavors_list:
|
for i in flavors_list:
|
||||||
flavors[i.id] = i
|
flavors[i.id] = i
|
||||||
except Exception:
|
except Exception:
|
||||||
|
6
releasenotes/notes/bug-1742453-ae4be6de90a3ae1d.yaml
Normal file
6
releasenotes/notes/bug-1742453-ae4be6de90a3ae1d.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
The ``server list --all`` command now resolves non-public flavor names,
|
||||||
|
too, so that the ``Flavor`` column will be properly populated.
|
||||||
|
[Bug `1742453 <https://bugs.launchpad.net/bugs/1742453>`_]
|
Loading…
x
Reference in New Issue
Block a user