Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-14151

GSS context initialization fails on RHEL8.2 client

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • 3
    • 9223372036854775807

    Description

      When running Lustre client on RHEL8.2, Kerberos authentication can fail with the following message:

      LustreError: 323835:0:(gss_crypto.c:68:gss_keyblock_init()) failed to allocate tfm: cbc(aes), mode 0: rc = -2
      

      Problem stems from the fact that in RHEL8.2 (and Ubuntu 18.04 and possibly newer distros, as it depends on the kernel), the cbc(aes) crypto engine's type is now skcipher. In previous distros like RHEL7, type is blkcipher. This type has an impact on the primitive to call from Lustre in order to allocate an associated cipher handle.

      Attachments

        Issue Links

          Activity

            [LU-14151] GSS context initialization fails on RHEL8.2 client

            Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/40997
            Subject: LU-14151 gss: use skcipher when sync_skcipher not available
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 23d6fb2a7bb394b3981b540cf376007851cfcd36

            gerrit Gerrit Updater added a comment - Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/40997 Subject: LU-14151 gss: use skcipher when sync_skcipher not available Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 23d6fb2a7bb394b3981b540cf376007851cfcd36
            pjones Peter Jones added a comment -

            Landed for 2.14

            pjones Peter Jones added a comment - Landed for 2.14

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40768/
            Subject: LU-14151 gss: use skcipher when sync_skcipher not available
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b6eb0c84a3e8ada2dff1d32a3b8bcf80e6ebd246

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40768/ Subject: LU-14151 gss: use skcipher when sync_skcipher not available Project: fs/lustre-release Branch: master Current Patch Set: Commit: b6eb0c84a3e8ada2dff1d32a3b8bcf80e6ebd246

            Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/40768
            Subject: LU-14151 gss: use skcipher when sync_skcipher not available
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 614d01296f043bbef9c5782e9ef37b01e71ca1b7

            gerrit Gerrit Updater added a comment - Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/40768 Subject: LU-14151 gss: use skcipher when sync_skcipher not available Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 614d01296f043bbef9c5782e9ef37b01e71ca1b7

            People

              sebastien Sebastien Buisson
              sebastien Sebastien Buisson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: