Do not load api-paste.ini using oslo.config

We expect that the api-paste.ini file contains pipeline definitions for
paste, which are different from service options. Thus we should not
load this file using oslo.config.

Change-Id: Ic03c5f9295e95bd967ab8d305ed8340b6e69e235
This commit is contained in:
Takashi Kajinami 2023-09-11 11:26:25 +09:00 committed by Takashi Kajinami
parent b059c89815
commit cab97a6269
2 changed files with 7 additions and 2 deletions

View File

@ -41,8 +41,7 @@ except ImportError:
LOG.debug('Detected not running under uwsgi')
uwsgi = None
CONFIG_FILES = ['glance-api-paste.ini',
'glance-image-import.conf',
CONFIG_FILES = ['glance-image-import.conf',
'glance-api.conf']
# Reserved file stores for staging and tasks operations

View File

@ -0,0 +1,6 @@
---
fixes:
- |
The glance-api service no longer attempts to load ``api-paste.ini`` file as
its service config file. All config options should be written in service
config files such as ``glance-api.conf``.