]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
auth/cephx: do not re-request *only* the MGR key 11401/head
authorSage Weil <sage@redhat.com>
Fri, 14 Oct 2016 18:45:02 +0000 (14:45 -0400)
committerSage Weil <sage@redhat.com>
Sun, 16 Oct 2016 02:51:27 +0000 (22:51 -0400)
commit16fda71354a5dce317093fe1dfa5f5132149c031
tree3b7eec1e10601d99bdd3586b22bb097cc1fd1764
parentbf0dc6dbdb1cfaf58125c60722f1f417f5d28b92
auth/cephx: do not re-request *only* the MGR key

If we request a bunch of service keys, we may not get
back a MGR key because of an in-progress upgrade.  If we
have everything we need except for just the MGR key, do
not bother re-requesting it.  Instead just continue and
we'll re-request it later when the secrets rotate.

Signed-off-by: Sage Weil <sage@redhat.com>
src/auth/cephx/CephxClientHandler.cc
src/auth/cephx/CephxClientHandler.h