| 1 |
--- |
| 2 |
upgrade: |
| 3 |
- | |
| 4 |
We introduced a new config parameter, ``reserved_image_namespaces``, |
| 5 |
that allows operators to set the image properties to filter out from |
| 6 |
volume image metadata by namespace when uploading a volume to Glance. |
| 7 |
These properties, if not filtered out, cause failures when uploading |
| 8 |
images back to Glance. The error will happen on Glance side when the |
| 9 |
reserved namespaces are used. This option is also useful when an operator |
| 10 |
wants to use the Glance property protections feature to make some image |
| 11 |
properties read-only. |
| 12 |
fixes: |
| 13 |
- | |
| 14 |
`Bug #1945500 <https://bugs.launchpad.net/cinder/+bug/1945500>`_: Fixed |
| 15 |
an error when uploading to Glance a previously downloaded glance image |
| 16 |
when glance multistore is enabled. Glance reserves image properties |
| 17 |
in the namespace 'os_glance' for its own use and will not allow |
| 18 |
images to be created with these properties. Additionally, there are image |
| 19 |
properties, such as those associated with image signature verification, |
| 20 |
that are stored in a volume's image metadata, which should not be added |
| 21 |
to a new image when a volume is being uploaded as an image. Thus Cinder |
| 22 |
will no longer include any volume image metadata in the namespaces |
| 23 |
``os_glance`` and ``img_signature`` when it creates an image in Glance. |
| 24 |
Furthermore, because the Glance property protections feature allows an |
| 25 |
operator to configure specific image properties as read-only, this fix |
| 26 |
adds a configuration option, ``reserved_image_namespaces``, that allows an |
| 27 |
operator to exclude additional image properties by namespace (the |
| 28 |
``os_glance`` and ``img_signature`` namespaces are *always* excluded). |