Advertisement
Guest User

Untitled

a guest
Mar 29th, 2012
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. 2012-03-27 17:10:40 951 ERROR [glance.api.v1.images] Traceback (most recent call last):
  2. File "/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/api/v1/images.py", line 393, in _upload
  3. image_size)
  4. File "/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/store/swift.py", line 357, in add
  5. create_container_if_missing(self.container, swift_conn, self.conf)
  6. 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
  7. raise glance.store.BackendException(msg)
  8. BackendException: Failed to add container to Swift.
  9. Got error from Swift: Auth GET failed: http://127.0.0.1:5000/v2.0/tokens 404 Not Found
  10.  
  11. 2012-03-27 17:10:40 951 DEBUG [glance.registry] Updating image metadata for image dde38971-22cd-4d80-b43f-ed4dd25ef707...
  12. 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
  13.  
  14. ### But using the Swift CLI works just fine:
  15.  
  16. 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
  17. StorageURL: http://127.0.0.1:8080/v1/AUTH_1f1c57ade2fb43e68cde003adcb2528f
  18. Auth Token: 48e85e3163c94817b1d4f347d81b89ff
  19. Account: AUTH_1f1c57ade2fb43e68cde003adcb2528f
  20. Containers: 2
  21. Objects: 4
  22. Bytes: 1142272
  23. Accept-Ranges: bytes
  24. X-Trans-Id: txf49eca19bcf94902a9170839e0fe9ad7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement