Unrecognized Content-Type application/json

Bug #1252692 reported by Attila Fazekas
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Andres Buraschi

Bug Description

Unrecognized Content-Type provided in request get_body /opt/stack/new/cinder/cinder/api/openstack/wsgi.py:796

Cinder api service logs the above entry, on every request made by the python-cinderclient, for example "cinder list".

 'application/json' should be an accepted content type, without any additional log.

You can see the above issue as the result of all tempest-devstack gate job as well.

Tags: api
description: updated
tags: added: api
Changed in cinder:
importance: Undecided → Low
Changed in cinder:
assignee: nobody → Andres Buraschi (andres-buraschi)
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/59036

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

Reviewed: https://review.openstack.org/59036
Committed: http://github.com/openstack/cinder/commit/6bd4dae9680aae924ef24750e15f00711c14b1a3
Submitter: Jenkins
Branch: master

commit 6bd4dae9680aae924ef24750e15f00711c14b1a3
Author: Andres Buraschi <email address hidden>
Date: Thu Nov 28 11:35:07 2013 -0300

    Fixing check order for empty body in get_body()

    Cinder API logged the following debug message for each request with
    empty body:
    "Unrecognized Content-Type provided in request get_body"
    Check order was fixed in get_body function to follow the correct flow
    and display the right message (empty body).

    Change-Id: Ie561983a4da791a412fea3fc390dab718dfce191
    Closes-Bug: #1252692

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-1 → 2014.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.