diff --git a/ansible/roles/haproxy/templates/keepalived.conf.j2 b/ansible/roles/haproxy/templates/keepalived.conf.j2 index dee8a6e5e6..d599ea7217 100644 --- a/ansible/roles/haproxy/templates/keepalived.conf.j2 +++ b/ansible/roles/haproxy/templates/keepalived.conf.j2 @@ -14,6 +14,10 @@ vrrp_instance kolla_internal_vip { virtual_ipaddress { {{ kolla_internal_vip_address }} } + authentication { + auth_type PASS + auth_pass {{ keepalived_password }} + } track_script { check_alive } @@ -29,6 +33,10 @@ vrrp_instance kolla_external_vip { virtual_ipaddress { {{ kolla_external_vip_address }} } + authentication { + auth_type PASS + auth_pass {{ keepalived_password }} + } track_script { check_alive } diff --git a/etc/kolla/passwords.yml b/etc/kolla/passwords.yml index b0c2d99655..deed018da9 100644 --- a/etc/kolla/passwords.yml +++ b/etc/kolla/passwords.yml @@ -86,3 +86,4 @@ rabbitmq_cluster_cookie: "password" # HAProxy options #################### haproxy_password: "password" +keepalived_password: "password"