swiftclient stuck on when power off one swift proxy node via ipmitool-off.
Bug #1419587 reported by
BrandonTsai
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
I have two swift proxy nodes and use haproxy as load balancer.
But when I power off one proxy node via ipmitool,
sometimes, swift client upload request get stuck.
It seems like that the requests just hang and waiting for the response
because swiftclient does not set up the timeout value when making request.
My swftclient version is 2.0.3 and running on ubuntu 12.04
no longer affects: | swift |
To post a comment you must log in.
As Brandon says, swiftclient has no timeouts, and this sometime causes stucking when proxy-server physically fails or get disconnected.
# It makes this problem worse that socket connections normally works without keeping alive.
I think this is a bug not in swift but in python-swiftclient, and I will add it as another affected project.
In addition, I'm afraid that this bug affects swift, glance_store and sahara, which uses python-swiftclient when requesting to a swift cluster, so I suppose we should add them as affected projects.