Command line doesn't display messages on error

Bug #1260394 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ceilometerclient
Fix Released
Medium
Thomas Herve

Bug Description

When (for example) creating an alarm, there is no useful information given to the user, whereas it's returned in the response:

$ ceilometer sample-create ...
WARNING (http:163) Request returned failure status.
HTTPBadRequest (HTTP 400)

Using --debug, one can see that faultString is set, so we should display it by default even if debug is not set.

Julien Danjou (jdanjou)
Changed in python-ceilometerclient:
status: New → Triaged
importance: Undecided → Medium
Thomas Herve (therve)
Changed in python-ceilometerclient:
assignee: nobody → Thomas Herve (therve)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ceilometerclient (master)

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

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

Reviewed: https://review.openstack.org/62412
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=9315374a9f384b3c56b3bfd29453c23ef3108ed4
Submitter: Jenkins
Branch: master

commit 9315374a9f384b3c56b3bfd29453c23ef3108ed4
Author: Thomas Herve <email address hidden>
Date: Mon Dec 16 17:11:05 2013 +0100

    Display message on HTTP 400

    This patch parses the faultstring given by the server on 400 errors if
    available.

    Change-Id: Ieae2f0b39fed2c45f276d6c931bebfebab9f696e
    Closes-Bug: bug #1260394

Changed in python-ceilometerclient:
status: In Progress → Fix Committed
Changed in python-ceilometerclient:
milestone: none → 1.3.0
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.