Skip to content

[Networking] Move NFS lockd and rquotad ports outside the ephemeral ports range.#3153

Draft
gmarciani wants to merge 1 commit intoaws:developfrom
gmarciani:wip/mgiacomo/3160/fix-nfs-failure-0325-1
Draft

[Networking] Move NFS lockd and rquotad ports outside the ephemeral ports range.#3153
gmarciani wants to merge 1 commit intoaws:developfrom
gmarciani:wip/mgiacomo/3160/fix-nfs-failure-0325-1

Conversation

@gmarciani
Copy link
Copy Markdown
Contributor

@gmarciani gmarciani commented Mar 25, 2026

Description of changes

Move NFS lockd and rquotad ports outside the ephemeral ports range.

The upstream NFS cookbook assigns lockd to port 32768 and rquotad to 32769, both inside the Linux ephemeral port range (32768-60999).
During boot, another process can grab these ports via ephemeral allocation before NFS starts, causing EADDRINUSE and cluster creation failure.

In this change, we move lockd to 32763 and rquotad to 32764, which are outside the ephemeral port range and adjacent to the other NFS services (statd 32765, statd_out 32766, mountd 32767) which remain unchanged.

Tests

  • PR checks (added unit test covering the changes).
  • ONGOING test_essential_features on all supported OSs.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@gmarciani gmarciani changed the title [Storage] Fix sporadic NFS server start failure by using dynamic port… [Storage] Fix sporadic NFS server start failure by using dynamic port assignment Mar 25, 2026
@gmarciani gmarciani added the 3.x label Mar 25, 2026
@gmarciani gmarciani force-pushed the wip/mgiacomo/3160/fix-nfs-failure-0325-1 branch from 3061f01 to db267e4 Compare March 31, 2026 20:56
@gmarciani gmarciani changed the title [Storage] Fix sporadic NFS server start failure by using dynamic port assignment [Networking] Move NFS lockd and rquotad ports outside the ephemeral ports range. Mar 31, 2026
…orts range.

The upstream NFS cookbook assigns lockd to port 32768 and rquotad to
32769, both inside the Linux ephemeral port range (32768-60999).
During boot, another process can grab these ports via ephemeral
allocation before NFS starts, causing EADDRINUSE and cluster creation
failure.

In this change, we move lockd to 32763 and rquotad to 32764, which are outside the ephemeral port range and adjacent to the other NFS services (statd 32765, statd_out
32766, mountd 32767) which remain unchanged.
@gmarciani gmarciani force-pushed the wip/mgiacomo/3160/fix-nfs-failure-0325-1 branch from db267e4 to 67e5544 Compare March 31, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant