Bug 2258940 - [cee/sd][cephadm-ansible] cephadm-preflight playbook fails at TASK [disable older rhceph repositories if any]
Summary: [cee/sd][cephadm-ansible] cephadm-preflight playbook fails at TASK [disable o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 7.1
Assignee: Teoman ONAY
QA Contact: Manisha Saini
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2267614 2298578 2298579
TreeView+ depends on / blocked
 
Reported: 2024-01-18 05:56 UTC by Lijo Stephen Thomas
Modified: 2024-07-18 07:59 UTC (History)
9 users (show)

Fixed In Version: cephadm-ansible-3.2.0-1.el9cp
Doc Type: Bug Fix
Doc Text:
.Playbooks now remove the RHCS version repositories matching the running RHEL version Previously, playbooks would try to remove {storage-product} 4 repositories from RHEL 9 even though they do not exist on RHEL 9. This would cause the playbooks to fail. With this fix, playbooks remove existing {storage-product} version repositories matching the running RHEL version and the correct repositories are removed.
Clone Of:
Environment:
Last Closed: 2024-06-13 14:24:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-8192 0 None None None 2024-01-18 05:57:16 UTC
Red Hat Knowledge Base (Solution) 7052761 0 None None None 2024-01-22 07:00:28 UTC
Red Hat Product Errata RHSA-2024:3925 0 None None None 2024-06-13 14:24:48 UTC

Description Lijo Stephen Thomas 2024-01-18 05:56:58 UTC
Description of problem:
-----------------------
During RHCS 7 installation, when we run cephadm-preflight.yml playbook as part of installation pre-req, the playbook fails at below task:

```
TASK [disable older rhceph repositories if any] ***************************************************************************************************************
Wednesday 17 January 2024  23:03:32 -0600 (0:00:23.169)       0:00:27.086 ***** 
fatal: [testathon2]: FAILED! => changed=false 
  msg: rhceph-4-tools-for-rhel-9-x86_64-rpms is not a valid repository ID
  results:
  - rhceph-4-tools-for-rhel-9-x86_64-rpms is not a valid repository ID
fatal: [testathon1]: FAILED! => changed=false 
  msg: rhceph-4-mon-for-rhel-9-x86_64-rpms is not a valid repository ID
  results:
  - rhceph-4-mon-for-rhel-9-x86_64-rpms is not a valid repository ID
fatal: [testathon3]: FAILED! => changed=false 
  msg: rhceph-4-osd-for-rhel-9-x86_64-rpms is not a valid repository ID
  results:
  - rhceph-4-osd-for-rhel-9-x86_64-rpms is not a valid repository ID

PLAY RECAP ****************************************************************************************************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0   
testathon1                 : ok=2    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   
testathon2                 : ok=2    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   
testathon3                 : ok=2    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   
```


Version-Release number of selected component (if applicable):
------------------------------------------------------------
RHCS 7.x


How reproducible:
------------------
Every time.

Steps to Reproduce:
-------------------
- For installation, when we run cephadm-preflight playbook following[1]


[1] https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/7/html-single/installation_guide/index#running-the-preflight-playbook_install

Comment 10 errata-xmlrpc 2024-06-13 14:24:41 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 (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and 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/RHSA-2024:3925


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