Glanceclient doesn't properly handle malformed ids

Bug #1190606 reported by Flavio Percoco on 2013-06-13
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-glanceclient
Low
justinsb

Bug Description

When passing a non string id, glanceclient complains:

(.venv)phantom (master) /tmp/python-glanceclient $ glance image-download 1
'int' object has no attribute 'rstrip'

This happens when the 'id' is being quoted[0]. The same happens for get operations and all other operations depending on it.

[0] https://github.com/openstack/python-glanceclient/blob/master/glanceclient/v1/images.py#L129

Changed in python-glanceclient:
importance: Undecided → Low
yelu (yeluaiesec) on 2013-06-20
Changed in python-glanceclient:
assignee: nobody → yelu (yeluaiesec)

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

Changed in python-glanceclient:
status: New → In Progress

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

Changed in python-glanceclient:
assignee: yelu (yeluaiesec) → justinsb (justin-fathomdb)
Changed in python-glanceclient:
status: In Progress → Fix Committed
Louis Taylor (kragniz) on 2014-09-21
Changed in python-glanceclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers