Nova hosts API error responses could be improved

Bug #1154117 reported by Hans Lindgren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Hans Lindgren

Bug Description

If an invalid host name is given with an update request, the response body states:

RESP BODY: {"itemNotFound": {"message": "Host %(host)s could not be found.", "code": 404}}

Clearly, this should replace %(host)s with the actual host that was given with the request.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/24181

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/24181
Committed: http://github.com/openstack/nova/commit/d786517ad1dbd4e59382de241074c5dc454bd365
Submitter: Jenkins
Branch: master

commit d786517ad1dbd4e59382de241074c5dc454bd365
Author: Hans Lindgren <email address hidden>
Date: Tue Mar 12 15:30:53 2013 +0100

    Fix: improve API error responses from os-hosts extension

    Modify responses to include the actual host instead of %(host)s.

    Resolves bug 1154117.

    Change-Id: Ic680403bdf1cb1fc1ac184352f486390fb04a195

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.