From f054ce079a950e933579f55ca4115e8ece3b8455 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 23 Feb 2020 08:23:00 -0600 Subject: [PATCH] mgr/cephadm: fix self.log call in get_unique_name Signed-off-by: Sage Weil --- src/pybind/mgr/cephadm/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index e053b31803f..d1708bb381e 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -997,7 +997,7 @@ class CephadmOrchestrator(MgrModule, orchestrator.OrchestratorClientMixin): name += '.' + ''.join(random.choice(string.ascii_lowercase) for _ in range(6)) if len([d for d in existing if d.daemon_id == name]): - self.log('name %s exists, trying again', name) + self.log.warning('name %s exists, trying again', name) continue return name -- 2.39.5