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:
parent
b059c89815
commit
cab97a6269
@ -41,8 +41,7 @@ except ImportError:
|
|||||||
LOG.debug('Detected not running under uwsgi')
|
LOG.debug('Detected not running under uwsgi')
|
||||||
uwsgi = None
|
uwsgi = None
|
||||||
|
|
||||||
CONFIG_FILES = ['glance-api-paste.ini',
|
CONFIG_FILES = ['glance-image-import.conf',
|
||||||
'glance-image-import.conf',
|
|
||||||
'glance-api.conf']
|
'glance-api.conf']
|
||||||
|
|
||||||
# Reserved file stores for staging and tasks operations
|
# Reserved file stores for staging and tasks operations
|
||||||
|
@ -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``.
|
Loading…
x
Reference in New Issue
Block a user