Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@node-15 ~]# swift --debug upload test-container1 openrc
- DEBUG:urllib3.connectionpool:"HEAD /swift/v1 HTTP/1.1" 204 0
- DEBUG:swiftclient:REQ: curl -i http://10.191.201.8:8080/swift/v1 -I -H "X-Auth-Token: 0e37354bf4cc409db36e0a2bb4c822f9"
- DEBUG:swiftclient:RESP STATUS: 204 No Content
- DEBUG:swiftclient:RESP HEADERS: [('x-account-object-count', '5'), ('vary', 'Accept-Encoding'), ('server', 'Apache/2.2.15 (CentOS)'), ('x-account-bytes-used-actual', '77824'), ('date', 'Thu, 01 Oct 2015 17:13:25 GMT'), ('x-account-bytes-used', '73458'), ('x-account-container-count', '3'), ('content-type', 'text/plain; charset=utf-8')]
- DEBUG:urllib3.connectionpool:"PUT /swift/v1/test-container1 HTTP/1.1" 201 None
- DEBUG:swiftclient:REQ: curl -i http://10.191.201.8:8080/swift/v1/test-container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 0e37354bf4cc409db36e0a2bb4c822f9"
- DEBUG:swiftclient:RESP STATUS: 201 Created
- DEBUG:swiftclient:RESP HEADERS: [('content-encoding', 'gzip'), ('transfer-encoding', 'chunked'), ('vary', 'Accept-Encoding'), ('server', 'Apache/2.2.15 (CentOS)'), ('date', 'Thu, 01 Oct 2015 17:13:25 GMT'), ('content-type', 'text/plain; charset=utf-8')]
- DEBUG:urllib3.connectionpool:"HEAD /swift/v1/test-container1/openrc HTTP/1.1" 404 0
- INFO:swiftclient:REQ: curl -i http://10.191.201.8:8080/swift/v1/test-container1/openrc -I -H "X-Auth-Token: d8fa904537e145539f0d67c5429dcc95"
- INFO:swiftclient:RESP STATUS: 404 Not Found
- INFO:swiftclient:RESP HEADERS: [('content-encoding', 'gzip'), ('accept-ranges', 'bytes'), ('vary', 'Accept-Encoding'), ('server', 'Apache/2.2.15 (CentOS)'), ('date', 'Thu, 01 Oct 2015 17:13:25 GMT'), ('content-type', 'text/plain; charset=utf-8')]
- ERROR:swiftclient:Object HEAD failed: http://10.191.201.8:8080/swift/v1/test-container1/openrc 404 Not Found
- Traceback (most recent call last):
- File "/usr/lib/python2.6/site-packages/swiftclient/client.py", line 1243, in _retry
- rv = func(self.url, self.token, *args, **kwargs)
- File "/usr/lib/python2.6/site-packages/swiftclient/client.py", line 909, in head_object
- http_response_content=body)
- ClientException: Object HEAD failed: http://10.191.201.8:8080/swift/v1/test-container1/openrc 404 Not Found
- DEBUG:urllib3.connectionpool:"PUT /swift/v1/test-container1/openrc HTTP/1.1" 201 None
- DEBUG:swiftclient:REQ: curl -i http://10.191.201.8:8080/swift/v1/test-container1/openrc -X PUT -H "X-Auth-Token: d8fa904537e145539f0d67c5429dcc95"
- DEBUG:swiftclient:RESP STATUS: 201 Created
- DEBUG:swiftclient:RESP HEADERS: [('content-encoding', 'gzip'), ('transfer-encoding', 'chunked'), ('vary', 'Accept-Encoding'), ('server', 'Apache/2.2.15 (CentOS)'), ('etag', '7309a0ade2e1ebe1c1d3af849d8b5e8a'), ('date', 'Thu, 01 Oct 2015 17:13:25 GMT'), ('content-type', 'text/plain; charset=utf-8')]
Advertisement
Add Comment
Please, Sign In to add comment