Cryptic error message for non-existing images

Bug #1050260 reported by Vincent Untz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Low
Vincent Untz

Bug Description

$ glance image-show foo
Request returned failure status.
None
HTTPNotFound (HTTP 404)

Obviously, foo doesn't exist ;-) I'd expect a nice message like "No image 'foo'."

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

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

Changed in python-glanceclient:
assignee: nobody → Vincent Untz (vuntz)
status: New → In Progress
Brian Waldon (bcwaldon)
Changed in python-glanceclient:
milestone: none → v0.5.2
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/12929
Committed: http://github.com/openstack/python-glanceclient/commit/902bff79bbe52e831da947bb5ac5fce2330d810e
Submitter: Jenkins
Branch: master

commit 902bff79bbe52e831da947bb5ac5fce2330d810e
Author: Vincent Untz <email address hidden>
Date: Thu Sep 13 11:12:00 2012 +0200

    Fix weird "None" displayed on some errors

    logging.exception() should only be called from an exception handler,
    which is not the case here.

    Part of bug 1050260.

    Change-Id: I591a68c458cd733c04cea7d2d640afdbb7dd19f6

Changed in python-glanceclient:
status: In Progress → Fix Committed
Brian Waldon (bcwaldon)
Changed in python-glanceclient:
milestone: v0.5.2 → v0.6.0
Brian Waldon (bcwaldon)
Changed in python-glanceclient:
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.