Bug 1386090

Summary: [ceph-iscsi-ansible]: Need a task to check for Rsync availability on the seed_mon
Product: Red Hat Storage Console Reporter: Tejas <tchandra>
Component: ceph-ansibleAssignee: Paul Cuzner <pcuzner>
Status: CLOSED CURRENTRELEASE QA Contact: Tejas <tchandra>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2CC: adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, sankarshan
Target Milestone: ---   
Target Release: 3   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-iscsi-ansible-1.3-1.el7scon ceph-iscsi-config-1.3-1.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-28 19:48:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tejas 2016-10-18 06:37:39 UTC
Description of problem:
     In the "ceph-iscsi-ansible.yml" we need a check for rsync in the seed_mon.
The admin keyring is copied from the seed_mon to the gateway nodes.
Currently we are seeing a failure like this:

TASK: [ceph-iscsi-gw | sync the admin keyring from the seed monitor to each gateway node] ***
failed: [nighthawk -> harvard] => {"cmd": "rsync --delay-updates -F --compress --archive --rsh 'ssh  -S none -o StrictHostKeyChecking=no' '--out-format=<<CHANGED>>%i %n%L' /etc/ceph/ceph.client.admin.keyring ''", "failed": true, "rc": 2}
msg: [Errno 2] No such file or directory
failed: [navigator -> harvard] => {"cmd": "rsync --delay-updates -F --compress --archive --rsh 'ssh  -S none -o StrictHostKeyChecking=no' '--out-format=<<CHANGED>>%i %n%L' /etc/ceph/ceph.client.admin.keyring ''", "failed": true, "rc": 2}
msg: [Errno 2] No such file or directory


Version-Release number of selected component (if applicable):
ceph-ansible-1.0.5-36.el7scon.noarch
ceph-iscsi-ansible-1.2-1.el7scon.noarch

How reproducible:
Always



Additional info:

Comment 6 Paul Cuzner 2016-10-21 05:41:40 UTC
Please retest with 1.3. v1.3 has removed the requirement for rsync

Comment 7 Tejas 2016-10-25 03:31:50 UTC
Verified in version:
ceph-iscsi-config-1.3-1.el7cp.noarch
ceph-iscsi-ansible-1.3-1.el7cp.noarch

Comment 8 Ken Dreyer (Red Hat) 2017-06-28 19:48:00 UTC
Fix shipped in https://access.redhat.com/errata/RHBA-2017:1496