]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add --force-start option to adopt
authorTim Serong <tserong@suse.com>
Thu, 16 Apr 2020 05:32:02 +0000 (15:32 +1000)
committerSebastian Wagner <sebastian.wagner@suse.com>
Wed, 22 Apr 2020 13:06:38 +0000 (15:06 +0200)
commit42dd4dd442b68f281d04c603d95e7255bc11d02b
treee289106922c3a98ad5553c07a20cfc61f0b98d8a
parent6a51b63eb4c4a9599877b2cffd3cb518af7d41c4
cephadm: add --force-start option to adopt

Current behaviour is to only start a newly adopted ceph daemon if it was
already running before the adopt.  Adding a --force-start option allows
the adopt command to start newly adopted daemons that weren't originally
running, to save the user having to manually invoke `systemctl start
ceph-$FSID@$DAEMMON.$ID`.

Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit 225b25512916ec4a9577ca7f2ab39faaf122827f)
src/cephadm/cephadm