Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth/cephx: misc fixes #9679

Merged
merged 8 commits into from Aug 1, 2016
Merged

auth/cephx: misc fixes #9679

merged 8 commits into from Aug 1, 2016

Commits on Jun 7, 2016

  1. auth/cephx: fix race conditon for some public methods of KeyServer

    These methods are called only by AuthMonitor and are accessed
    without protection of internal lock, which is not safe.
    
    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jun 7, 2016
    Copy the full SHA
    003289d View commit details
    Browse the repository at this point in the history
  2. auth: return error if we are unable to parse keyring file

    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jun 7, 2016
    Copy the full SHA
    d55f43f View commit details
    Browse the repository at this point in the history
  3. mon/AuthMonitor: fix wrongly error handling logic

    We shall set err correctly instead of rs here...
    
    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jun 7, 2016
    Copy the full SHA
    5acb47f View commit details
    Browse the repository at this point in the history
  4. auth/cephx: process formatter dump more tenderly

    E.g., if there is no secrets, we don't open a session and
    leave it haning after returning.
    
    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jun 7, 2016
    Copy the full SHA
    9eab1d9 View commit details
    Browse the repository at this point in the history
  5. auth/cephx: fix race condition for build_session_auth_info()

    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jun 7, 2016
    Copy the full SHA
    5ed1514 View commit details
    Browse the repository at this point in the history
  6. auth/cephx: return error if we are unable to decode rotate-key

    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jun 7, 2016
    Copy the full SHA
    3655b00 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2016

  1. auth/cephx: kill dead code

    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jun 12, 2016
    Copy the full SHA
    b8af5f7 View commit details
    Browse the repository at this point in the history
  2. mon/AuthMonitor: fix assert of version

    Version shall always be greater than keys_ver below here,
    otherwise the prior code logic shall prevent us from going
    this far.
    
    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jun 12, 2016
    Copy the full SHA
    39f26f8 View commit details
    Browse the repository at this point in the history