Description of problem: WHen I run "take-over-existing-cluster.yml" it fails with: ERROR! vars file group_vars/all.yml was not found However we have the group_vars placed at: as per the latest ansible settings ceph-ansible]# ll /etc/ansible/group_vars/ total 72 -rw-r--r--. 1 root root 504 Feb 1 19:37 agent.yml.sample -rw-r--r--. 1 root root 3126 Feb 1 19:37 all.docker.yml.sample -rw-r--r--. 1 root root 14146 Feb 8 13:39 all.yml -rw-r--r--. 1 root root 310 Feb 1 19:37 ceph-fetch-keys.yml.sample -rw-r--r--. 1 root root 785 Feb 1 19:37 clients.yml.sample -rw-r--r--. 1 root root 577 Feb 1 19:37 common-coreoss.yml.sample -rw-r--r--. 1 root root 269 Feb 1 19:37 iscsi-gws.yml.sample -rw-r--r--. 1 root root 1067 Feb 1 19:37 mdss.yml -rw-r--r--. 1 root root 2833 Feb 6 14:34 mons.yml -rw-r--r--. 1 root root 2322 Feb 1 19:37 nfss.yml.sample -rw-r--r--. 1 root root 5364 Feb 6 14:34 osds.yml -rw-r--r--. 1 root root 1641 Feb 1 19:37 rbd-mirrors.yml.sample -rw-r--r--. 1 root root 737 Feb 1 19:37 restapis.yml.sample -rw-r--r--. 1 root root 1364 Feb 1 19:37 rgws.yml The "take-over-existing-cluster.yml" should reflect this change in the group_vars placement. Version-Release number of selected component (if applicable): ceph-ansible-2.1.6-1.el7scon.noarch How reproducible: Always
From where are you running this playbook? Which path? Are you running under infrastructure-playbooks/? You need to move it up.
Seb, These are the docs for using this playbook. I assume that is what Tejas is using https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/paged/installation-guide-for-red-hat-enterprise-linux/chapter-3-storage-cluster-installation#ansible-takeover-cluster
(In reply to Gregory Meno from comment #3) > Seb, > > These are the docs for using this playbook. I assume that is what Tejas is > using > > https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/paged/ > installation-guide-for-red-hat-enterprise-linux/chapter-3-storage-cluster- > installation#ansible-takeover-cluster It looks like those docs were written before we moved 'take-over-existing-cluster.yml' into infrastructure-playbooks/. Tejas, As a workaround could you try moving infrastructure-playbooks/take-over-existing-cluster.yml up a directory to /user/share/ceph-ansible. You would also need to symlink what you defined in /etc/ansible/group_vars/all.yml to /usr/share/ceph-ansible/group_vars/all.yml. Once those two steps are done I imagine the playbook will complete successfully. Thanks, Andrew
Gregory, Seb, Yes the doc needs to reflect the changes introduced with the ceph-ansible rebase. I will track this in a separate bug. Andrew, The workaround is successful, thanks. Thanks, Tejas