raise ClientException for invalid auth versions

Bug #1008667 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Dan Prince

Bug Description

If I specify an invalid auth version when using swift client I get the following:

  File "/usr/lib/python2.7/site-packages/swift/common/client.py", line 841, in _retry
    self.url, self.token = self.get_auth()
TypeError: 'NoneType' object is not iterable

----

We should raise a ClientException instead.

Dan Prince (dan-prince)
Changed in swift:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/8137
Committed: http://github.com/openstack/swift/commit/f48f253f4c3b3f543c3fcd0ba0a65cffe8b17b02
Submitter: Jenkins
Branch: master

commit f48f253f4c3b3f543c3fcd0ba0a65cffe8b17b02
Author: Dan Prince <email address hidden>
Date: Mon Jun 4 14:58:21 2012 -0400

    Raise ClientException for invalid auth version.

    Fixes LP Bug #1008667.

    Change-Id: I1e767a804b617eff8a9700c3d98b2360c040933a

Changed in swift:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in swift:
milestone: none → 1.6.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.