diff --git a/etc/murano-api-paste.ini b/etc/murano-api-paste.ini index 233c022d7..d7a0f9bdc 100644 --- a/etc/murano-api-paste.ini +++ b/etc/murano-api-paste.ini @@ -1,4 +1,4 @@ -[pipeline:api.py] +[pipeline:muranoapi] pipeline = authtoken context apiv1app [app:apiv1app] diff --git a/muranoapi/cmd/api.py b/muranoapi/cmd/api.py index 838363b85..d97fbf9c1 100644 --- a/muranoapi/cmd/api.py +++ b/muranoapi/cmd/api.py @@ -30,7 +30,7 @@ def main(): launcher = service.ServiceLauncher() - api_service = wsgi.Service(config.load_paste_app(), + api_service = wsgi.Service(config.load_paste_app('muranoapi'), port=config.CONF.bind_port, host=config.CONF.bind_host)