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
This commit is contained in:
Lianhao Lu 2016-09-09 10:08:58 +08:00
parent 28b78049ce
commit 3e1ed2ef66
1 changed files with 1 additions and 1 deletions

View File

@ -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