Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0
    • Lustre 2.7.0
    • 3
    • 17800

    Description

      Hi,

      In current master branch, Kerberos support is not functional. Apart from issue described in LU-3778, a number of areas in the code need to be fixed. The aim of this ticket is to gather information about the patches I made to revive Kerberos support in Lustre.

      Sebastien.

      Attachments

        Issue Links

          Activity

            [LU-6356] Kerberos revival

            Subject: LU-6356 tests: fix sanity-krb5

            Question: Isn't the test still expected to fail when using a combined mgs+mds setup? tgt_connect_check_sptlrpc() has a "== LOLND" check, and if the check is successful the function authorizes usage of any flavour, so the test should not see the expected mds mount failure.

            panda Andrew Perepechko added a comment - Subject: LU-6356 tests: fix sanity-krb5 Question: Isn't the test still expected to fail when using a combined mgs+mds setup? tgt_connect_check_sptlrpc() has a "== LOLND" check, and if the check is successful the function authorizes usage of any flavour, so the test should not see the expected mds mount failure.

            All patches have landed for 2.8.

            jgmitter Joseph Gmitter (Inactive) added a comment - All patches have landed for 2.8.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16124/
            Subject: LU-6356 tgt: add handlers for SEC_CTX_* requests
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b33e22c4b4c6411af51805da21b741367c72ec71

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16124/ Subject: LU-6356 tgt: add handlers for SEC_CTX_* requests Project: fs/lustre-release Branch: master Current Patch Set: Commit: b33e22c4b4c6411af51805da21b741367c72ec71

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15709/
            Subject: LU-6356 tests: add delay in tgt_handle_request0 for ctx init
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3a7d56b3078906f66e59a96f03d1e36fc27c7460

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15709/ Subject: LU-6356 tests: add delay in tgt_handle_request0 for ctx init Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3a7d56b3078906f66e59a96f03d1e36fc27c7460

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15556/
            Subject: LU-6356 tests: fix sanity-krb5
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 6a5963882db22e7516b666b651247e0090767e30

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15556/ Subject: LU-6356 tests: fix sanity-krb5 Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6a5963882db22e7516b666b651247e0090767e30

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15552/
            Subject: LU-6356 sptlrpc: notify OSP and LWP for sptlrpc conf change
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: c27bfc3b78c13a164440f50c5de82aa4493235a9

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15552/ Subject: LU-6356 sptlrpc: notify OSP and LWP for sptlrpc conf change Project: fs/lustre-release Branch: master Current Patch Set: Commit: c27bfc3b78c13a164440f50c5de82aa4493235a9

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15708/
            Subject: LU-6356 ptlrpc: do not switch out-of-date context
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 09e5f8ad23a880cb12fdf521b46a30e1f0a11d03

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15708/ Subject: LU-6356 ptlrpc: do not switch out-of-date context Project: fs/lustre-release Branch: master Current Patch Set: Commit: 09e5f8ad23a880cb12fdf521b46a30e1f0a11d03

            A problem with security context refresh requests has been found during Kerberos tests at IU.
            When the ticket of the client node expires before the ticket of the server nodes, the servers receive a context refresh request for which they have no handler (an export is associated to this request). The context refresh cannot happen, and the client keeps on retrying.

            I have uploaded patch at http://review.whamcloud.com/16124 to address this issue.

            sebastien.buisson Sebastien Buisson (Inactive) added a comment - A problem with security context refresh requests has been found during Kerberos tests at IU. When the ticket of the client node expires before the ticket of the server nodes, the servers receive a context refresh request for which they have no handler (an export is associated to this request). The context refresh cannot happen, and the client keeps on retrying. I have uploaded patch at http://review.whamcloud.com/16124 to address this issue.

            Sebastien Buisson (sebastien.buisson@bull.net) uploaded a new patch: http://review.whamcloud.com/16124
            Subject: LU-6356 tgt: add handlers for SEC_CTX_* requests
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 9fc69454defc3f9fbedf5dcc11af8a4a7c6b4b15

            gerrit Gerrit Updater added a comment - Sebastien Buisson (sebastien.buisson@bull.net) uploaded a new patch: http://review.whamcloud.com/16124 Subject: LU-6356 tgt: add handlers for SEC_CTX_* requests Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 9fc69454defc3f9fbedf5dcc11af8a4a7c6b4b15

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15070/
            Subject: LU-6356 ptlrpc: do not sleep if encpool reached max capacity
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 7571f2b4ef59d8ec42c320e08d346cd9c6447f4b

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15070/ Subject: LU-6356 ptlrpc: do not sleep if encpool reached max capacity Project: fs/lustre-release Branch: master Current Patch Set: Commit: 7571f2b4ef59d8ec42c320e08d346cd9c6447f4b

            People

              dmiter Dmitry Eremin (Inactive)
              sebastien.buisson Sebastien Buisson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: