swiftclient is not thread safe

Bug #1372429 reported by Joshua Hesketh
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Investigating the _retry() method[0] in the swiftclient it appears to use a number of instance variables.

For example, self.attempts could be altered by multiple calls to get_object() causing race conditions. There are also race conditions around resetting the url and token where one call to _retry() may reset these just as another calls it.

[0] http://git.openstack.org/cgit/openstack/python-swiftclient/tree/swiftclient/client.py#n1219

Revision history for this message
Joshua Hesketh (joshua.hesketh) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-swiftclient (master)

Change abandoned by John Dickinson (<email address hidden>) on branch: master
Review: https://review.openstack.org/123118
Reason: Abandoning due to lack of activity since the last negative review. You can restore the change if you want to keep working on it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers