Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-133018 / 25.04 / Fix up test to match reality of NFS client reporting. #15244

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

mgrimesix
Copy link
Contributor

@mgrimesix mgrimesix commented Dec 19, 2024

NFS client reporting is not terribly deterministic.

NFSv3 client info can be found in /var/db/system/nfs/rmtab and in ss output. The info in rmtab is notoriously inaccurate in that it's updated by the client via mount and umount commands. Since we currently do no clear rmtab this nearly always results in stale entries. See https://ixsystems.atlassian.net/browse/NAS-131762

NFSv4 clients are connection based, but they use a periodic refresh to remind the server of their presence and there is a call back to notify 'attached' clients. Thus, after an NFS server start it can take a second or two for all the clients to report their
status.

Passing test here: http://jenkins.eng.ixsystems.net:8080/job/tests/job/api_tests/2337/

@bugclerk bugclerk changed the title Fix up test to match reality of NFS client reporting. NAS-133018 / 25.04 / Fix up test to match reality of NFS client reporting. Dec 19, 2024
@bugclerk
Copy link
Contributor

@mgrimesix mgrimesix requested a review from a team December 19, 2024 22:23
@mgrimesix mgrimesix merged commit ae1daeb into master Dec 19, 2024
2 checks passed
@mgrimesix mgrimesix deleted the NAS-133018 branch December 19, 2024 22:52
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants