Slogging - Error 499 while uploading logs

Asked by Jérémy Guermonprez

Hi,

I'm trying to set up slogging, it seems to be ok but i'm getting a 499 error when i'm trying to upload this logs :

Sep 26 14:50:09 srv03 container-server 192.168.232.13 - - [26/Sep/2011:12:50:09 +0000] "PUT /sdb1/228943/AUTH_46d42d2e-f968-4916-86b2-825649c78bec/container_stats" 202 - "-" "-" "-" 0.0090
Sep 26 14:50:09 srv03 object-server 192.168.232.13 - - [26/Sep/2011:12:50:09 +0000] "PUT /sdb1/8331/AUTH_46d42d2e-f968-4916-86b2-825649c78bec/container_stats/2011/09/26/11/c5b3215f68a775726c66f41ebaee946a.gz" 499 - "-" "-" "-" 0.0381
Sep 26 14:50:09 srv03 container-stats-log-uploader ERROR: Upload of log /var/log/swift/container-stats-2011092611_ed6a1afa51a89fdf32747c9f51e772ee failed!

All seems to be ok except the object upload.

Could someone help me ?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
John Dickinson
Solved:
Last query:
Last reply:
Revision history for this message
Jérémy Guermonprez (jguermonprez) said :
#1

Here's the full log : (trying to upload a single log file)

Sep 27 14:25:20 srv05 container-stats-log-uploader Uploading logs
Sep 27 14:25:20 srv05 account-server 192.168.232.15 - - [27/Sep/2011:12:25:20 +0000] "HEAD /sdb1/35718/AUTH_46d42d2e-f968-4916-86b2-825649c78bec" 204 - "-" "-" "-" 0.0015 ""
Sep 27 14:25:20 srv05 account-server 192.168.232.15 - - [27/Sep/2011:12:25:20 +0000] "PUT /sdb1/35718/AUTH_46d42d2e-f968-4916-86b2-825649c78bec/container_stats" 201 - "-" "-" "-" 0.0014 ""
Sep 27 14:25:20 srv05 container-server 192.168.232.15 - - [27/Sep/2011:12:25:20 +0000] "PUT /sdb1/228943/AUTH_46d42d2e-f968-4916-86b2-825649c78bec/container_stats" 202 - "-" "-" "-" 0.0056
Sep 27 14:25:20 srv05 container-stats-log-uploader Processing log: /var/log/swift/container-stats-2011092712_6847bd289b491b6dc93080e75678e796
Sep 27 14:25:20 srv05 account-server 192.168.232.15 - - [27/Sep/2011:12:25:20 +0000] "HEAD /sdb1/35718/AUTH_46d42d2e-f968-4916-86b2-825649c78bec" 204 - "-" "-" "-" 0.0037 ""
Sep 27 14:25:20 srv05 account-server 192.168.232.15 - - [27/Sep/2011:12:25:20 +0000] "PUT /sdb1/35718/AUTH_46d42d2e-f968-4916-86b2-825649c78bec/container_stats" 201 - "-" "-" "-" 0.0016 ""
Sep 27 14:25:20 srv05 container-server 192.168.232.15 - - [27/Sep/2011:12:25:20 +0000] "PUT /sdb1/228943/AUTH_46d42d2e-f968-4916-86b2-825649c78bec/container_stats" 202 - "-" "-" "-" 0.0062
Sep 27 14:25:20 srv05 account-server 192.168.232.15 - - [27/Sep/2011:12:25:20 +0000] "HEAD /sdb1/35718/AUTH_46d42d2e-f968-4916-86b2-825649c78bec" 204 - "-" "-" "-" 0.0036 ""
Sep 27 14:25:20 srv05 container-server 192.168.232.15 - - [27/Sep/2011:12:25:20 +0000] "HEAD /sdb1/228943/AUTH_46d42d2e-f968-4916-86b2-825649c78bec/container_stats" 204 - "-" "-" "-" 0.0017
Sep 27 14:25:20 srv05 object-server 192.168.232.15 - - [27/Sep/2011:12:25:20 +0000] "PUT /sdb1/224169/AUTH_46d42d2e-f968-4916-86b2-825649c78bec/container_stats/2011/09/27/12/fdb81f24c0f40d5a1888fef34c913374.gz" 499 - "-" "-" "-" 0.0426
Sep 27 14:25:20 srv05 container-stats-log-uploader ERROR: Upload of log /var/log/swift/container-stats-2011092712_6847bd289b491b6dc93080e75678e796 failed!
Sep 27 14:25:20 srv05 container-stats-log-uploader Uploading logs complete (0.00 minutes)

Revision history for this message
Best John Dickinson (notmyname) said :
#2

I suspect you have an older version of python-webob. Please update to webob 1.0.8, and I think this issue will resolve itself.

Revision history for this message
Jérémy Guermonprez (jguermonprez) said :
#3

Thank you for your help John, my issue's solved
I used this repository : http://ppa.launchpad.net/swift-core/release/ubuntu/pool/main/p/python-webob/, that doesn't seems to be up to date ...

Revision history for this message
Jérémy Guermonprez (jguermonprez) said :
#4

Thanks John Dickinson, that solved my question.