Bug 2216454

Summary: [ceph-ansible] running docker-to-podman.yml playbook in non-containerized cluster converts the OSD into containerized.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Milind <milverma>
Component: Ceph-AnsibleAssignee: Teoman ONAY <tonay>
Status: ASSIGNED --- QA Contact: Manisha Saini <msaini>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3CC: akaiser, ceph-eng-bugs, cephqe-warriors, csharpe, gmeno, jmelvin, kelwhite, llozoya, saraut, sostapov, tonay
Target Milestone: ---Flags: akaiser: needinfo? (jmelvin)
milverma: needinfo? (tonay)
Target Release: 6.1z2   
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: 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 Milind 2023-06-21 13:10:27 UTC
Created attachment 1971887 [details]
ansible log of the playbook execution

Description of problem:
-----------------------
In the non-containerized ceph cluster (RHCS 4.x) in RHEL 7.9 node-exporter service still runs as containerized. So before upgrading the OS from RHEL 7 to 8, we have to convert the container runtime from docker to podman for the node-exporter service as it is containerized.

Now, after executing the playbook and reboot the nodes one by one, I see that:
MON/MGRs = non-containerized (EXPECTED)
RGW and MDS = non-containerized (EXPECTED)
node-exporter = containerized and container enginer changed to podman (EXPECTED)
OSD = containerized (NOT EXPECTED)

Version-Release number of selected component (if applicable):
RHCS 4.3z1

How reproducible:
Always

Steps to Reproduce:
1. Install a RHCS 4.3z1 non-containerized cluster
2. Run the docker-to-podman playbook to change the container engine for the node-exporter
3. Reboot the nodes and check the `podman ps` output.

Actual results:
OSD come as containerized

Expected results:
OSD should be non-containerized

Attaching the ansible logs.

Comment 5 Scott Ostapovicz 2023-07-12 12:18:32 UTC
Missed the 6.1 z1 window.  Retargeting to 6.1 z2.