diff --git a/devstack/plugin.sh b/devstack/plugin.sh index e3b3f033c..1a64f18ca 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -212,7 +212,7 @@ function start_monasca_services { if is_service_enabled monasca-thresh; then start_service monasca-thresh || restart_service monasca-thresh fi - if is_service_enabled grafana-server; then + if is_service_enabled horizon; then start_service grafana-server || restart_service grafana-server fi _start_monasca_agent @@ -224,6 +224,8 @@ function _start_monasca_agent { } function unstack_monasca { + stop_service grafana-server || true + stop_service monasca-agent || true stop_service monasca-thresh || true