[LU-7604] Issues with Kerberos when flushing context or destroying tickets Created: 23/Dec/15  Updated: 01/Jul/16  Resolved: 06/Jan/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.8.0
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Major
Reporter: Sebastien Buisson (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When running sanity-krb5.sh test script, several errors are due to a problem with handling of context flush or ticket destroy by Lustre code.

It appears that the behavior of request_key kernel function has changed from RHEL6/CentOS6 to RHEL7/CentOS7. With recent versions, a key is no longer returned if it is not usable (like revoked). This new behavior does not please Lustre expectations, and lead to the impossibility to access the Lustre file system.

Of course Lustre code has to be changed to comply with fixed request_key kernel function.
I will submit a patch to address this problem.

Sebastien.



 Comments   
Comment by Gerrit Updater [ 23/Dec/15 ]

Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: http://review.whamcloud.com/17721
Subject: LU-7604 gss: handle revoked keys properly
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e2851b6987f6cb67ccd4f14e64c00541b182ee9c

Comment by Sebastien Buisson (Inactive) [ 23/Dec/15 ]

Hi,

Patch has been submitted here:
http://review.whamcloud.com/17721

Thanks,
Sebastien.

Comment by Peter Jones [ 23/Dec/15 ]

Thanks Sebastien. We'll check this patch out and see about including it in 2.8.

James

Could you please try out this patch to see if it works in your own testing?

Thanks

Peter

Comment by James Nunez (Inactive) [ 05/Jan/16 ]

I've verified that this patch allows sanity-krb5 to run.

Comment by Gerrit Updater [ 06/Jan/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17721/
Subject: LU-7604 gss: handle revoked keys properly
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: fa4646291c7059597bd5d682f0c6c89b65ecf97e

Comment by James Nunez (Inactive) [ 06/Jan/16 ]

This patch has landed for Lustre 2.8.0

Generated at Sat Feb 10 02:10:20 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.