Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2026738

Summary: [ceph-ansible] 5.0 - ceph-ansible cephadm adopt playbook fails with "reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller." with v6.0.19
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Preethi <pnataraj>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED DUPLICATE QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact:
Priority: high    
Version: 5.0CC: aschoen, ceph-eng-bugs, gmeno, nthomas, ykaul
Target Milestone: ---   
Target Release: 5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-01 07:29:50 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:
Attachments:
Description Flags
ansible.log none

Description Preethi 2021-11-25 16:59:21 UTC
Created attachment 1843613 [details]
ansible.log

Description of problem:[ceph-ansible] 5.0 - ceph-ansible cephadm adopt playbook fails with "reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller." with ceph-ansible v6.0.19 


Version-Release number of selected component (if applicable):
[ceph: root@ceph-monitor-1 /]# ceph version
ceph version 16.2.0-143.el8cp (0e2c6f9639c37a03e55885fb922dc0cb1b5173cb) pacific (stable)

How reproducible:

Steps to Reproduce:
 1. Install 4.2 build on fresh cluster
2. Configure iscsi configuration on the cluster with 34 clients
3. Upgrade to 5.0 from 4.2 baremetal 
4. Convert the storage cluster daemons to run cephadm performing cephadm adoption playbook with latest ceph-ansible version 6.0.19
5. Check the status
Actual results: ceph-adopt playbook fails with the following error when ceph-ansible is installed with v 6.0.19 

Output:
2021-11-25 13:02:09,051 p=412460 u=root n=ansible | TASK [ceph-validate : validate ceph_repository_community] *********************************************************************************************************************************************************
2021-11-25 13:02:09,051 p=412460 u=root n=ansible | Thursday 25 November 2021  13:02:09 +0200 (0:00:00.181)       0:00:24.137 ***** 
2021-11-25 13:02:09,147 p=412460 u=root n=ansible | skipping: [ceph-monitor-2] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,164 p=412460 u=root n=ansible | skipping: [ceph-monitor-1] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,182 p=412460 u=root n=ansible | skipping: [oncilla10.lab.eng.tlv2.redhat.com] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,210 p=412460 u=root n=ansible | skipping: [ceph-monitor-3] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,211 p=412460 u=root n=ansible | skipping: [oncilla11.lab.eng.tlv2.redhat.com] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,211 p=412460 u=root n=ansible | skipping: [oncilla12.lab.eng.tlv2.redhat.com] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,212 p=412460 u=root n=ansible | skipping: [ceph-osd-1] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,212 p=412460 u=root n=ansible | skipping: [ceph-osd-2] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,215 p=412460 u=root n=ansible | skipping: [oncilla11] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,227 p=412460 u=root n=ansible | skipping: [oncilla12] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,228 p=412460 u=root n=ansible | skipping: [ceph-dashboard] => changed=false 
  skip_reason: Conditional result was False
2021-11-25 13:02:09,234 p=412460 u=root n=ansible | TASK [ceph-common : include installs/configure_redhat_repository_installation.yml] ********************************************************************************************************************************
2021-11-25 13:02:09,234 p=412460 u=root n=ansible | Thursday 25 November 2021  13:02:09 +0200 (0:00:00.182)       0:00:24.319 ***** 
2021-11-25 13:02:09,471 p=412460 u=root n=ansible | included: /usr/share/ceph-ansible/roles/ceph-common/tasks/installs/configure_redhat_repository_installation.yml for ceph-monitor-1, ceph-monitor-2, ceph-monitor-3, oncilla10.lab.eng.tlv2.redhat.com, oncilla11.lab.eng.tlv2.redhat.com, oncilla12.lab.eng.tlv2.redhat.com, ceph-osd-1, ceph-osd-2, oncilla11, oncilla12, ceph-dashboard
2021-11-25 13:02:09,483 p=412460 u=root n=ansible | TASK [ceph-common : include redhat_community_repository.yml] ******************************************************************************************************************************************************
2021-11-25 13:02:09,484 p=412460 u=root n=ansible | Thursday 25 November 2021  13:02:09 +0200 (0:00:00.249)       0:00:24.569 ***** 
2021-11-25 13:02:09,736 p=412460 u=root n=ansible | fatal: [ceph-monitor-1]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,737 p=412460 u=root n=ansible | fatal: [ceph-monitor-3]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,738 p=412460 u=root n=ansible | fatal: [ceph-monitor-2]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,739 p=412460 u=root n=ansible | fatal: [oncilla10.lab.eng.tlv2.redhat.com]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,739 p=412460 u=root n=ansible | fatal: [oncilla11.lab.eng.tlv2.redhat.com]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,740 p=412460 u=root n=ansible | fatal: [oncilla12.lab.eng.tlv2.redhat.com]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,740 p=412460 u=root n=ansible | fatal: [ceph-osd-1]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,741 p=412460 u=root n=ansible | fatal: [ceph-osd-2]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,741 p=412460 u=root n=ansible | fatal: [oncilla11]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,742 p=412460 u=root n=ansible | fatal: [ceph-dashboard]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.
2021-11-25 13:02:09,742 p=412460 u=root n=ansible | fatal: [oncilla12]: FAILED! => 
  reason: Could not find or access '/usr/share/ceph-ansible/infrastructure-playbooks/redhat_community_repository.yml' on the Ansible Controller.

Actual results:
We should not see the above failure. It should not look for redhat_community_repositoty.yaml

Expected results: No failure should be seen, playbook installation should be successful


Additional info:

Comment 1 Guillaume Abrioux 2021-12-01 07:29:50 UTC

*** This bug has been marked as a duplicate of bug 2026861 ***