neutronclient swallows status reason error

Bug #1287110 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Low
Thomas Herve

Bug Description

I recently encountered the bug about header size when using keystone v3. It was particularly painful to debug because there is no message in the server logs, and the client displays '400-{'message': ''}'. I had to use the curl command which displayed the error message properly.

neutronclient should be able to retrieve the status reason and return it to the user when something like that happens.

Thomas Herve (therve)
Changed in python-neutronclient:
assignee: nobody → Thomas Herve (therve)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

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

Changed in python-neutronclient:
status: New → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/77559
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=f1a2d5eb10b29384769a0d65c9a134e8748a648b
Submitter: Jenkins
Branch: master

commit f1a2d5eb10b29384769a0d65c9a134e8748a648b
Author: Thomas Herve <email address hidden>
Date: Mon Mar 3 11:37:37 2014 +0100

    Return response status reason on error

    Upon server error, return the status reason if the body is empty, to
    help debug server issues.

    Change-Id: I29aef075081965bb8ecacf45a166ca9dbd4cbb8d
    Closes-Bug: #1287110

Changed in python-neutronclient:
status: In Progress → Fix Committed
Kyle Mestery (mestery)
Changed in python-neutronclient:
milestone: none → 2.3.5
importance: Undecided → Low
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
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.