Image NotFound and NoUniqueMatch raises same CommandError in openstackclient part
Bug #1480156 reported by
Marek Aufart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Exceptions are not structured correctly (at least not friedly) when using method find_resource from openstackclient API from python-
CommandError exception is raised for both NotFound and NoUniqueMatch, error message is different, what is good, but it would be better provide more descriptive exception too.
Changed in glance: | |
assignee: | nobody → Dharini Chandrasekar (dharini-chandrasekar) |
To post a comment you must log in.
Hi Marek,
Sorry but the description is not exactly the clearest here. You are talking about openstackclient and python-glanceclient and your link points to incubated apiclient code while the but is targeted to glance.
Would you mind to give example how this behavior is buggy?