[LU-9672] gss: fix expiration time of sunrpc cache Created: 15/Jun/17  Updated: 26/Oct/17  Resolved: 16/Oct/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.9.0
Fix Version/s: Lustre 2.11.0, Lustre 2.10.2

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

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

 Description   

Expiration time of sunrpc cache, used for communications between kernel space and user space for GSS credentials negotiation on server side, is misinterpreted.
Downcall and response from user space must provide an epoch time, not a duration. And on kernel side, expiry must always be counted as seconds from boot, as set when retrieved from get_expiry().



 Comments   
Comment by Gerrit Updater [ 15/Jun/17 ]

Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/27667
Subject: LU-9672 gss: fix expiration time of sunrpc cache
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4bfefeba5fe201134ba694632603499c300fefd1

Comment by Peter Jones [ 16/Jun/17 ]

Sebastien

We are just about to go into code freeze and so I have marked this for 2.10.1 rather than 2.10.0. If it is ready before code freeze then it still may land for 2.10. My rationale is that this is an existing issue in 2.9 and so is not a regression in behaviour for gss users upgrading from 2.9.

Peter

Comment by Gerrit Updater [ 16/Oct/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27667/
Subject: LU-9672 gss: fix expiration time of sunrpc cache
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f35425801545e0b47279597983cfbd02e837c45f

Comment by Peter Jones [ 16/Oct/17 ]

Landed for 2.11

Comment by Gerrit Updater [ 16/Oct/17 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29624
Subject: LU-9672 gss: fix expiration time of sunrpc cache
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 456e90f51fc4710f43239a0b9532528b0569cda7

Comment by Gerrit Updater [ 25/Oct/17 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29624/
Subject: LU-9672 gss: fix expiration time of sunrpc cache
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: 7a1cb859d83891c2d7d1a50891cede6bcb1a1106

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