]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: safe to restart mgr and other non-mon/osd/mds daemons
authorSage Weil <sage@redhat.com>
Wed, 22 Jan 2020 22:14:21 +0000 (16:14 -0600)
committerSage Weil <sage@redhat.com>
Wed, 22 Jan 2020 22:14:21 +0000 (16:14 -0600)
We don't have "ok-to-stop" checks for these.  And the mgr check for
self/active is already in the caller.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py

index 31ba5b321b3ba95a5b52bd24aa0a7bcf880572cf..870460b05bc95afa13aedb8c2672bb57a2002150 100644 (file)
@@ -404,6 +404,9 @@ class CephadmOrchestrator(MgrModule, orchestrator.OrchestratorClientMixin):
                 self.log.info('Upgrade: safe to stop %s.%s' %
                               (s.service_type, s.service_instance))
                 return True
+        self.log.info('Upgrade: safe to stop %s.%s' %
+                      (s.service_type, s.service_instance))
+        return True
 
     def _clear_health_checks(self):
         self.health_checks = {}