v2 API can't create image - Attribute 'file' is reserved.
Bug #1302351 reported by
Sam Morrison
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned | ||
Glance Client |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Trying to create an image with V2 API and get the following error:
glance --os-image-
Request returned failure status.
403 Forbidden
Attribute 'file' is reserved.
(HTTP 403)
It works fine if I do --os-image-
summary: |
- v2 API can't create image + v2 API can't create image - Attribute 'file' is reserved. |
Changed in python-glanceclient: | |
assignee: | nobody → wanghong (w-wanghong) |
Changed in python-glanceclient: | |
assignee: | wanghong (w-wanghong) → nobody |
tags: |
added: icehouse-backport-potential removed: icehouse-rc-potential |
To post a comment you must log in.
Confirming under ubuntu 14.04 beta using rc-1 packages
glance --os-image- api-version 2 --os-image-url http:// controller: 9292/ image-create --container-format bare --disk-format raw --name trusty2 --file cirros- 0.3.1-x86_ 64-disk. img
Request returned failure status.
403 Forbidden
Attribute 'file' is read-only.
(HTTP 403)
debug log @ http:// paste.openstack .org/show/ 75050/
glance --os-image- api-version 1 --os-image-url http:// controller: 9292/ image-create --container-format bare --disk-format raw --name trusty2 --file cirros- 0.3.1-x86_ 64-disk. img ------- -----+- ------- ------- ------- ------- ------- --+ ------- -----+- ------- ------- ------- ------- ------- --+ d3ba628fbe8685b ce | c29f-4add- aca1-6333e016ae 53 | b9078ad8598b2ed 04 | ------- -----+- ------- ------- ------- ------- ------- --+
+------
| Property | Value |
+------
| checksum | d972013792949d0
| container_format | bare |
| created_at | 2014-04-04T06:17:46 |
| deleted | False |
| deleted_at | None |
| disk_format | raw |
| id | 0d4590ec-
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | trusty2 |
| owner | f703c3a1fb8d470
| protected | False |
| size | 13147648 |
| status | active |
| updated_at | 2014-04-04T06:17:47 |
| virtual_size | None |
+------