Error message from placement when creating resource provider uses ambiguous identifier
Bug #1735405 reported by
Chris Dent
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Chris Dent |
Bug Description
Nova master, late november
When a resource provider fails to create after a POST /resource_providers for some reason, the error message identifies the provider by uuid. However, the uuid may not have been supplied by the client, it may be generated server side. So the name should be included at:
However, because of JSONSchema, it's unlikely (impossible) that ObjectActionError will ever be raised so another option may be to just get rid of the handling.
To resolve this:
* figure out if the exception can happen
* if not, remove the handling
* if so, change the message to include the 'name' in the output
Changed in nova: | |
status: | New → Confirmed |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/526710
Review: https:/