Advertisement
Guest User

Untitled

a guest
Jan 15th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@Folsom:/var/lib/glance/images# glance --debug image-create --name NimbulaTest --is-public true --container-format bare --disk-format qcow2 < cirros-0.3.0-x86_64-disk.img
  2. curl -i -X POST -H 'x-image-meta-container_format: bare' -H 'User-Agent: python-glanceclient' -H 'x-image-meta-size: 9761280' -H 'x-image-meta-is_public: True' -H 'X-Auth-Token: 26eac362bb0347d6ad69ec18336f0026' -H 'Content-Type: application/octet-stream' -H 'x-image-meta-disk_format: qcow2' -H 'x-image-meta-name: NimbulaTest' -d '<open file '<stdin>', mode 'r' at 0x7fbc2600e150>' http://192.168.100.242:9292/v1/images
  3.  
  4. HTTP/1.1 400 Bad Request
  5. date: Tue, 15 Jan 2013 17:22:40 GMT
  6. content-length: 137
  7. content-type: text/plain; charset=UTF-8
  8. x-openstack-request-id: req-fda86384-b506-406d-a92d-a0414c50fc9f
  9.  
  10. 400 Bad Request
  11.  
  12. Error uploading image: (StoreAddDisabled): Configuration for store failed. Adding images to this store is disabled.
  13.  
  14.  
  15.  
  16. Request returned failure status.
  17. None
  18. HTTPBadRequest (HTTP 400)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement