From 96269d8e758e168fb857fca6e96cbd9a50628ac0 Mon Sep 17 00:00:00 2001 From: Brian Rosmaita Date: Mon, 17 Dec 2018 10:38:42 -0500 Subject: [PATCH] Change config-file to config-dir for g-api start The glance-api service may use multiple config files, so tell oslo.config about the config dir instead of a specific config file when the service is started. Change-Id: Iad3602d209cbb31e10683c67e1fd6b465d19f560 Partial-bug: #1805765 --- lib/glance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/glance b/lib/glance index 94f6a22931..b1c8c4dacc 100644 --- a/lib/glance +++ b/lib/glance @@ -345,7 +345,7 @@ function start_glance { if [[ "$WSGI_MODE" == "uwsgi" ]]; then run_process g-api "$GLANCE_BIN_DIR/uwsgi --procname-prefix glance-api --ini $GLANCE_UWSGI_CONF" else - run_process g-api "$GLANCE_BIN_DIR/glance-api --config-file=$GLANCE_CONF_DIR/glance-api.conf" + run_process g-api "$GLANCE_BIN_DIR/glance-api --config-dir=$GLANCE_CONF_DIR" fi echo "Waiting for g-api ($GLANCE_SERVICE_HOST) to start..."