Repository navigation
cephadm: add option to install systemd unit only - #53987
Conversation
adk3798
left a comment
There was a problem hiding this comment.
Seems alright to me. Just a couple things to get the CI to pass.
Cephadm is responsible for installing systemd units on the system. If
for some reasons the units are missing, this newly added option cephadm
unit-install will install them (and do nothing else).
This is useful in some cases where going through the others means of
creating such unit are not possible, or do extra unwanted things.
Signed-off-by: Cyril Duval <[email protected]>
|
Thank you, should be better now |
|
jenkins test api |
|
reruns of failed/dead jobs: https://pulpito.ceph.com/adking-2023-11-03_14:14:47-orch:cephadm-wip-adk-testing-2023-11-01-0807-distro-default-smithi/ After reruns, 3 failures
Nothing to blocker merging PRs unrelated to the host drain failures |
|
Hi, @fayak I was recently rebasing some of my outstanding work and discovered this command has some conflicts with what I'm doing. To try and summarize I am adding "init containers" and "sidecar containers" to cephadm and this means I need to add additional systemd unit files for certain daemon types. For example, the iscsi service will become two systemd services. In order to do this properly I think I would like to change the |
Description
We have the need of having a way to re-create the systemd unit files that cephadm creates, for specific internal reasons. I have not found out a way to call cephadm to do this job (and only this) in a satisfactory manner.
I have then written this small patch that adds a new command,
cephadm unit-installthat will install the systemd units and do nothing else. We use it locally, it suits us well so I'd figure people might be interested in having this upstreamed.Checklist