Re: OpenAFS 1.8.X token problems

Mark Vitale <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.general
Message-ID <[email protected]>
Florian,

> On May 22, 2019, at 8:00 PM, Mark Vitale <[email protected]> wrote:
> 
> I've begun working on a fix and will notify you when it's available on gerrit.openafs.org for review.

I ended up with three patches:

remote:   https://gerrit.openafs.org/13597 pioctl: limit fruitless token searches
remote:   https://gerrit.openafs.org/13598 auth: eliminate pointless retries in ktc_ListTokensEx
remote:   https://gerrit.openafs.org/13599 auth: make PGetTokens2 work with 3-char cellnames

Strictly speaking, you should only need the last one (13599) to resolve your symptoms.  The second patch (13598) eliminates all the extra pioctl executions seen in your strace.  The first patch (13597) is a small optimization.  If you are willing and able, please try out 13599 (at least) on your cell and post your results on the gerrit review.  Just be aware that these are draft submissions and are likely to change in response to review feedback.
 
https://gerrit.openafs.org/13597 pioctl: limit fruitless token searches   
https://gerrit.openafs.org/13598 auth: eliminate pointless retries in ktc_ListTokensEx
https://gerrit.openafs.org/13599 auth: make PGetTokens2 work with 3-char cellnames

I also need to correct one mistake in my initial characterization of the problem.  The strace ioctl arguments do NOT display the pioctl number, and the new token interface was never falling back to the old interface.  All the problems were in the new (1.8.x) interface.

Thanks,
--
Mark Vitale
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.