Health check fixes
- Don't monitor port 5671 as it is only on master - Use /etc/init.d script rather than service command, which is borken.
This commit is contained in:
parent
018d3a108c
commit
b786a5f468
|
@ -172,7 +172,6 @@ def ha_joined():
|
|||
'OPENSTACK_SERVICE_RABBIT': 'rabbitmq-server',
|
||||
'OPENSTACK_PORT_EPMD': 4369,
|
||||
'OPENSTACK_PORT_MCASTPORT': utils.config_get('ha-mcastport'),
|
||||
'OPENSTACK_PORT_SSL': utils.config_get('ssl_port'),
|
||||
}
|
||||
openstack.save_script_rc(**env_vars)
|
||||
|
||||
|
|
|
@ -9,5 +9,5 @@ set -e
|
|||
openstack_service_names=`env| awk -F '=' '(/OPENSTACK_SERVICE/){print $2}'`
|
||||
for service_name in $openstack_service_names
|
||||
do
|
||||
service $service_name status
|
||||
/etc/init.d/$service_name status > /dev/null
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue