]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph.conf: add variable setting monitor addr block
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 19 Sep 2016 21:35:41 +0000 (17:35 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 19 Sep 2016 21:35:41 +0000 (17:35 -0400)
commitbcb2e39017ca4e2b4cbb0a583a159e69aa76745d
treeff01ca48c57783e6caf508178ed001bc30dab60f
parent112a2b2970a4e6ed4ed8d32bd45ee13757c3cda7
ceph.conf: add variable setting monitor addr block

For some providers (such as upcoming Linode support), some NICs may have
multiple IP addresses. (In the case of Linode, the only NIC has a public
and private IP address.) This is normally okay as we can use the
ceph.conf cluster_network and public_network variables to force the
monitor to listen on the addresses we want. However, we also need
ansible to set the correct monitor IP addresses in "mon hosts" (i.e. the
addresses the monitors will listen on!). This new monitor_address_block
setting tells ansible which IP address to use for each monitor.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
roles/ceph-common/tasks/checks/check_mandatory_vars.yml
roles/ceph-common/templates/ceph.conf.j2