Merge PR #34182 into master

* refs/pull/34182/head:
	mgr/cephadm: fix 'orch ps --refresh'

Reviewed-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
Sage Weil 2020-03-25 21:17:18 -05:00
commit 3b5258545e

View File

@ -1915,8 +1915,8 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
if host:
self._refresh_host_daemons(host)
else:
for host, hi in self.inventory.items():
self._refresh_host_daemons(host)
for hostname, hi in self.inventory.items():
self._refresh_host_daemons(hostname)
result = []
for h, dm in self.cache.daemons.items():
if host and h != host: