commit c43fb490b204aadf41a32bcb5eb075b1656e2af4
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/ +/812685 /opendev. org/openstack/ cinder/ commit/ c43fb490b204aad f41a32bcb5eb075 b1656e2af4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c43fb490b204aad f41a32bcb5eb075 b1656e2af4
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
Closes-Bug: #1945500