the error message should be more specific to users

Bug #1519913 reported by HouMing Wang on 2015-11-25
6
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.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers