Public bug reported: The init script at /etc/init.d/glance-api (likely created by the openstack-pkg-tools) uses the
``` PROJECT_NAME=glance NAME=${PROJECT_NAME}-api CONFIG_FILE=/etc/${PROJECT_NAME}/${NAME}.conf ``` to later add the daemon-arg ``--config-file /etc/glance/glance- api.conf`` This unfortunately causes Glance (or oslo_config in particular, see https://docs.openstack.org/oslo.config/latest/configuration/options.html#default) to ignore all other config files. While multiple config files might not be necessary per se, Glance uses them at least since https://review.opendev.org/c/openstack/glance/+/527635 and the user documentation talks about placing various settings into ``glance-image-import.conf`` (https://docs.openstack.org/glance/latest/admin/interoperable-image-import.html#configuring-the-web-download-method) This issue of using config-file vs. config-dir has been "fixed" for the DevStack (https://review.opendev.org/c/openstack/devstack/+/625628) and there were other observations of a similar issue in e.g. https://bugs.launchpad.net/glance/+bug/1775782. With multiple config files being actively used by glance switching to ``config-dir`` or at least allow adding multiple config files (see default list: https://opendev.org/openstack/glance/src/branch/master/glance/common/wsgi_app.py#L37) is necessary. ** Affects: cloud-archive Importance: Undecided Status: New ** Affects: glance (Ubuntu) Importance: Undecided Status: New ** Affects: openstack-pkg-tools (Ubuntu) Importance: Undecided Status: New ** Also affects: openstack-pkg-tools (Ubuntu) Importance: Undecided Status: New ** Also affects: cloud-archive Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1955022 Title: Init script for glance-api ignores any additional config files To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1955022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs