]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: force flag for ok-to-stop and ok-to-stop for monitoring stack 38854/head
authorAdam King <adking@redhat.com>
Mon, 11 Jan 2021 18:23:04 +0000 (13:23 -0500)
committerAdam King <adking@redhat.com>
Wed, 20 Jan 2021 13:21:55 +0000 (08:21 -0500)
commitaeeffb07f1bb226b64a362de4eecd7d63fc0b0d1
treeffa3a679ca84dda756d18248156e82fd6ce54461
parentbfa04adb6560618c8f59f0216601ac1df5a31c78
mgr/cephadm: force flag for ok-to-stop and ok-to-stop for monitoring stack

Daemons that could cause data loss when stopped will always block.

Daemons that will only cause loss in availability should block but have
a workaround in the form of a force flag if the user is okay with the service
being down.

Also implements ok-to-stop for monitoring stack daemons that uses this system
of blocking on availability loss unless force flag is provided

Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
doc/mgr/orchestrator.rst
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/upgrade.py
src/pybind/mgr/orchestrator/__init__.py
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py