[openstack-dev] [nova] How to handle nova show --minimal with embedded flavors

Chris Friesen chris.friesen at windriver.com
Tue Jun 20 17:07:02 UTC 2017


On 06/20/2017 07:59 AM, Matt Riedemann wrote:

> Personally I think that if I specify --minimal I want minimal output, which
> would just be the flavor's original name after the new microversion, which is
> closer in behavior to how --minimal works today before the 2.47 microversion.

In the existing novaclient code for show/rebuild, the --minimal option just 
skips doing the lookups on the flavor/image as described in the help text.  It 
doesn't affect the other ~40 fields in the instance.  After the new microversion 
we already have the flavor details without doing the flavor lookup so I thought 
it made sense to display them.

I suppose an argument could be made that for consistency we should keep the 
output with --minimal similar to what it was before.  If we want to go that 
route I'm happy to do so.

Chris



More information about the OpenStack-dev mailing list