Add authentication for keepalived

TrivialFix

Closes-Bug: #1551314
Change-Id: Id85859500aec283703b6b6714abf213a42286182
This commit is contained in:
Jeffrey Zhang 2016-02-06 22:18:01 +08:00
parent ebc1bbb081
commit e6b230d784
2 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,10 @@ vrrp_instance kolla_internal_vip {
virtual_ipaddress { virtual_ipaddress {
{{ kolla_internal_vip_address }} {{ kolla_internal_vip_address }}
} }
authentication {
auth_type PASS
auth_pass {{ keepalived_password }}
}
track_script { track_script {
check_alive check_alive
} }
@ -29,6 +33,10 @@ vrrp_instance kolla_external_vip {
virtual_ipaddress { virtual_ipaddress {
{{ kolla_external_vip_address }} {{ kolla_external_vip_address }}
} }
authentication {
auth_type PASS
auth_pass {{ keepalived_password }}
}
track_script { track_script {
check_alive check_alive
} }

View File

@ -86,3 +86,4 @@ rabbitmq_cluster_cookie: "password"
# HAProxy options # HAProxy options
#################### ####################
haproxy_password: "password" haproxy_password: "password"
keepalived_password: "password"