]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: fix redeploy for the crash daemon 33870/head
authorMichael Fritch <mfritch@suse.com>
Wed, 11 Mar 2020 19:59:24 +0000 (13:59 -0600)
committerMichael Fritch <mfritch@suse.com>
Wed, 11 Mar 2020 20:02:49 +0000 (14:02 -0600)
`auth get` was using `crash.<name>` when it should have been
`client.crash.<name>`

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/module.py

index 1ad560ea38ff0b5fd532f1d846f98c3323fd5116..830cf7ff83005beacd8ebc53e2a51ee671617c80 100644 (file)
@@ -2085,7 +2085,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
                 if daemon_type == 'mon':
                     ename = 'mon.'
                 else:
-                    ename = '%s.%s' % (daemon_type, daemon_id)
+                    ename = name_to_config_section(daemon_type + '.' + daemon_id)
                 ret, keyring, err = self.mon_command({
                     'prefix': 'auth get',
                     'entity': ename,