Bug 2018374

Summary: [cee/sd][Ceph-Ansible] Systemd target unit files are not present in the container environment
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Kritik Sachdeva <ksachdev>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED DUPLICATE QA Contact: Ameena Suhani S H <amsyedha>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2CC: aschoen, ceph-eng-bugs, gabrioux, gmeno, gsitlani, mmuench, nthomas, system-engineering, vumrao, ykaul
Target Milestone: ---   
Target Release: 5.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-03 08:18:07 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 Kritik Sachdeva 2021-10-29 04:00:28 UTC
Description of problem:

As per section 2.3 of the Administration guide, we can start and stop all of the OSD, Mon, MGR, and all ceph daemon using the target system unit file.

In the standalone ceph cluster containerized deployment or migrating from bare metal to container environment using the switch-from-non-containerized-to-containerized-ceph-daemons.yml playbook file, these systemd target unit files are removed and not created again in the container environment.

Is this an expected behavior for the container environment?

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


How reproducible:

- Install the standalone ceph cluster in a container environment or perform a migrate from baremetal to a container environment

- systemd target units are not present


Actual results:
- Systemd target unit files are not created again in the final container env

Expected results:
- Systemd target unit files should be present in the container environment


Additional info:
- These systemd target unit files are provided by the ceph-osd packages

Comment 2 Vikhyat Umrao 2021-10-29 14:58:46 UTC
The support is coming in RHCS 4.3 - https://bugzilla.redhat.com/show_bug.cgi?id=1962748