88bf6c71f4
This script is used to check the health check of the rabbitmq container Related patch of kolla-ansible: https://review.opendev.org/c/openstack/kolla-ansible/+/780407 Change-Id: Icbdc9f9686ec1b6f6e1c0ca51ef557b49f32d289
11 lines
314 B
Bash
11 lines
314 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
rabbitmq-diagnostics -q ping || exit 1
|
|
rabbitmq-diagnostics -q status || exit 1
|
|
rabbitmq-diagnostics -q check_running || exit 1
|
|
rabbitmq-diagnostics -q check_local_alarms || exit 1
|
|
rabbitmq-diagnostics -q check_port_connectivity || exit 1
|
|
rabbitmq-diagnostics -q check_virtual_hosts || exit 1
|