commit 826b40281123d700b3aeba5dcf076544982973a3
Author: Rafael Weingärtner <email address hidden>
Date: Wed Oct 6 10:57:00 2021 -0300
Filter reserved image properties
Cinder is currently not able to upload a volume that is based on an
image back to glance. This bug is triggered if glance multistore is
enabled (devstack in this example).
When enabling multistore, the following properties will be stored in Cinder:
* os_glance_failed_import=''
* os_glance_importing_to_stores=''
Those properties will cause problems when Cinder tries to perform some
actions with Glance. Error msg:
```
cinderclient.exceptions.BadRequest: HTTP 403 Forbidden: Access was denied to this resource.: Attribute 'os_glance_failed_import' is reserved. (HTTP 400)
```
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/872581 /opendev. org/openstack/ cinder/ commit/ 826b40281123d70 0b3aeba5dcf0765 44982973a3
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit 826b40281123d70 0b3aeba5dcf0765 44982973a3
Author: Rafael Weingärtner <email address hidden>
Date: Wed Oct 6 10:57:00 2021 -0300
Filter reserved image properties
Cinder is currently not able to upload a volume that is based on an
image back to glance. This bug is triggered if glance multistore is
enabled (devstack in this example).
When enabling multistore, the following properties will be stored in Cinder: failed_ import= '' importing_ to_stores= ''
* os_glance_
* os_glance_
Those properties will cause problems when Cinder tries to perform some t.exceptions. BadRequest: HTTP 403 Forbidden: Access was denied to this resource.: Attribute 'os_ glance_ failed_ import& #x27; is reserved. (HTTP 400)
actions with Glance. Error msg:
```
cinderclien
```
Nova had the same issue and solved it with: /github. com/openstack/ nova/blob/ 50fdbc752a9ca9c 31488140ef2997e d59d861a41/ releasenotes/ notes/absolutel y-non-inheritab le-image- properties- 85f7f304fdc20b6 1.yaml
https:/
and
https:/ /github. com/openstack/ nova/commit/ dda179d3f901e4f 23091f3095f1af5 8bc26e222e
Therefore, this patch is intended to apply a similar solution in Cinder.
Change-Id: I79d70543856c01 a45e2d8c083ab8d f6b9c047ebc f41a32bcb5eb075 b1656e2af4)
Closes-Bug: #1945500
(cherry picked from commit c43fb490b204aad