]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: fix ok-to-stop
authorSage Weil <sage@redhat.com>
Wed, 22 Jan 2020 22:33:03 +0000 (16:33 -0600)
committerSage Weil <sage@redhat.com>
Wed, 22 Jan 2020 22:33:03 +0000 (16:33 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py

index f9d1d7e4fea9892beae88905aab131e6dcc74968..cccb7756cddc32d7effcd7dc180710b92bd08d51 100644 (file)
@@ -390,7 +390,7 @@ class CephadmOrchestrator(MgrModule, orchestrator.OrchestratorClientMixin):
             if s.service_type not in ['mon', 'osd', 'mds']:
                 break
             ret, out, err = self.mon_command({
-                'prefix': '%s ok-to-stop',
+                'prefix': '%s ok-to-stop' % s.service_type,
                 'ids': [s.service_instance],
             })
             if not self.upgrade_state or self.upgrade_state.get('paused'):