From 1b5d82dd1d36c6d960876c6f12ab806d7d620c44 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Thu, 28 Mar 2019 15:28:21 -0500 Subject: [PATCH] [DevStack] Fix fm-rest-api start/stop Use the correct service name in start_fault() and stop_fault() Change-Id: I881b8e4cbcca3219e7a18fa6f60afc1e442b41f4 Signed-off-by: Dean Troyer --- devstack/lib/stx-fault | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devstack/lib/stx-fault b/devstack/lib/stx-fault index 988470f7..8f9eab2a 100644 --- a/devstack/lib/stx-fault +++ b/devstack/lib/stx-fault @@ -388,7 +388,7 @@ function install_fm_rest_api { function start_fault { if is_service_enabled fm-rest-api; then - run_process fm-api "$STX_BIN_DIR/fm-api --config-file $FM_RESTAPI_CONF" + run_process fm-rest-api "$STX_BIN_DIR/fm-api --config-file $FM_RESTAPI_CONF" fi if is_service_enabled fm-mgr; then run_process fm-mgr "$STX_BIN_DIR/fmManager start -c $FM_RESTAPI_CONF" @@ -397,7 +397,7 @@ function start_fault { function stop_fault { if is_service_enabled fm-rest-api; then - stop_process fm-api + stop_process fm-rest-api fi if is_service_enabled fm-mgr; then stop_process fm-mgr