"show_multiple_locations" parameter is set to "true" by default in glance-api configuration even if it is a deprecated parameter in RHOSP.
Issue
- It seems that the parameter
show_multiple_locationsforGlance-APIservice is set asTrueeven if the parameter itself is deprecated and the recommended value isFalse - In our understanding, enabling
Cephas a backend forGlanceimages could lead this setting being applied which is can be seen in theceph-base.yamlandceph-external.yamlTripleO templates:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-base.yaml-77-conditions:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-base.yaml:78: glance_multiple_locations:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-base.yaml-79- and:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-base.yaml-80- - equals:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-base.yaml-81- - get_param: GlanceBackend
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-base.yaml-82- - rbd
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-base.yaml-83- - equals:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-base.yaml-84- - get_param: NovaEnableRbdBackend
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-base.yaml-85- - true
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-external.yaml-65-conditions:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-external.yaml:66: glance_multiple_locations:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-external.yaml-67- and:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-external.yaml-68- - equals:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-external.yaml-69- - get_param: GlanceBackend
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-external.yaml-70- - rbd
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-external.yaml-71- - equals:
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-external.yaml-72- - get_param: NovaEnableRbdBackend
/usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-external.yaml-73- - true
show_multiple_locationsparameter is set totrueby default inglance-apiconfiguration even if it is a deprecated parameter in RHOSP.
Environment
- Red Hat OpenStack Platform (RHOSP) 10.0.
- Red Hat OpenStack Platform (RHOSP) 13.0.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.