-
Notifications
You must be signed in to change notification settings - Fork 168
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
KB: add "Troubleshooting: RWX Volume Fails to Be Attached Caused by Protocol not supported
"
#792
Conversation
✅ Deploy Preview for longhornio ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@derekbit Let me know if the changes work.
|
||
## Symptoms | ||
|
||
RWX volume fails to be attached, and the workload using the volume fails to start with these messages in logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RWX volume fails to be attached, and the workload using the volume fails to start with these messages in logs | |
Attempts to attach an RWX volume are unsuccessful, and the workload using the volume is unable to start. The logs contain the following messages: |
Oct 11 07:42:23 dev-worker-1-autoscaled-small-19baf778f50efd8c k3s[1294]: Output: mount.nfs: Protocol not supported for 10.43.207.185:/pvc-13538170-4278-4467-b2b0-1f1ba6f54a4c on /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/185c34f566c2eca6e8c7c6a2ede2094c076d7d25ddae286dc633eeef80551af0/globalmount | ||
``` | ||
|
||
A RWX volume on a host with OpenSUSE MicroOS from 20231008 to 20231021) and other distros using Linux kernel 6.5.6 hits the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A RWX volume on a host with OpenSUSE MicroOS from 20231008 to 20231021) and other distros using Linux kernel 6.5.6 hits the issue. | |
The issue applies to RWX volumes on hosts running OpenSUSE MicroOS (from 2023/10/08 to 2023/10/21) and other distributions using version 6.5.6 of the Linux kernel. |
|
||
## Reason | ||
|
||
It is a regression of NFS protocol in Linux kernel 6.5.6. As a result, a NFS client fails to connect to a NFS server inside a share-manager pod. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a regression of NFS protocol in Linux kernel 6.5.6. As a result, a NFS client fails to connect to a NFS server inside a share-manager pod. | |
The cause of this issue is a regression of the NFS protocol in Linux kernel 6.5.6. Because of the regression, NFS clients are unable to connect to an NFS server inside a share manager pod. |
1. Upgrade the OS to a newer one with a Linux kernel >= 6.5.7 | ||
2. Downgrade the OS to a older one with a Linux kernel <= 6.5.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Upgrade the OS to a newer one with a Linux kernel >= 6.5.7 | |
2. Downgrade the OS to a older one with a Linux kernel <= 6.5.5 | |
To address the issue, you can perform the following actions: | |
1. Upgrade the operating system to a version using Linux kernel 6.5.7 or later. | |
1. Downgrade the operating system to a version using Linux kernel 6.5.5 or earlier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you @jillian-maroket .
48bc613
to
233cf90
Compare
…Protocol not supported`" Longhorn 6887 Longhorn 6857 Signed-off-by: Derek Su <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
longhorn/longhorn#6887
longhorn/longhorn#6857