nova-manage with param "user a" results in traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Calling nova-manage like: "nova-manage user a" displays the following
----8<----
Possible wrong number of arguments supplied
user admin: creates a new admin and prints exports
arguments: name [access] [secret]
2011-02-04 09:41:49,070 CRITICAL nova.root [-] admin() takes at least 2 arguments (1 given)
(nova.root): TRACE: Traceback (most recent call last):
(nova.root): TRACE: File "/usr/bin/
(nova.root): TRACE: main()
(nova.root): TRACE: File "/usr/bin/
(nova.root): TRACE: fn(*argv)
(nova.root): TRACE: TypeError: admin() takes at least 2 arguments (1 given)
(nova.root): TRACE:
---->8----
maybe only cosmetic, the "a" is interpreted as "admin".
this is operating correctly, nova-manage does a lazy-match on the first & second argument (as it must be a category and action) ... if we don't like the stack-trace, we can comment nova-manage:691 (the raise call).