Skip to content

squid: cephadm: handle "systemctl start" failures during deployment better - #64083

Closed
adk3798 wants to merge 1 commit into
ceph:squidfrom
adk3798:wip-69006-squid
Closed

adk3798 wants to merge 1 commit into
ceph:squidfrom
adk3798:wip-69006-squid

Conversation

@adk3798

@adk3798 adk3798 commented Jun 21, 2025

Copy link
Copy Markdown
Contributor

Previously it was assumed when the deploy command fails whatever
daemon we were trying to deploy does not exist on the host. However,
in the specific case where deploy fails trying to start the daemon's
systemd unit this is not the case. This leads us to both cleanup the
keyring for the daemon and also causes us to not trigger a refresh
of the daemons on the host which can make cephadm attempt to
deploy another daemon instead of just reporting the existing one
as failed. To get around this we need to handle that specific
failure as a success in the mgr module's deploy workflow so that
we refresh the daemons and report the failure as intended.

https://tracker.ceph.com/issues/68536

Signed-off-by: Adam King <[email protected]>
(cherry picked from commit 5818305)

Conflicts:
	src/cephadm/cephadmlib/constants.py
	src/pybind/mgr/cephadm/tests/test_services.py
@adk3798
adk3798 requested a review from a team as a code owner June 21, 2025 20:29
@adk3798 adk3798 added this to the squid milestone Jun 21, 2025
@rkachach

Copy link
Copy Markdown
Contributor

@adk3798 plz feel free to reopen if really needed

@rkachach rkachach closed this Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants