Bug 2013891

Summary: [Cephadm-ansible]: cephadm-clients.yml playbook fails at task copy keyring and conf
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ameena Suhani S H <amsyedha>
Component: CephadmAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact: Karen Norteman <knortema>
Priority: high    
Version: 5.0CC: gabrioux, pcuzner, tserlin, vereddy
Target Milestone: ---Keywords: TestBlocker
Target Release: 5.0z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cephadm-ansible-0.1-3.gf273ce6.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-02 16:39:46 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1996084    
Attachments:
Description Flags
cephadm-clients.yml playbook logs none

Description Ameena Suhani S H 2021-10-14 03:12:49 UTC
Created attachment 1832771 [details]
cephadm-clients.yml playbook logs

Description of problem:
The  cephadm-clients.yml playbook fails at task copy keyring and conf 

CLI: ansible-playbook -i hosts cephadm-clients.yml -e fsid=4d300724-d41e-4883-a7ae-f80bce724644 -e client_group=clients -e keyring=/etc/ceph/ceph.client.admin.keyring -e conf=/etc/ceph/ceph.conf

[root@magna061 cephadm-ansible]# cat hosts 
[admin]
magna061

[clients]
magna070
magna068

[ceph: root@magna061 /]# ceph orch host ls
HOST      ADDR         LABELS                 STATUS  
magna061  10.8.128.61  mgrs mons ceph _admin          
magna062  10.8.128.62  mons ceph                      
magna063  10.8.128.63  mons osds ceph                 
magna065  10.8.128.65  mdss osds ceph                 
magna066  10.8.128.66  osds rgws ceph            

Error snippet: 
TASK [copy configuration and keyring files to the clients] ***************************************************************************************
Wednesday 13 October 2021  08:09:57 +0000 (0:00:08.266)       0:00:10.943 ***** 
fatal: [magna070]: FAILED! => 
  censored: 'the output has been hidden due to the fact that ''no_log: true'' was specified for this result'
fatal: [magna068]: FAILED! => 
  censored: 'the output has been hidden due to the fact that ''no_log: true'' was specified for this result'


Version-Release number of selected component (if applicable):
ansible-2.9.26-1.el8ae.noarch
cephadm-ansible-0.1-2.g8019cf9.el8cp.noarch
ceph-ansible-6.0.15-1.el8cp.noarch


How reproducible:
2/2

Actual results:
The playbook fails to copy keyring and conf

Expected results:
The playbook should be successful to copy keyring and conf

Comment 2 Ameena Suhani S H 2021-10-14 03:22:36 UTC
Upstream PR ref- https://github.com/ceph/cephadm-ansible/pull/34

Comment 7 Ameena Suhani S H 2021-10-21 04:21:52 UTC
Verified using cephadm-ansible-0.1-3.gf273ce6.el8cp.noarch

Comment 9 errata-xmlrpc 2021-11-02 16:39:46 UTC
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 (Red Hat Ceph Storage 5.0 Bug Fix update), 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/RHBA-2021:4105