From 3e1ed2ef6619713b71801d95e837451e6893f591 Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Fri, 9 Sep 2016 10:08:58 +0800 Subject: [PATCH] devstack: set correct port number for aodh-api Since the aodh-api is generated by pbr wsgi_scripts, we should set correct port number to launch it. Change-Id: Ic632aa05a85b7d08dc2c297427a0feb2ae658299 Closes-Bug: #1620880 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 35464d304..2b6701d7e 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -324,7 +324,7 @@ function start_aodh { elif [ "$AODH_DEPLOY" == "uwsgi" ]; then run_process aodh-api "$AODH_BIN_DIR/uwsgi $AODH_UWSGI_FILE" else - run_process aodh-api "$AODH_BIN_DIR/aodh-api" + run_process aodh-api "$AODH_BIN_DIR/aodh-api -p $AODH_SERVICE_PORT" fi # Only die on API if it was actually intended to be turned on