-
Radosław Piliszek authored
This is generally considered insecure because it may reveal sensitive data [1]. Furthermore, it happens that the default Ceph perms cause fatal ERRORs with this setting: 1) when Glance wants to remove an image, it cannot list children because Cinder or Nova might have created a linked volume clone behind the scenes and it is put in another pool (volumes/vms) which Glance cannot normally access; 2) when Nova wants to create an image, it lacks permissions to write to the images pool. Thus, I propose that Kolla Ansible stops setting this by default and relies on the working defaults. The downside is that this disables optimisations in Cinder and Nova. On the other hand, these optimisations have nasty behaviour of being linked directly to the original image, preventing its removal. [1] https://docs.openstack.org/glance/yoga/configuration/glance_api.html#DEFAULT.show_multiple_locations Change-Id: I63ee9a6eefd8593f2169bba34dbb699f413d7cf8 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/860093 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/860291 Closes-Bug: #1992153
Radosław Piliszek authoredThis is generally considered insecure because it may reveal sensitive data [1]. Furthermore, it happens that the default Ceph perms cause fatal ERRORs with this setting: 1) when Glance wants to remove an image, it cannot list children because Cinder or Nova might have created a linked volume clone behind the scenes and it is put in another pool (volumes/vms) which Glance cannot normally access; 2) when Nova wants to create an image, it lacks permissions to write to the images pool. Thus, I propose that Kolla Ansible stops setting this by default and relies on the working defaults. The downside is that this disables optimisations in Cinder and Nova. On the other hand, these optimisations have nasty behaviour of being linked directly to the original image, preventing its removal. [1] https://docs.openstack.org/glance/yoga/configuration/glance_api.html#DEFAULT.show_multiple_locations Change-Id: I63ee9a6eefd8593f2169bba34dbb699f413d7cf8 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/860093 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/860291 Closes-Bug: #1992153
bug-1992153-e1cc20032f1d517f.yaml 847 B
---
upgrade:
- |
Kolla Ansible no longer sets ``show_multiple_locations = True`` by default
when Glance's Ceph RBD backend is enabled. This was applied as a fix but
operators must note that this, in turn, disables the Cinder's and Nova's
optimisations. On the other hand, these optimisations might have been
causing other operators' trouble. Please see the linked bug report.
Operators relying on this feature can set the flag themselves using service
config overrides.
`LP#1992153 <https://launchpad.net/bugs/1992153>`__
fixes:
- |
Kolla Ansible no longer sets ``show_multiple_locations = True`` by default
when Glance's Ceph RBD backend is enabled. This caused various issues with
the services running with the recommended Ceph permissions.
`LP#1992153 <https://launchpad.net/bugs/1992153>`__