Bodies that are not dicts or lists return 400

Bug #1506149 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Confirmed
Medium
Atsushi SAKAI
openstack-manuals
Fix Released
Medium
Sana Khan

Bug Description

https://review.openstack.org/204138
commit d8ca5c20c51a205624b3e815726e5c103a30b632
Author: Niall Bunting <email address hidden>
Date: Tue Jul 21 15:22:06 2015 +0000

    Bodies that are not dicts or lists return 400

    Type errors that are encountered due to unexpected
    types being passed in now get a 400 'Body format is
    invalid'. This hardens the glance api from other types.

    ApiImpact
    DocImpact

    Closes-Bug: 1476695
    Closes-Bug: 1476253
    Change-Id: Ieee0662f67c800b2b3c07c6a8b7877939cf9e1fe

Tags: api-doc
Atsushi SAKAI (sakaia)
Changed in openstack-api-site:
status: New → Confirmed
assignee: nobody → Atsushi SAKAI (sakaia)
Changed in openstack-api-site:
milestone: none → mitaka
importance: Undecided → Medium
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → mitaka
Changed in openstack-manuals:
assignee: nobody → Sana Khan (sana.khan)
Changed in openstack-manuals:
milestone: mitaka → newton
Revision history for this message
Atsushi SAKAI (sakaia) wrote :

The API-REF is canged from doc to each project (glance)

affects: openstack-api-site → glance
Changed in glance:
milestone: mitaka → none
Revision history for this message
Sana Khan (sanakhanlibre) wrote :
Changed in openstack-manuals:
milestone: newton → ocata
Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Sana - is there a manuals impact to this bug?

Revision history for this message
Sana Khan (sanakhanlibre) wrote :

The Error response code as 400 is already updated in the glance API v2 doc:
http://developer.openstack.org/api-ref/image/v2/?expanded=create-an-image-detail

Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Thanks Sana :)

tags: added: api-doc
removed: glance
Changed in openstack-manuals:
status: Confirmed → 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.