From 626a3a021c50759841804eeb9aad832ea9e57551 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Fri, 8 Jun 2018 16:59:08 -0400 Subject: Mention compute API 2.50 in openstack quota show --class There is a bug in the compute API until microversion 2.50 where the server-groups and server-group-members class quota fields aren't returned. This just mentions that microversion in the command help text. Change-Id: I029a614a922d642c578618c478c4d0a29a394fc2 Task: 21490 Story: 2002194 --- openstackclient/common/quota.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openstackclient') diff --git a/openstackclient/common/quota.py b/openstackclient/common/quota.py index dba6873f..dae1b18e 100644 --- a/openstackclient/common/quota.py +++ b/openstackclient/common/quota.py @@ -570,7 +570,10 @@ class SetQuota(command.Command): class ShowQuota(command.ShowOne, BaseQuota): - _description = _("Show quotas for project or class") + _description = _( + "Show quotas for project or class. Specify " + "``--os-compute-api-version 2.50`` or higher to see ``server-groups`` " + "and ``server-group-members`` output for a given quota class.") def get_parser(self, prog_name): parser = super(ShowQuota, self).get_parser(prog_name) -- cgit v1.2.1