Bug 2013891 - [Cephadm-ansible]: cephadm-clients.yml playbook fails at task copy keyring and conf
Summary: [Cephadm-ansible]: cephadm-clients.yml playbook fails at task copy keyring an...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.0z1
Assignee: Guillaume Abrioux
QA Contact: Ameena Suhani S H
Karen Norteman
URL:
Whiteboard:
Depends On:
Blocks: 1996084
TreeView+ depends on / blocked
 
Reported: 2021-10-14 03:12 UTC by Ameena Suhani S H
Modified: 2021-11-02 16:39 UTC (History)
4 users (show)

Fixed In Version: cephadm-ansible-0.1-3.gf273ce6.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-02 16:39:46 UTC
Embargoed:


Attachments (Terms of Use)
cephadm-clients.yml playbook logs (153.29 KB, text/plain)
2021-10-14 03:12 UTC, Ameena Suhani S H
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph cephadm-ansible pull 34 0 None Merged clients:Fix issue when ceph.conf is supplied 2021-10-18 14:56:27 UTC
Red Hat Issue Tracker RHCEPH-2046 0 None None None 2021-10-14 03:17:19 UTC
Red Hat Product Errata RHBA-2021:4105 0 None None None 2021-11-02 16:39:53 UTC

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


Note You need to log in before you can comment on or make changes to this bug.