Created attachment 1158406 [details] complete output Description of problem: ======================= During rgw installation using ceph-ansible, Installation fails as it trys to get ceph version on rgw node but ceph packages are not installed on that node. TASK: [ceph.ceph-common | get ceph version] *********************************** <magna067> REMOTE_MODULE command ceph --version failed: [magna067] => {"changed": false, "cmd": "ceph --version", "failed": true, "rc": 2} msg: [Errno 2] No such file or directory Version-Release number of selected component (if applicable): ============================================================= How reproducible: ================= always Steps to Reproduce: ==================== 1.perform perquisite on all ubuntu node 2. update inventory file for one mon node, 3 osd node and one rgw node [mons] magna051 [osds] magna051 magna057 magna066 [rgws] magna067 3. run below command [ubuntu@magna044 ceph-ansible]$ ansible-playbook site.yml -vv -i /etc/ansible/hosts --extra-vars '{"ceph_stable": true, "ceph_origin": "distro", "ceph_stable_rh_storage": true, "monitor_interface": "eth0", "journal_collocation": true, "devices": ["/dev/sdb", "/dev/sdc"], "journal_size": 100, "public_network": "xx.xx.xx.xx/21"}' Actual results: =============== TASK: [ceph.ceph-common | get ceph version] *********************************** <magna067> REMOTE_MODULE command ceph --version failed: [magna067] => {"changed": false, "cmd": "ceph --version", "failed": true, "rc": 2} msg: [Errno 2] No such file or directory FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/home/ubuntu/site.retry magna051 : ok=245 changed=14 unreachable=0 failed=0 magna057 : ok=157 changed=9 unreachable=0 failed=0 magna066 : ok=157 changed=10 unreachable=0 failed=0 magna067 : ok=22 changed=2 unreachable=0 failed=1 Expected results: Additional info: ================
Version-Release number of selected component (if applicable): ============================================================= 10.2.1-2redhat1xenial ceph-ansible-1.0.5-12.el7scon.noarch
*** Bug 1336661 has been marked as a duplicate of this bug. ***
The radosgw package was not being installed by ceph-ansible when using rhcs on debian systems. I've filled a PR upstream to fix this. https://github.com/ceph/ceph-ansible/pull/797
Verified in build: ceph-ansible-1.0.5-19.el7scon.noarch ceph version 10.2.1-8redhat1xenial (0abd18aa5da0dde0f01404d8ac10876cb3691bb3 Moving to verified state.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2016:1754