Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost ~]# swift --debug upload demo-container1 asender-test.txt DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://controller:35357/v2.0/tokens
- INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
- DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 1794
- DEBUG:iso8601.iso8601:Parsed 2015-03-30T01:59:32Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'01', 'daydash': u'30', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'32', 'tz_minute': None, 'year': u'2015', 'separator': u'T', 'monthdash': u'03', 'day': None, 'minute': u'59'} with default timezone <iso8601.iso8601.Utc object at 0x2b7b910>
- DEBUG:iso8601.iso8601:Got u'2015' for 'year' with default None
- DEBUG:iso8601.iso8601:Got u'03' for 'monthdash' with default 1
- DEBUG:iso8601.iso8601:Got 3 for 'month' with default 3
- DEBUG:iso8601.iso8601:Got u'30' for 'daydash' with default 1
- DEBUG:iso8601.iso8601:Got 30 for 'day' with default 30
- DEBUG:iso8601.iso8601:Got u'01' for 'hour' with default None
- DEBUG:iso8601.iso8601:Got u'59' for 'minute' with default None
- DEBUG:iso8601.iso8601:Got u'32' for 'second' with default None
- INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
- DEBUG:urllib3.connectionpool:"HEAD /v1/AUTH_3a2ab32298d348fb98862683af9ad6f8 HTTP/1.1" 204 0
- DEBUG:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8 -I -H "X-Auth-Token: 31e9462049cb4c22b92b17f03e6716df"
- DEBUG:swiftclient:RESP STATUS: 204 No Content
- DEBUG:swiftclient:RESP HEADERS: [('content-length', '0'), ('x-account-object-count', '0'), ('x-account-project-domain-id', 'default'), ('x-timestamp', '1427350585.19025'), ('x-trans-id', 'tx10503b07eca64dada3cf5-0055189ff4'), ('date', 'Mon, 30 Mar 2015 00:59:32 GMT'), ('x-account-bytes-used', '0'), ('x-account-container-count', '0'), ('content-type', 'text/plain; charset=utf-8'), ('accept-ranges', 'bytes')]
- DEBUG:urllib3.connectionpool:"PUT /v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1 HTTP/1.1" 404 70
- INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 31e9462049cb4c22b92b17f03e6716df"
- INFO:swiftclient:RESP STATUS: 404 Not Found
- INFO:swiftclient:RESP HEADERS: [('date', 'Mon, 30 Mar 2015 00:59:32 GMT'), ('content-length', '70'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'tx6164e6a34e4342f78e35b-0055189ff4')]
- INFO:swiftclient:RESP BODY: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
- ERROR:swiftclient:Container PUT failed: http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1 404 Not Found [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1243, in _retry
- rv = func(self.url, self.token, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 731, in put_container
- http_response_content=body)
- ClientException: Container PUT failed: http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1 404 Not Found [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<
- Error trying to create container 'demo-container1': 404 Not Found: <html><h1>Not Found</h1><p>The resource could not be found.<
- DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://controller:35357/v2.0/tokens
- INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
- DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 1794
- DEBUG:iso8601.iso8601:Parsed 2015-03-30T01:59:32Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'01', 'daydash': u'30', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'32', 'tz_minute': None, 'year': u'2015', 'separator': u'T', 'monthdash': u'03', 'day': None, 'minute': u'59'} with default timezone <iso8601.iso8601.Utc object at 0x2b7b910>
- DEBUG:iso8601.iso8601:Got u'2015' for 'year' with default None
- DEBUG:iso8601.iso8601:Got u'03' for 'monthdash' with default 1
- DEBUG:iso8601.iso8601:Got 3 for 'month' with default 3
- DEBUG:iso8601.iso8601:Got u'30' for 'daydash' with default 1
- DEBUG:iso8601.iso8601:Got 30 for 'day' with default 30
- DEBUG:iso8601.iso8601:Got u'01' for 'hour' with default None
- DEBUG:iso8601.iso8601:Got u'59' for 'minute' with default None
- DEBUG:iso8601.iso8601:Got u'32' for 'second' with default None
- INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
- DEBUG:urllib3.connectionpool:"HEAD /v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1/asender-test.txt HTTP/1.1" 400 0
- INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1/asender-test.txt -I -H "X-Auth-Token: 17ec2a1ccb8345cdb4a286108b13857c"
- INFO:swiftclient:RESP STATUS: 400 Bad Request
- INFO:swiftclient:RESP HEADERS: [('date', 'Mon, 30 Mar 2015 00:59:33 GMT'), ('content-length', '0'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'txec0e9108454744df8e60d-0055189ff5')]
- ERROR:swiftclient:Object HEAD failed: http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1/asender-test.txt 400 Bad Request
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1243, in _retry
- rv = func(self.url, self.token, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 909, in head_object
- http_response_content=body)
- ClientException: Object HEAD failed: http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1/asender-test.txt 400 Bad Request
- Object HEAD failed: http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1/asender-test.txt 400 Bad Request
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement