swiftclient stuck on when power off one swift proxy node via ipmitool-off.

Bug #1419587 reported by BrandonTsai
10
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

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

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.

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

I rechecked affected projects, and found this bug doesn't affect swift because swift uses direct_client when requesting to a swift cluster, so please forget about swift.

no longer affects: swift
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.