the error message should be more specific to users
Bug #1519913 reported by
HouMing Wang
This bug report is a duplicate of:
Bug #1520363: magnumclient should display the faultstring returned from api.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
New
|
Undecided
|
HouMing Wang |
Bug Description
When we create a bay or baymodel with non-existed resources, an "ERROR: Not Found (HTTP 404)" is returned to CLI users.
[houming@bogon magnum]$ magnum bay-create --name swarmbay --baymodel unexisted_bay_model --node-count 1
ERROR: Not Found (HTTP 404)
Since the exception is already specific to this error, the error message should be more specific, something like:
ERROR: Baymodel xxx does not exist
ERROR: Image xxx does not exist
Changed in magnum: | |
assignee: | nobody → Hou Ming Wang (houming-wang) |
To post a comment you must log in.