新装了个liberty版的openstack swift ,步骤都是按照官网的文档。上传时还是报错。
各位大神帮着看看。
[root@controller ~]# swift --debug upload container1 /root/demo-openrc.sh
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://controller:5000/v3/auth/tokens
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 1695
/usr/lib/python2.7/site-packages/keystoneclient/service_catalog.py:196: UserWarning: Providing attr without filter_value to get_urls() is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release. Either both should be provided or neither should be provided.
'Providing attr without filter_value to get_urls() is '
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:requests.packages.urllib3.connectionpool:"PUT /v1/AUTH_30838676605443388e02d16d9ddf783b/container1 HTTP/1.1" 503 118
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 56ad9a957ada4210afc4ebbfcf26ff84"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: [('date', 'Wed, 02 Mar 2016 08:09:03 GMT'), ('content-length', '118'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'tx66f4a4fe98c645f291103-0056d69f9e')]
INFO:swiftclient:RESP BODY: <html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>
DEBUG:requests.packages.urllib3.connectionpool:"PUT /v1/AUTH_30838676605443388e02d16d9ddf783b/container1 HTTP/1.1" 503 118
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 56ad9a957ada4210afc4ebbfcf26ff84"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: [('date', 'Wed, 02 Mar 2016 08:09:04 GMT'), ('content-length', '118'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'tx2fdbb1af37944d66b6736-0056d69fa0')]
INFO:swiftclient:RESP BODY: <html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>
DEBUG:requests.packages.urllib3.connectionpool:"PUT /v1/AUTH_30838676605443388e02d16d9ddf783b/container1 HTTP/1.1" 503 118
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 56ad9a957ada4210afc4ebbfcf26ff84"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: [('date', 'Wed, 02 Mar 2016 08:09:06 GMT'), ('content-length', '118'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'tx39b4e55e846648c6adb2e-0056d69fa2')]
INFO:swiftclient:RESP BODY: <html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>
DEBUG:requests.packages.urllib3.connectionpool:"PUT /v1/AUTH_30838676605443388e02d16d9ddf783b/container1 HTTP/1.1" 503 118
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 56ad9a957ada4210afc4ebbfcf26ff84"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: [('date', 'Wed, 02 Mar 2016 08:09:10 GMT'), ('content-length', '118'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'tx76c8a8d4e9e242ffb50a6-0056d69fa6')]
INFO:swiftclient:RESP BODY: <html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>
DEBUG:requests.packages.urllib3.connectionpool:"PUT /v1/AUTH_30838676605443388e02d16d9ddf783b/container1 HTTP/1.1" 503 118
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 56ad9a957ada4210afc4ebbfcf26ff84"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: [('date', 'Wed, 02 Mar 2016 08:09:18 GMT'), ('content-length', '118'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'txdd1745d4925a493290c97-0056d69fae')]
INFO:swiftclient:RESP BODY: <html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>
DEBUG:requests.packages.urllib3.connectionpool:"PUT /v1/AUTH_30838676605443388e02d16d9ddf783b/container1 HTTP/1.1" 503 118
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 56ad9a957ada4210afc4ebbfcf26ff84"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable
INFO:swiftclient:RESP HEADERS: [('date', 'Wed, 02 Mar 2016 08:09:34 GMT'), ('content-length', '118'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'txfacfb570902e4821b01d9-0056d69fbe')]
INFO:swiftclient:RESP BODY: <html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>
ERROR:swiftclient:Container PUT failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 503 Service Unavailable [first 60 chars of response] <html><h1>Service Unavailable</h1><p>The server is currently
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1390, in _retry
service_token=self.service_token, **kwargs)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 809, in put_container
http_response_content=body)
ClientException: Container PUT failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 503 Service Unavailable [first 60 chars of response] <html><h1>Service Unavailable</h1><p>The server is currently
ERROR:swiftclient.service:Container PUT failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 503 Service Unavailable [first 60 chars of response] <html><h1>Service Unavailable</h1><p>The server is currently
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/swiftclient/service.py", line 1538, in _create_container_job
container, headers, response_dict=create_response
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1466, in put_container
response_dict=response_dict)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1390, in _retry
service_token=self.service_token, **kwargs)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 809, in put_container
http_response_content=body)
ClientException: Container PUT failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1 503 Service Unavailable [first 60 chars of response] <html><h1>Service Unavailable</h1><p>The server is currently
Warning: failed to create container 'container1': 503 Service Unavailable: <html><h1>Service Unavailable</h1><p>The server is currently
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://controller:5000/v3/auth/tokens
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 1695
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh HTTP/1.1" 404 0
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh -I -H "X-Auth-Token: d690543daaa04f7b9aaa8e6d8666b64e"
INFO:swiftclient:RESP STATUS: 404 Not Found
INFO:swiftclient:RESP HEADERS: [('date', 'Wed, 02 Mar 2016 08:09:34 GMT'), ('content-length', '0'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'tx73075833f3294bd88e3ef-0056d69fbe')]
ERROR:swiftclient:Object HEAD failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh 404 Not Found
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1390, in _retry
service_token=self.service_token, **kwargs)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 994, in head_object
http_response_content=body)
ClientException: Object HEAD failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh 404 Not Found
DEBUG:requests.packages.urllib3.connectionpool:"PUT /v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh HTTP/1.1" 404 70
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh -X PUT -H "X-Auth-Token: d690543daaa04f7b9aaa8e6d8666b64e"
INFO:swiftclient:RESP STATUS: 404 Not Found
INFO:swiftclient:RESP HEADERS: [('date', 'Wed, 02 Mar 2016 08:09:34 GMT'), ('content-length', '70'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'txac81c99d17e4463b9b3a5-0056d69fbe')]
INFO:swiftclient:RESP BODY: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
ERROR:swiftclient:Object PUT failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh 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 1390, in _retry
service_token=self.service_token, **kwargs)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1104, in put_object
http_response_content=body)
ClientException: Object PUT failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh 404 Not Found [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<
ERROR:swiftclient.service:Object PUT failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh 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/service.py", line 1941, in _upload_object_job
response_dict=obr
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1516, in put_object
response_dict=response_dict)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1390, in _retry
service_token=self.service_token, **kwargs)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1104, in put_object
http_response_content=body)
ClientException: Object PUT failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh 404 Not Found [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<
Object PUT failed: http://controller:8080/v1/AUTH_30838676605443388e02d16d9ddf783b/container1/root/demo-openrc.sh 404 Not Found [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<