]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: verify the `host` key exists during refresh
authorMichael Fritch <mfritch@suse.com>
Fri, 13 Nov 2020 17:06:48 +0000 (10:06 -0700)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 7 Jan 2021 12:02:21 +0000 (13:02 +0100)
commit4a0fe0c7dc4e95ad548e097c62b2736b6e9ba571
tree689e3f7a5283d6eaa25776cd1b652287b3487b6f
parent951e85a18ba20560bc4f8c1097537f81a8530ba2
mgr/cephadm: verify the `host` key exists during refresh

various parts of the host cache might not have a key for the desired
host due to ssh communication issues during host add/remove

Fixes: https://tracker.ceph.com/issues/48223
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 218d00c8ed8e3d1df2f08ce5d89ec9ddd4f07630)
src/pybind/mgr/cephadm/inventory.py