]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerAdam King <adking@redhat.com>
Wed, 22 Sep 2021 21:50:44 +0000 (17:50 -0400)
commit3a15f1dc81dfd5f963e1bf36316fa5b289a898b0
treee17af71af580b90690f0eb78f0671efa2195d3ce
parentd855dbb4d8bdba39399da58c5d36d1e24943b38d
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>
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py