]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: drop session with Ceph daemon when not ready
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 26 Nov 2019 20:49:01 +0000 (12:49 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 26 Nov 2019 21:10:30 +0000 (13:10 -0800)
commit16a1deb5b3f276efe7dd3904c26786e6d837ddee
tree0d3e9351eec932c504421ed883d9f2b0b86d3d44
parent9b71bbee55e16e8b81d896b46bab60ff8aa36271
mgr: drop session with Ceph daemon when not ready

If the mgr is waiting on daemon metadata from the mons, it has no
DaemonState associated with the daemon yet. If we try to process this
MgrOpen, the metadata sent by the daemon (like its config) will not be
recorded.

Fixes: https://tracker.ceph.com/issues/43037
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mgr/DaemonServer.cc