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 2124919

Summary: cephadam-ansible playbook `cephadm-preflight.yml` fails on RHEL9
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vaibhav Mahajan <vamahaja>
Component: CephadmAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: medium Docs Contact: Masauso Lungu <mlungu>
Priority: medium    
Version: 6.0CC: cephqe-warriors, gabrioux, kdreyer, mlungu, msaini, pasik
Target Milestone: ---   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cephadm-ansible-2.8.0-1.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 18:58:05 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:

Description Vaibhav Mahajan 2022-09-07 13:14:00 UTC
Description of problem:
cephadam-ansible playbook `cephadm-preflight.yml` fails at task `disable older rhceph repositories if any` which tries to disable rhceph-4 repos for rhel8

How reproducible: Always

Steps to Reproduce:
1. Deploy RHEL 9 cluster.
2. Configure repos and install cephadm-ansible.
3. Execute cephadm-ansible playbook `cephadm-preflight.yml` as below command -
   ansible-playbook cephadm-preflight.yml -i hosts -e ceph_origin=rhcs

Actual results:
Ansible playbook fails with below error - 

2022-09-07 08:42:06,917 p=22241 u=cephuser n=ansible | TASK [disable older rhceph repositories if any] ***************************************************************************************
2022-09-07 08:42:11,031 p=22241 u=cephuser n=ansible | failed: [ceph-vamahaja-snc3h1-node3] (item=rhceph-4-tools-for-rhel-8-x86_64-rpms) => changed=false
  ansible_loop_var: item
  item: rhceph-4-tools-for-rhel-8-x86_64-rpms
  msg: rhceph-4-tools-for-rhel-8-x86_64-rpms is not a valid repository ID
  results:
  - rhceph-4-tools-for-rhel-8-x86_64-rpms is not a valid repository ID
2022-09-07 08:42:11,398 p=22241 u=cephuser n=ansible | failed: [ceph-vamahaja-snc3h1-node4] (item=rhceph-4-tools-for-rhel-8-x86_64-rpms) => changed=false
  ansible_loop_var: item
  item: rhceph-4-tools-for-rhel-8-x86_64-rpms
  msg: rhceph-4-tools-for-rhel-8-x86_64-rpms is not a valid repository ID
  results:
  - rhceph-4-tools-for-rhel-8-x86_64-rpms is not a valid repository ID
2022-09-07 08:42:11,784 p=22241 u=cephuser n=ansible | failed: [ceph-vamahaja-snc3h1-node1-installer] (item=rhceph-4-tools-for-rhel-8-x86_64-rpms) => changed=false
  ansible_loop_var: item
  item: rhceph-4-tools-for-rhel-8-x86_64-rpms
  msg: rhceph-4-tools-for-rhel-8-x86_64-rpms is not a valid repository ID
  results:
  - rhceph-4-tools-for-rhel-8-x86_64-rpms is not a valid repository ID
2022-09-07 08:42:12,277 p=22241 u=cephuser n=ansible | failed: [ceph-vamahaja-snc3h1-node2] (item=rhceph-4-tools-for-rhel-8-x86_64-rpms) => changed=false
  ansible_loop_var: item
  item: rhceph-4-tools-for-rhel-8-x86_64-rpms
  msg: rhceph-4-tools-for-rhel-8-x86_64-rpms is not a valid repository ID
  results:
  - rhceph-4-tools-for-rhel-8-x86_64-rpms is not a valid repository ID
2022-09-07 08:42:15,314 p=22241 u=cephuser n=ansible | failed: [ceph-vamahaja-snc3h1-node3] (item=rhceph-4-mon-for-rhel-8-x86_64-rpms) => changed=false
  ansible_loop_var: item
  item: rhceph-4-mon-for-rhel-8-x86_64-rpms
  msg: rhceph-4-mon-for-rhel-8-x86_64-rpms is not a valid repository ID
  results:
  - rhceph-4-mon-for-rhel-8-x86_64-rpms is not a valid repository ID

Expected results:
Playbook should pass without any issue.

Comment 1 RHEL Program Management 2022-09-07 13:14:08 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 16 errata-xmlrpc 2023-03-20 18:58:05 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 6.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-2023:1360