"show_multiple_locations" parameter is set to "true" by default in glance-api configuration even if it is a deprecated parameter in RHOSP.

Solution In Progress - Updated -

Issue

  • It seems that the parameter show_multiple_locations for Glance-API service is set as True even if the parameter itself is deprecated and the recommended value is False
  • In our understanding, enablingCeph as a backend for Glance images could lead this setting being applied which is can be seen in the ceph-base.yaml and ceph-external.yaml TripleO 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_locations parameter is set to true by default in glance-api configuration 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In