Segmented object upload hangs w/client 2.0
Bug #1284360 reported by
Samuel Merritt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Fix Released
|
Undecided
|
Luis de Bethencourt |
Bug Description
Try this with swiftclient 2.0.2, and it'll hang:
$ swift upload con ChangeLog -s 1024
I used ChangeLog from python-
This doesn't occur with 1.9.
Changed in python-swiftclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Well, it doesn't hang forever, but it sure doesn't actually work:
swift@saio: ~/python- swiftclient$ time swift upload swiftclient ChangeLog -S 2000 localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000010 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000001 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000006 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000005 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000003 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000002 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000004 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000007 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000008 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l localhost: 8080:8080/v1/ AUTH_test/ swiftclient_ segments/ ChangeLog/ 1345150987. 000000/ 20448/2000/ 00000009 408 Request Timeout [first 60 chars of response] <html><h1>Request Timeout</h1><p>The server has waited too l ChangeLog
ChangeLog segment 0
Object PUT failed: http://
Object PUT failed: http://
Object PUT failed: http://
Object PUT failed: http://
Object PUT failed: http://
Object PUT failed: http://
Object PUT failed: http://
Object PUT failed: http://
Object PUT failed: http://
Object PUT failed: http://
Aborting manifest creation because not all segments could be uploaded. swiftclient/
real 6m32.499s ~/python- swiftclient$
user 0m1.572s
sys 0m0.884s
swift@saio:
Looks like swiftclient is failing to send data to the server, and eventually the server gets tired of waiting and shuts down the connections.