cephadm-preflight playbook fails at TASK [disable older rhceph repositories if any] for RHCS 7.0
Environment
- Red Hat Ceph Storage (RHCS) 7.0
Issue
- cephadm-preflight playbook fails at TASK [disable older rhceph repositories if any] for RHCS 7.0:
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
Resolution
- We have a Bug 2258940 opened with our Engineering team and will be fixed in future release. Until then enable the required repository and disable older repository if it exists and then install the required ceph packages
cephadm
,ceph-common
,lvm2
,chrony
andpodman
for ceph nodes andchrony
&ceph-common
for ceph client nodes manually.
Root Cause
- When disabling the older repository for
RHCS 4
, the task will choose these as a repositoryrhceph-4-mon-for-rhel-9-x86_64-rpms
,rhceph-4-tools-for-rhel-9-x86_64-rpms
andrhceph-4-osd-for-rhel-9-x86_64-rpms
which actually doesn't exist.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments