Volume type extra specs update with empty body returns HTTP status 422

Bug #1090320 reported by Rohan
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Avishay Traeger
Folsom
Fix Released
Medium
John Griffith

Bug Description

Branch : master
Commit : 403142a43f553b1488eae795c6dfff3967825bf1

API :
PUT http://<ip>:8776/v1/<tenant>/types/<type_id>extra_specs/<spec_name>
Body : {} or [] or blank

Output :
Status : 422 Unprocessable Entity

Body :
{"computeFault": {"message": "Unable to process the contained instructions", "code": 422}}

Expected :
Status: 400 Bad Request

Tags: ntt tempest
Rohan (kanaderohan)
description: updated
Changed in cinder:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
status: Confirmed → In Progress
Mike Perez (thingee)
Changed in cinder:
assignee: nobody → Avishay Traeger (avishay-il)
Mike Perez (thingee)
tags: added: backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/20111
Committed: http://github.com/openstack/cinder/commit/fee9b2ad61bb69d356e1280f0556afd808c5f128
Submitter: Jenkins
Branch: master

commit fee9b2ad61bb69d356e1280f0556afd808c5f128
Author: Avishay Traeger <email address hidden>
Date: Mon Jan 21 10:19:02 2013 +0200

    Fix error for extra specs update with empty body.

    Fixes: bug #1090320
    Change-Id: Ia2792d477f7670ecb2eb0c9c10dcbf1cf5b2389e

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/folsom)

Fix proposed to branch: stable/folsom
Review: https://review.openstack.org/20972

Mark McLoughlin (markmc)
tags: removed: backport-potential
tags: added: tempest
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/folsom)

Reviewed: https://review.openstack.org/20972
Committed: http://github.com/openstack/cinder/commit/95c9f6f5a9fa2e08f5499f23294272d5d95a5568
Submitter: Jenkins
Branch: stable/folsom

commit 95c9f6f5a9fa2e08f5499f23294272d5d95a5568
Author: Avishay Traeger <email address hidden>
Date: Mon Jan 21 10:19:02 2013 +0200

    Fix error for extra specs update with empty body.

    Fixes: bug #1090320
    Change-Id: Ia2792d477f7670ecb2eb0c9c10dcbf1cf5b2389e
    (cherry picked from commit fee9b2ad61bb69d356e1280f0556afd808c5f128)

Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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