[Kernel-packages] [Bug 1946032] Re: NFS client fails to mount with timeout on kernel 5.4.0-1057-aws

2021-10-20 Thread José M . G . Moreira
same behavior has been reproduced in Ubuntu 20, kernel 5.11.0-10-19-aws

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws-5.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1946032

Title:
  NFS client fails to mount with timeout on kernel 5.4.0-1057-aws

Status in linux-aws-5.4 package in Ubuntu:
  Confirmed

Bug description:
  On an Ubuntu 18.04.1 server, I mount AWS EFS filesystems with nfsv4.1
  successfully on ec2 instances.

  Mounts work on kernel version 5.4.0-1056-aws but if i upgrade the
  kernel to 5.4.0-1057-aws the mounts stop working with a network
  timeout, due to port 111 being blocked as its not needed for nfsv4

  Issue started to happen when apt daily automatically upgraded the
  kernel version. I reproduced by rolling back kernel version on the
  same instance and doing mounts successfully, then reverting to newer
  kernel (plus reboot) and getting the network timeout issue.

  Mount command is identical in all cases and follows AWS Documentation

  ```
  sudo mount -t nfs -o 
nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport 
mount-target-DNS:/   ~/efs-mount-point  
  ```

  Could it be a kernel bug or misconfiguration, what can i do ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-aws-5.4/+bug/1946032/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1946032] Re: NFS client fails to mount with timeout on kernel 5.4.0-1057-aws

2021-10-20 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-aws-5.4 (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws-5.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1946032

Title:
  NFS client fails to mount with timeout on kernel 5.4.0-1057-aws

Status in linux-aws-5.4 package in Ubuntu:
  Confirmed

Bug description:
  On an Ubuntu 18.04.1 server, I mount AWS EFS filesystems with nfsv4.1
  successfully on ec2 instances.

  Mounts work on kernel version 5.4.0-1056-aws but if i upgrade the
  kernel to 5.4.0-1057-aws the mounts stop working with a network
  timeout, due to port 111 being blocked as its not needed for nfsv4

  Issue started to happen when apt daily automatically upgraded the
  kernel version. I reproduced by rolling back kernel version on the
  same instance and doing mounts successfully, then reverting to newer
  kernel (plus reboot) and getting the network timeout issue.

  Mount command is identical in all cases and follows AWS Documentation

  ```
  sudo mount -t nfs -o 
nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport 
mount-target-DNS:/   ~/efs-mount-point  
  ```

  Could it be a kernel bug or misconfiguration, what can i do ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-aws-5.4/+bug/1946032/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1946032] Re: NFS client fails to mount with timeout on kernel 5.4.0-1057-aws

2021-10-06 Thread José M . G . Moreira
The crux of the issue seems to be the use of privileged ports, which are
(and should be) blocked by network ACL in our environment:

The functional server instance is using a non-privileged port 56242:
tcp 0 0 10.99.19.46:56242 10.99.16.151:2049 ESTABLISHED

The non-functional server is trying to use a privileged port 978:
116 27.617188   10.99.19.43 10.99.16.151TCP 76  978 → 
2049 [SYN] Seq=0 Win=62727 Len=0 MSS=8961 SACK_PERM=1 TSval=906311050 TSecr=0 
WS=128

As a result, the non-working server is unable to establish a connection with 
EFS to mount. 
This behaviour happens with this kernel version 
(https://launchpad.net/ubuntu/+source/linux-aws/5.4.0-1057.60 only so far): 

It appears that this kernel ignores the "noresvport" mount option.


** Tags added: kernel-bug

** Tags added: bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws-5.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1946032

Title:
  NFS client fails to mount with timeout on kernel 5.4.0-1057-aws

Status in linux-aws-5.4 package in Ubuntu:
  New

Bug description:
  On an Ubuntu 18.04.1 server, I mount AWS EFS filesystems with nfsv4.1
  successfully on ec2 instances.

  Mounts work on kernel version 5.4.0-1056-aws but if i upgrade the
  kernel to 5.4.0-1057-aws the mounts stop working with a network
  timeout, due to port 111 being blocked as its not needed for nfsv4

  Issue started to happen when apt daily automatically upgraded the
  kernel version. I reproduced by rolling back kernel version on the
  same instance and doing mounts successfully, then reverting to newer
  kernel (plus reboot) and getting the network timeout issue.

  Mount command is identical in all cases and follows AWS Documentation

  ```
  sudo mount -t nfs -o 
nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport 
mount-target-DNS:/   ~/efs-mount-point  
  ```

  Could it be a kernel bug or misconfiguration, what can i do ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-aws-5.4/+bug/1946032/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp