Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mon/MonClient: before complete auth with error, reopen session
When monClient try to authenticate and fail with -EAGAIN there is a possibility that we no longer hunting and not have active_con. that will result of disconnecting the monClient and ticks will continue without having open session. the solution is to check at the end of auth, that we don't have -EAGAIN error, and if we do, reopen the session and on the next tick try auth again Fixes: https://tracker.ceph.com/issues/58379 Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
- Loading branch information