Below text doesnt look right to me:
Client installation by using Ansible is not supported Current version of the `ceph-ansible` utility does not support installation of the Ceph command-line interface (CLI). To use the Ceph CLI, install it manually.
Ceph client is not a Ceph CLI but a way to manage/view ceph cluster (based on the auth it has) from a *node* which doesn't run any ceph daemons.
Comment 10Ken Dreyer (Red Hat)
2017-03-03 16:48:47 UTC
We think this is fixed in the latest RPMs (v2.1.9 as of today). Would you please re-test?
Comment 11Ken Dreyer (Red Hat)
2017-06-28 19:49:00 UTC
Description of problem: ====================== client installation is failing as below TASK: [ceph-common | get ceph version] **************************************** <magna063> REMOTE_MODULE command ceph --version <magna100> REMOTE_MODULE command ceph --version failed: [magna100] => {"changed": false, "cmd": "ceph --version", "failed": true, "rc": 2} msg: [Errno 2] No such file or directory ok: [magna063] => {"changed": false, "cmd": ["ceph", "--version"], "delta": "0:00:00.071293", "end": "2016-05-11 19:43:10.885875", "rc": 0, "start": "2016-05-11 19:43:10.814582", "stderr": "", "stdout": "ceph version 10.2.0-1.el7cp (3a9fba20ec743699b69bd0181dd6c54dc01c64b9)", "stdout_lines": ["ceph version 10.2.0-1.el7cp (3a9fba20ec743699b69bd0181dd6c54dc01c64b9)"], "warnings": []} Version-Release number of selected component (if applicable): ============================================================= ceph-ansible-1.0.5-10.el7scon.noarch How reproducible: ================= always Steps to Reproduce: =================== 1. create ceph cluster on rhel machine using ceph ansible.(1 mon, 3osd node each having 3 osds) 2. copy admin keyring on client node 3. make entry in inventory file [clients] <client-host-name> 4. update site.yml - hosts: clients become: True roles: - ceph-common 5. re run ceph-ansible command used for installation(arguments were given via command line) Actual results: =============== TASK: [ceph-common | get ceph version] **************************************** <magna063> REMOTE_MODULE command ceph --version <magna100> REMOTE_MODULE command ceph --version failed: [magna100] => {"changed": false, "cmd": "ceph --version", "failed": true, "rc": 2} msg: [Errno 2] No such file or directory ok: [magna063] => {"changed": false, "cmd": ["ceph", "--version"], "delta": "0:00:00.071293", "end": "2016-05-11 19:43:10.885875", "rc": 0, "start": "2016-05-11 19:43:10.814582", "stderr": "", "stdout": "ceph version 10.2.0-1.el7cp (3a9fba20ec743699b69bd0181dd6c54dc01c64b9)", "stdout_lines": ["ceph version 10.2.0-1.el7cp (3a9fba20ec743699b69bd0181dd6c54dc01c64b9)"], "warnings": []} PLAY RECAP ******************************************************************** to retry, use: --limit @/root/site.retry magna063 : ok=304 changed=0 unreachable=0 failed=0 magna084 : ok=84 changed=0 unreachable=0 failed=0 magna085 : ok=245 changed=0 unreachable=0 failed=0 magna090 : ok=157 changed=0 unreachable=0 failed=0 magna100 : ok=22 changed=0 unreachable=0 failed=1 ceph packages were not installed on client