This commit puts the ha-test-suite under the tools directory instead of having it downloaded from the outside (originally it was available at the link https://github.com/rscarazz/tripleo-director-ha-test-suite. At code level now the suite is copied directly from the local path tools/ha-test-suite and the executable now is ha-test-suite.sh. Change-Id: I087bc28a0afa3ede9b2fb698892b8306f56790a2
20 lines
686 B
Plaintext
20 lines
686 B
Plaintext
# Test: Stop every systemd resource, stop Galera and Rabbitmq, Start every systemd resource
|
|
|
|
echo "$(date) * Step 1: disable all the systemd resources"
|
|
play_on_resources "disable" "$OVERCLOUD_SYSTEMD_RESOURCES"
|
|
|
|
echo "$(date) - List of cluster's failed actions:"
|
|
check_failed_actions
|
|
|
|
echo "$(date) * Step 2: disable core services"
|
|
play_on_resources "disable" "$OVERCLOUD_CORE_RESOURCES"
|
|
|
|
echo "$(date) - List of cluster's failed actions:"
|
|
check_failed_actions
|
|
|
|
echo "$(date) * Step 3: enable each resource one by one and check the status"
|
|
play_on_resources "enable" "$OVERCLOUD_SYSTEMD_RESOURCES"
|
|
|
|
echo "$(date) - List of cluster's failed actions:"
|
|
check_failed_actions
|