Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
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
.github/ISSUE_TEMPLATE Update issue templates 2018-07-12 14:10:15 +02:00
contrib docker-common: rename role 2018-11-12 10:51:48 +01:00
docs Revert "tests: add ubuntu bionic support" 2019-02-22 16:24:18 +01:00
group_vars samples: resync sample files 2019-03-11 10:14:50 +01:00
infrastructure-playbooks add-osd.yml: Add become flag for ceph-validate 2019-03-09 05:54:46 +00:00
library don't append path components while calling os.path.join() 2019-03-14 22:35:12 +00:00
plugins validate: do not validate lvm config if osd_auto_discovery is true 2019-02-01 12:28:12 +01:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles ceph-validate: fail if there's no ipaddr available in monitor_address_block subnet 2019-03-18 16:35:36 +00:00
tests use os.path.join() correctly 2019-03-14 22:35:12 +00:00
.gitignore repo: update gitignore file 2019-02-06 15:06:27 +00:00
.mergify.yml mergify: need 2 approvals to merge a 'skip ci' PR 2019-02-28 13:07:51 +01:00
.travis.yml travis: Add python 2.7 2019-03-06 02:25:55 +00:00
CONTRIBUTING.md CONTRIBUTING: add more guiline for backport 2018-12-20 14:34:17 +00:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile makefile: change distro to el8 2019-02-20 08:10:30 +00:00
README-MULTISITE.md rgw multisite: update documentation 2018-12-10 09:25:43 +01:00
README.rst Update Documentation example link to 3.0 2018-02-07 16:34:45 +01:00
Vagrantfile tests: add a rhel8 scenario testing 2019-02-05 18:14:28 +01:00
ansible.cfg ansible.cfg: Add library path to configuration 2019-02-18 19:52:50 +01:00
ceph-ansible.spec.in rpm: add RHEL 8 + Fedora support 2019-02-20 08:10:30 +00:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh docker-common: rename role 2018-11-12 10:51:48 +01:00
raw_install_python.yml common: fix retry on raw install python for rhel 2019-02-25 10:05:34 +00:00
requirements.txt tests: test master against ansible 2.7 2018-10-30 17:07:05 +01:00
rhcs_edits.txt rhcs: add helpers for the containerized deployment 2018-10-08 09:50:49 -04:00
site-container.yml.sample Revert "site.yml: run ceph-validate before facts/defaults roles" 2019-03-15 16:17:15 +00:00
site-docker.yml.sample site: symlink site-docker to site-container 2018-11-27 16:47:40 +00:00
site.yml.sample Revert "site.yml: run ceph-validate before facts/defaults roles" 2019-03-15 16:17:15 +00:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox.ini tests: pin testinfra version 2019-03-04 14:44:27 +01:00
vagrant_variables.yml.sample Revert "tests: add ubuntu bionic support" 2019-02-22 16:24:18 +01:00

README.rst

ceph-ansible
============
Ansible playbooks for Ceph, the distributed filesystem.

Please refer to our hosted documentation here: http://docs.ceph.com/ceph-ansible/master/

You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link
above for the name of the branch. For example: http://docs.ceph.com/ceph-ansible/stable-3.0/