Bug 2026738 - [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
Summary: [ceph-ansible] 5.0 - ceph-ansible cephadm adopt playbook fails with "reason: ...
Keywords:
Status: CLOSED DUPLICATE of bug 2026861
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2
Assignee: Guillaume Abrioux
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-25 16:59 UTC by Preethi
Modified: 2021-12-01 07:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-01 07:29:50 UTC
Embargoed:


Attachments (Terms of Use)
ansible.log (2.79 MB, text/plain)
2021-11-25 16:59 UTC, Preethi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-2417 0 None None None 2021-11-25 17:02:26 UTC

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 ***


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