Arg values not being populated in exceptions report by CLI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
dan wendlandt | ||
quantum (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
As can be seen below, values are not being matched with args (i.e. net_id, port_id)
# python bin/cli rename_net demo 7cc3e4c1-
Exception:<class 'quantum.
# python bin/cli delete_net demo 7cc3e4c1-
Exception:<class 'quantum.
# PYTHONPATH=. python bin/cli delete_port -H 10.10.2.6 demo 528b38b4-
Exception:<class 'quantum.
Related branches
- Brad Hall (community): Approve
- Sumit Naiksatam: Approve
-
Diff: 155 lines (+43/-14)2 files modifiedquantum/client.py (+28/-14)
quantum/common/exceptions.py (+15/-0)
Changed in quantum: | |
importance: | Undecided → High |
milestone: | none → diablo-rbp |
Changed in quantum: | |
assignee: | nobody → dan wendlandt (danwent) |
status: | New → In Progress |
Changed in quantum: | |
status: | In Progress → Fix Committed |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum (Ubuntu): | |
status: | New → Fix Released |
Thanks for spotting this Sumit!
I reckon this bugs comes from:
- a recent update in client library to use Quantum Exceptions rather than a custom-generated exception message
- yesterday's update to the CLI which uses such exception messages
Fixing this bug should not be too hard. I think the best place for fixing it is the client library rather than the CLI.