From 3698faafddcbb98c713b5a0a5d28d43a9a803e7b Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 17 Nov 2024 07:53:25 +0900 Subject: [PATCH] grenade: Use systemd unit name to check service status Using the service name was deprecated by [1]. [1] 0965bc0dced806f51a4d4bd39642dab20dbec87e Change-Id: Id9f2eb7b7fe77e832fe0d1bc004f252d14561134 --- devstack/upgrade/upgrade.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/devstack/upgrade/upgrade.sh b/devstack/upgrade/upgrade.sh index 8653e267eb..a14752c5f4 100755 --- a/devstack/upgrade/upgrade.sh +++ b/devstack/upgrade/upgrade.sh @@ -66,13 +66,9 @@ $CEILOMETER_BIN_DIR/ceilometer-upgrade --skip-gnocchi-resource-types || die $LIN # Start Ceilometer start_ceilometer -# Note these are process names, not service names -# Note(liamji): Disable the test for -# "ceilometer-polling --polling-namespaces ipmi". In the test environment, -# the impi is not ready. The ceilometer-polling should fail. -ensure_services_started "ceilometer-polling --polling-namespaces compute" \ - "ceilometer-polling --polling-namespaces central" \ - ceilometer-agent-notification +# Note(liamji): Disable the test for ceilometer-aipmi. +# In the test environment, the impi is not ready and the service should fail. +ensure_services_started ceilometer-acentral ceilometer-acompute ceilometer-anotification set +o xtrace echo "*********************************************************************"