Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. [root@localhost ~]# source demo-openrc.sh
  2. [root@localhost ~]# swift upload demo-container1 asender-test.txt
  3. Error trying to create container 'demo-container1': 404 Not Found: <html><h1>Not Found</h1><p>The resource could not be found.<
  4. Object HEAD failed: http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8/demo-container1/asender-test.txt 400 Bad Request
  5.  
  6.  
  7. [root@localhost ~]# swift stat -v
  8. StorageURL: http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8
  9. Auth Token: 6797bb9f31204c6b86d2db2120907083
  10. Account: AUTH_3a2ab32298d348fb98862683af9ad6f8
  11. Containers: 0
  12. Objects: 0
  13. Bytes: 0
  14. X-Account-Project-Domain-Id: default
  15. X-Timestamp: 1427350585.19025
  16. X-Trans-Id: txbf365de78d9d4403b6bf5-005518a8bb
  17. Content-Type: text/plain; charset=utf-8
  18. Accept-Ranges: bytes
  19.  
  20.  
  21. [root@localhost ~]# curl -i -H "X-auth-token: c12d5fcad58249b39dc4c8b78392c70d" http://controller:8080/v1/AUTH_3a2ab32298d348fb98862683af9ad6f8
  22. HTTP/1.1 204 No Content
  23. Content-Length: 0
  24. X-Account-Object-Count: 0
  25. X-Timestamp: 1427350585.19025
  26. X-Account-Bytes-Used: 0
  27. X-Account-Container-Count: 0
  28. Content-Type: text/plain; charset=utf-8
  29. Accept-Ranges: bytes
  30. x-account-project-domain-id: default
  31. X-Trans-Id: tx135e18d6f8f74a5a9719c-005518a948
  32. Date: Mon, 30 Mar 2015 01:39:20 GMT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement