Commandline parsing can't handle --end value for usage/usage-list
Bug #1778536 reported by
Ian Kumlien
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Medium
|
Takashi Natsume |
Bug Description
Imagine trying to do:
nova usage-list --start 2017-01-01 --end 2018-01-01
nova usage --tenant <project-uuid> --start 2017-01-01 --end 2018-01-01
And realizing that --end is expanded to --endpoint-
Example:
nova usage-list --start 2017-01-01 --end 2018-01-01
ERROR (UnknownConnect
This is due to how you use argparser, you should register all or handle it via namespaces
To post a comment you must log in.
It could be reproduced in version 10.3.0.