]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-rgw-loadbalancer: Modify keepalived master selection
authorStanley Lam <stanleylam_604@hotmail.com>
Tue, 3 Dec 2019 18:51:22 +0000 (10:51 -0800)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 6 Jan 2020 14:25:04 +0000 (09:25 -0500)
commit2ca33641091366a9f69150a331b0fdf364833bf4
tree0b396b8dfbf11f57135f25c60793008fa587ed1f
parent8056514134512f20a4b02028fb051f075ad7a145
ceph-rgw-loadbalancer: Modify keepalived master selection

Currently the keepalived template only works when system hostnames exactly match the Ansible inventory name. If these are different, all generated templates become BACKUP without a MASTER assigned. Using the inventory_hostname in the template file resolves this issue.

Signed-off-by: Stanley Lam stanleylam_604@hotmail.com
roles/ceph-rgw-loadbalancer/tasks/pre_requisite.yml
roles/ceph-rgw-loadbalancer/templates/keepalived.conf.j2