Unrecognized Content-Type application/json

Bug #1252692 reported by Attila Fazekas on 2013-11-19
This bug affects 2 people
Affects Status Importance Assigned to Milestone
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 Edit Tag help
description: updated
tags: added: api
Changed in cinder:
importance: Undecided → Low
Changed in cinder:
assignee: nobody → Andres Buraschi (andres-buraschi)

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

Changed in cinder:
status: New → In Progress

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) on 2013-12-04
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers