'nova-manage project quota' command fails with 'nova-manage: error: no such option: --project'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Andrew Glen-Young | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When attempting to change a quota for one of my customers, with the command below, I receive an error message instead of the command succeeding.
What I see:
$ sudo nova-manage project quota --project=
nova-manage: error: no such option: --project
What I expect to see:
$ sudo nova-manage project quota --project=
metadata_items: 128
injected_
volumes: 5
gigabytes: 1000
ram: 51200
floating_ips: 3
security_
instances: 15
key_pairs: 100
injected_files: 5
cores: 20
injected_
security_
Debugging:
Looking at the `nova-manage` command I notice that the @arg decorators are missing from the `quota` function. Replacing the decorators fixes the problem (see attached patch).
I have looked at the current source from Github and the most recent packages from the cloud-archive and these decorators are missing from there are well.
System Information:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ dpkg -S $(which nova-manage)
nova-common: /usr/bin/
$ dpkg-query --show nova-common
nova-common 2012.2-
Please let me know if you need any further information?
Changed in nova (Ubuntu): | |
status: | New → Fix Committed |
Changed in nova: | |
milestone: | none → grizzly-2 |
status: | Fix Committed → Fix Released |
Changed in nova (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-2 → 2013.1 |
The attachment "nova-manage.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]