SHOW:
|
|
- or go back to the newest paste.
| 1 | - | 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: a3093cc85dc94ed9841838ee747f7ed7' -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 0x7fc16d8e8150>' http://192.168.100.242:9292/v1/images |
| 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 | - | date: Tue, 15 Jan 2013 16:43:58 GMT |
| 4 | + | |
| 5 | date: Tue, 15 Jan 2013 17:22:40 GMT | |
| 6 | content-length: 137 | |
| 7 | - | x-openstack-request-id: req-f477eee5-ac42-4ad3-ad07-9d97b6059c33 |
| 7 | + | |
| 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) |