ceph-ansible/roles/ceph-validate/tasks
Dimitri Savineau 5c39735be5 ceph-validate: fail if there's no ipaddr available in monitor_address_block subnet
When using monitor_address_block to determine the ip address of the
monitor node, we need an ip address available in that cidr to be
present in the ansible facts (ansible_all_ipv[46]_addresses).
Currently we don't check if there's an ip address available during
the ceph-validate role.
As a result, the ceph-config role fails due to an empty list during
ceph.conf template creation but the error isn't explicit.

TASK [ceph-config : generate ceph.conf configuration file] *****
fatal: [0]: FAILED! => {"msg": "No first item, sequence was empty."}

With this patch we will fail before the ceph deployment with an
explicit failure message.

Resolves: rhbz#1673687

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2019-03-18 16:35:36 +00:00
..
check_devices.yml Extends check_devices tasks to non-collocated an lvm-batch scenarios 2019-03-01 02:13:51 +00:00
check_eth_mon.yml Convert interface names to underscores 2019-02-28 17:07:34 +00:00
check_eth_rgw.yml Convert interface names to underscores 2019-02-28 17:07:34 +00:00
check_ipaddr_mon.yml ceph-validate: fail if there's no ipaddr available in monitor_address_block subnet 2019-03-18 16:35:36 +00:00
check_iscsi.yml lint: Don't compare to empty string 2018-11-08 10:22:02 +00:00
check_rgw_multisite.yml lint: remove trailling spaces 2018-10-31 14:18:36 +01:00
check_system.yml Add new container scenario 2018-11-27 16:47:40 +00:00
main.yml ceph-validate: fail if there's no ipaddr available in monitor_address_block subnet 2019-03-18 16:35:36 +00:00