diff --git a/glance/common/wsgi_app.py b/glance/common/wsgi_app.py index c2a0cba2a6..884da53103 100644 --- a/glance/common/wsgi_app.py +++ b/glance/common/wsgi_app.py @@ -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 diff --git a/releasenotes/notes/do-not-load-paste-ini-1ec473693037ee5b.yaml b/releasenotes/notes/do-not-load-paste-ini-1ec473693037ee5b.yaml new file mode 100644 index 0000000000..c4515dab8a --- /dev/null +++ b/releasenotes/notes/do-not-load-paste-ini-1ec473693037ee5b.yaml @@ -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``.