unproccessable entity error 422 message has blank dictionary for status

Bug #1086540 reported by Craig Vyvial
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Daniel Salinas

Bug Description

To reproduce this issue just attempt to resize the flavor while the instance is in a RESIZE status.
This message should be improved and add the correct status.

RESPONSE HEADERS: {'date': 'Tue, 04 Dec 2012 19:45:40 GMT', 'status': '422', 'content-length': '135', 'content-type': 'application/json; charset=UTF-8'}
RESPONSE BODY : {
    "unprocessableEntity": {
        "code": 422,
        "message": "Instance is not currently available for an action to be performed (status was {})."
    }
}

Changed in reddwarf:
assignee: nobody → Daniel Salinas (imsplitbit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to reddwarf (master)

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

Changed in reddwarf:
status: New → In Progress
Changed in reddwarf:
milestone: none → grizzly-2
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to reddwarf (master)

Reviewed: https://review.openstack.org/18255
Committed: http://github.com/stackforge/reddwarf/commit/2fdf56c0b6447b6d026552fcd537c3d59ed36268
Submitter: Jenkins
Branch: master

commit 2fdf56c0b6447b6d026552fcd537c3d59ed36268
Author: Daniel Salinas <email address hidden>
Date: Fri Dec 14 15:21:54 2012 -0600

    Fix for bug where returned instance status in UnprocessableEntity
    exception is an empty dictionary.

    Change-Id: I044625517f099d9e576f1100bb3a58cc88f0a72c
    Fixes: bug #1086540

Changed in reddwarf:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
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.