Wrong help given for nova usage command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Low
|
Abhishek Talwar |
Bug Description
Running nova help usage command gives you help as :
$ nova help usage
usage: nova usage [--start <start>] [--end <end>] [--tenant <tenant-id>]
Show usage data for a single tenant.
Optional arguments:
--start <start> Usage range start date ex 2012-01-20 (default: 4 weeks
--end <end> Usage range end date, ex 2012-01-20 (default:
--tenant <tenant-id> UUID or name of tenant to get usage for.
Running the command with tenant name doesn't give the right output.
So the help should be modified to :
$ nova help usage
usage: nova usage [--start <start>] [--end <end>] [--tenant <tenant-id>]
Show usage data for a single tenant.
Optional arguments:
--start <start> Usage range start date ex 2012-01-20 (default: 4 weeks
--end <end> Usage range end date, ex 2012-01-20 (default:
--tenant <tenant-id> UUID of tenant to get usage for.
This way the user will get to know that the command works only with tenant-id and not tenant-name.
Changed in python-novaclient: | |
assignee: | nobody → Abhishek Talwar (abhishek-talwar) |
Changed in python-novaclient: | |
importance: | Undecided → Low |
Changed in python-novaclient: | |
milestone: | none → 2.21.0 |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/154007
Review: https:/