grenade: Use systemd unit name to check service status

Using the service name was deprecated by [1].

[1] 0965bc0dced806f51a4d4bd39642dab20dbec87e

Change-Id: Id9f2eb7b7fe77e832fe0d1bc004f252d14561134
This commit is contained in:
Takashi Kajinami 2024-11-17 07:53:25 +09:00
parent 7edad6f2a9
commit 3698faafdd

View File

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