Quantum cli gives an unhelpful error message if the attachment is is invalid
Bug #907123 reported by
Brad Hall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Hitesh Wadekar |
Bug Description
Currently we get a 500, which as mentioned in another bug is unhelpful:
Exception:<type 'exceptions.
Command failed with error code: 500
Error message:<missing>
We could change the exception on an invalid attachment to be a new exception (with a new http status code) that will allow us to use the arguments passed in to attach_resource in the client_lib.
Changed in quantum: | |
status: | New → Confirmed |
assignee: | nobody → Brad Hall (bgh) |
tags: | added: low-hanging-fruit |
Changed in quantum: | |
status: | Confirmed → Invalid |
To post a comment you must log in.
Brad/Dan,
I would love to fix this issue. Would you please give me some an overview about it?
Will it be helpful if we add new status code?
Thanks,
Hitesh