2014-04-14 10:09:17 |
Flavio Percoco |
bug |
|
|
added bug |
2014-04-14 10:09:26 |
Flavio Percoco |
glance: importance |
Undecided |
Low |
|
2014-04-14 10:09:39 |
Flavio Percoco |
glance: assignee |
|
Flavio Percoco (flaper87) |
|
2014-05-05 11:25:43 |
Flavio Percoco |
glance: status |
New |
Invalid |
|
2014-05-05 11:26:19 |
Flavio Percoco |
glance: status |
Invalid |
New |
|
2014-05-05 11:26:54 |
Flavio Percoco |
affects |
glance |
python-glanceclient |
|
2014-05-05 11:27:20 |
Flavio Percoco |
summary |
The API v2 reserved property error is not raised when there's nothing to update |
The client should *always* send the full update request to the server |
|
2014-05-05 11:27:23 |
Flavio Percoco |
python-glanceclient: assignee |
Flavio Percoco (flaper87) |
|
|
2014-05-05 11:28:53 |
Flavio Percoco |
description |
[root@orange-vdse ~(keystone_admin)]# glance --os-image-api-version 2 image-update 9969c805-c5e6-4d4b-b9e3-dd867a06be08 --owner 637ea20d137e4fa3bdbbb89ec513ef05Request returned failure status.
403 Forbidden
Attribute 'owner' is reserved.
(HTTP 403)
However, if the owner is updated using the API v1, then the same command mentioned above will succeed without error. This may be confusing for the user. Reserved words errors should be raised even for noops |
[root@orange-vdse ~(keystone_admin)]# glance --os-image-api-version 2 image-update fc4bfa83-6eea-4090-91a3-92b02668570d --owner 637ea20d137e4fa3bdbbb89ec513ef05Request returned failure status.
403 Forbidden
Attribute 'owner' is reserved.
(HTTP 403)
However, if the owner remains unchanged, the client won't send it to the server:
[fedora@cinder devstack]$ glance --os-image-api-version 2 image-update fc4bfa83-6eea-4090-91a3-92b02668570d --owner cf7d037795cd45919e9d2824c72d0bae
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | 51bc16b900bf0f814bb6c0c3dd8f0790 |
| container_format | bare |
| created_at | 2014-05-02T10:36:23Z |
| disk_format | qcow2 |
| id | fc4bfa83-6eea-4090-91a3-92b02668570d |
| min_disk | 0 |
| min_ram | 0 |
| name | Fedora-x86_64-20-20131211.1-sda |
| owner | cf7d037795cd45919e9d2824c72d0bae |
| protected | False |
| size | 214106112 |
| status | active |
| tags | [] |
| updated_at | 2014-05-02T10:36:24Z |
| visibility | public |
+------------------+--------------------------------------+ |
|
2014-06-11 16:19:22 |
Cindy Pallares |
python-glanceclient: assignee |
|
Cindy Pallares (cindy-pallaresq) |
|
2014-06-11 16:21:12 |
OpenStack Infra |
python-glanceclient: status |
New |
In Progress |
|
2015-05-23 10:18:28 |
Cindy Pallares |
summary |
The client should *always* send the full update request to the server |
The client should check the update request before sending it to the server |
|
2015-05-23 10:19:57 |
Cindy Pallares |
description |
[root@orange-vdse ~(keystone_admin)]# glance --os-image-api-version 2 image-update fc4bfa83-6eea-4090-91a3-92b02668570d --owner 637ea20d137e4fa3bdbbb89ec513ef05Request returned failure status.
403 Forbidden
Attribute 'owner' is reserved.
(HTTP 403)
However, if the owner remains unchanged, the client won't send it to the server:
[fedora@cinder devstack]$ glance --os-image-api-version 2 image-update fc4bfa83-6eea-4090-91a3-92b02668570d --owner cf7d037795cd45919e9d2824c72d0bae
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | 51bc16b900bf0f814bb6c0c3dd8f0790 |
| container_format | bare |
| created_at | 2014-05-02T10:36:23Z |
| disk_format | qcow2 |
| id | fc4bfa83-6eea-4090-91a3-92b02668570d |
| min_disk | 0 |
| min_ram | 0 |
| name | Fedora-x86_64-20-20131211.1-sda |
| owner | cf7d037795cd45919e9d2824c72d0bae |
| protected | False |
| size | 214106112 |
| status | active |
| tags | [] |
| updated_at | 2014-05-02T10:36:24Z |
| visibility | public |
+------------------+--------------------------------------+ |
[root@orange-vdse ~(keystone_admin)]# glance --os-image-api-version 2 image-update fc4bfa83-6eea-4090-91a3-92b02668570d --owner 637ea20d137e4fa3bdbbb89ec513ef05Request returned failure status.
403 Forbidden
Attribute 'owner' is reserved.
(HTTP 403)
However, if the owner remains unchanged, the client will send the request
to the server and not raise an error.
[fedora@cinder devstack]$ glance --os-image-api-version 2 image-update fc4bfa83-6eea-4090-91a3-92b02668570d --owner cf7d037795cd45919e9d2824c72d0bae
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | 51bc16b900bf0f814bb6c0c3dd8f0790 |
| container_format | bare |
| created_at | 2014-05-02T10:36:23Z |
| disk_format | qcow2 |
| id | fc4bfa83-6eea-4090-91a3-92b02668570d |
| min_disk | 0 |
| min_ram | 0 |
| name | Fedora-x86_64-20-20131211.1-sda |
| owner | cf7d037795cd45919e9d2824c72d0bae |
| protected | False |
| size | 214106112 |
| status | active |
| tags | [] |
| updated_at | 2014-05-02T10:36:24Z |
| visibility | public |
+------------------+--------------------------------------+ |
|
2016-03-25 20:43:49 |
Cindy Pallares |
python-glanceclient: assignee |
Cindy Pallares (cpallares) |
|
|
2016-04-05 05:18:10 |
Preeti |
python-glanceclient: assignee |
|
Preeti (pandey-preeti1) |
|
2017-01-31 17:02:33 |
Ian Cordasco |
python-glanceclient: status |
In Progress |
Confirmed |
|
2017-01-31 17:02:36 |
Ian Cordasco |
python-glanceclient: assignee |
Preeti (pandey-preeti1) |
|
|
2017-01-31 17:02:41 |
Ian Cordasco |
python-glanceclient: importance |
Low |
Medium |
|
2017-12-02 19:24:40 |
Brian Rosmaita |
python-glanceclient: importance |
Medium |
Low |
|
2017-12-02 19:24:46 |
Brian Rosmaita |
python-glanceclient: status |
Confirmed |
Triaged |
|