ceph-ansible/roles/ceph-defaults/tasks
Markos Chandras 37e50114de roles: ceph-defaults: Delegate cluster information task to monitor node
Since commit f422efb1d6 ("config: ensure
rgw section has the correct name") we observe the following failures in
new Ceph deployment with OpenStack-Ansible

fatal: [aio1_ceph-rgw_container-fc588f0a]: FAILED! => {"changed": false,
"cmd": "ceph --cluster ceph -s -f json", "msg": "[Errno 2] No such file
or directory"

This is because the task executes 'ceph' but at this point no package
installation has happened. Packages are normally installed in the
'ceph-common' role which runs after the 'ceph-defaults' one.

Since we are looking to obtain cluster information, the task should be
delegated to a monitor node similar to other tasks in that role

Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-08-20 11:37:45 +02:00
..
check_running_cluster.yml defaults: rename check_socket files for containers 2018-01-10 15:44:47 +01:00
check_running_containers.yml ceph-iscsi: support for containerize deployment 2018-06-08 10:21:54 +02:00
check_socket_non_container.yml ceph-iscsi: support for containerize deployment 2018-06-08 10:21:54 +02:00
create_ceph_initial_dirs.yml Expose /var/run/ceph 2018-04-20 15:48:32 +02:00
facts.yml roles: ceph-defaults: Delegate cluster information task to monitor node 2018-08-20 11:37:45 +02:00
main.yml move create ceph initial directories to default 2018-04-20 15:48:32 +02:00