flavor is not specified as required option for boot command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Low
|
Ravi Shekhar Jethani |
Bug Description
For boot command flavor option is mandatory. This is not specified while adding the '--flavor' option using cliutils.arg decorator for do_boot method:
'do_boot' method : https:/
@cliutils.arg(
'--flavor',
default=None,
metavar=
help=_("Name or ID of flavor (see 'nova flavor-list')."))
Rather this 'flavor required' criteria is being fulfilled later in the _boot method via an if condition. Also we are running image checks even before checking for flavor option. If user doesn't specify flavor then this image check is a waste.
'_boot' method : https:/
if not args.flavor:
raise exceptions.
Changed in python-novaclient: | |
assignee: | nobody → Ravi Shekhar Jethani (ravishekar-jethani) |
Changed in python-novaclient: | |
importance: | Undecided → Low |
Changed in python-novaclient: | |
milestone: | none → 2.35.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/230965
Review: https:/