Skip to content

Commit 0ba5dcb

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Display private flavors in server list"
2 parents 7d7a429 + c615bcd commit 0ba5dcb

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

openstackclient/compute/v2/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ def take_action(self, parsed_args):
12401240
# "Flavor Name" is not crucial, so we swallow any exceptions.
12411241
if not parsed_args.no_name_lookup:
12421242
try:
1243-
flavors_list = compute_client.flavors.list()
1243+
flavors_list = compute_client.flavors.list(is_public=None)
12441244
for i in flavors_list:
12451245
flavors[i.id] = i
12461246
except Exception:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
The ``server list --all`` command now resolves non-public flavor names,
5+
too, so that the ``Flavor`` column will be properly populated.
6+
[Bug `1742453 <https://bugs.launchpad.net/bugs/1742453>`_]

0 commit comments

Comments
 (0)