]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #43366 from adk3798/log-list-servers
authorSebastian Wagner <sewagner@redhat.com>
Wed, 20 Oct 2021 09:48:09 +0000 (11:48 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Oct 2021 09:48:09 +0000 (11:48 +0200)
mgr/cephadm: put list_servers output in debug logs

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
1  2 
src/pybind/mgr/cephadm/serve.py

index bd428be5761e80210fb1b860d825b2dbc8683839,019d847f659889611ac7fb1d4d22575ec7823533..6d45240974e94666d2a8d02e2174cf73fdd383dc
@@@ -472,9 -533,11 +472,10 @@@ class CephadmServe
          self.log.debug('_check_for_strays')
          for k in ['CEPHADM_STRAY_HOST',
                    'CEPHADM_STRAY_DAEMON']:
 -            if k in self.mgr.health_checks:
 -                del self.mgr.health_checks[k]
 +            self.mgr.remove_health_warning(k)
          if self.mgr.warn_on_stray_hosts or self.mgr.warn_on_stray_daemons:
              ls = self.mgr.list_servers()
+             self.log.debug(ls)
              managed = self.mgr.cache.get_daemon_names()
              host_detail = []     # type: List[str]
              host_num_daemons = 0