]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix exiting maintenance when systemd target doesn't exist
authorAdam King <adking@redhat.com>
Mon, 20 Sep 2021 12:02:44 +0000 (08:02 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 2 Nov 2021 09:01:18 +0000 (10:01 +0100)
commit5d11e3da2daa1b199aaa77136e4e224a9797c127
treebfcc2c6ad27ca7924a1cf44105ff30288772d14e
parentea3289f0f69645b138121e6d14fc8bbdfd70b50d
cephadm: fix exiting maintenance when systemd target doesn't exist

If the systemd target doesn't exist we need to just bypass enabling
it and return success or the host will just be stuck in maitnenance
mode.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 3a15f1dc81dfd5f963e1bf36316fa5b289a898b0)
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py