"nova-manage project create" isn't working
Bug #615857 reported by
OZAWA Tsuyoshi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Vish Ishaya |
Bug Description
The new command "nova-manage project create_zip" corrupts "nova-manage project create" command.
For example,
ozawa@localhost
should work, but it dump error as follows:
create matched multiple options:
create
create_zip
This is because use the function "lazy_match" uses "find()" function, so this must be changed to use "==" operator or something.
Related branches
lp:~vishvananda/nova/lp615857
- Devin Carlen (community): Approve
- Jay Pipes (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedbin/nova-manage (+1/-1)
Changed in nova: | |
status: | New → Fix Committed |
assignee: | nobody → vishvananda (vishvananda) |
Changed in nova: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This was introduced in the pep/pylint cleanup. The original name of the method was zip which i guess was too short. May i suggest simply renaming the method 'zipfile' instead of changing the logic of lazy match. I really like being able to execute the nova manage commands without typing the entire name. I've linked a branch with the fix.