Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2012-03-27 17:10:40 951 ERROR [glance.api.v1.images] Traceback (most recent call last):
- File "/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/api/v1/images.py", line 393, in _upload
- image_size)
- File "/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/store/swift.py", line 357, in add
- create_container_if_missing(self.container, swift_conn, self.conf)
- File "/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/store/swift.py", line 548, in create_container_if_missing
- raise glance.store.BackendException(msg)
- BackendException: Failed to add container to Swift.
- Got error from Swift: Auth GET failed: http://127.0.0.1:5000/v2.0/tokens 404 Not Found
- 2012-03-27 17:10:40 951 DEBUG [glance.registry] Updating image metadata for image dde38971-22cd-4d80-b43f-ed4dd25ef707...
- 2012-03-27 17:10:41 951 DEBUG [eventlet.wsgi.server] 127.0.0.1 - - [27/Mar/2012 17:10:41] "POST /v1/images HTTP/1.1" 400 409 0.328203
- ### But using the Swift CLI works just fine:
- root@ubuntu1110x64:/usr/src/playground# swift -v -V 2.0 -A http://127.0.0.1:5000/v2.0 -U service:glanceadmin -K glanceadminpasswd stat
- StorageURL: http://127.0.0.1:8080/v1/AUTH_1f1c57ade2fb43e68cde003adcb2528f
- Auth Token: 48e85e3163c94817b1d4f347d81b89ff
- Account: AUTH_1f1c57ade2fb43e68cde003adcb2528f
- Containers: 2
- Objects: 4
- Bytes: 1142272
- Accept-Ranges: bytes
- X-Trans-Id: txf49eca19bcf94902a9170839e0fe9ad7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement