[Bug 1852769] Re: nfs filer hungs while binding nfs filer to docker at first run

sivakumar vaddi 1852769 at bugs.launchpad.net
Fri Nov 15 16:39:38 UTC 2019


uname -a
Linux hydpwlabldtst01 4.15.0-70-generic #79~16.04.1-Ubuntu SMP Tue Nov 12 14:01:10 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1852769

Title:
  nfs filer hungs while binding nfs filer to docker at  first run

Status in nfs-utils package in Ubuntu:
  New

Bug description:
  I am trying to run a command inside docker which uses NFS filer to
  execute command and then exit.

  
  Below command 1 used to create a docker and command 2 to check if the file exists where it hangs until we kill the process.

  1) docker run -d -it --name --mount type=bind,source=/prj/qct,target=/prj/qct,readonly ubuntu
  2) command to check if file exists [ -f /prj/qct/path/path2 ] 

   dpkg -l|grep -i nfs
  ii  liblockfile1:amd64                    1.09-6ubuntu1                              amd64        NFS-safe locking library
  ii  libnfsidmap2:amd64                    0.25-5                                     amd64        NFS idmapping library
  ii  nfs-common                            1:1.2.8-9ubuntu12.2                        amd64        NFS support files common to client and server

  
  :~# tail -f /var/log/syslog
  Nov 15 21:31:58 hydpwlabldtst01 automount[2247]: dev_ioctl_send_fail:499: AUTOFS_DEV_IOCTL_FAIL: error Bad file descriptor
  Nov 15 21:31:58 hydpwlabldtst01 automount[2247]: dev_ioctl_send_fail:499: AUTOFS_DEV_IOCTL_FAIL: error Bad file descriptor
  Nov 15 21:31:58 hydpwlabldtst01 automount[2247]: do_mount_direct: direct trigger not valid or already mounted /prj/qct/asw/SABin
  Nov 15 21:31:58 hydpwlabldtst01 automount[2247]: dev_ioctl_send_ready:444: AUTOFS_DEV_IOCTL_READY: error Bad file descriptor
  Nov 15 21:31:58 hydpwlabldtst01 automount[2247]: dev_ioctl_send_fail:499: AUTOFS_DEV_IOCTL_FAIL: error Bad file descriptor
  Nov 15 21:31:58 hydpwlabldtst01 automount[2247]: do_mount_direct: direct trigger not valid or already mounted /prj/qct/asw/SABin
  Nov 15 21:31:58 hydpwlabldtst01 automount[2247]: dev_ioctl_send_ready:444: AUTOFS_DEV_IOCTL_READY: error Bad file descriptor
  Nov 15 21:31:58 hydpwlabldtst01 automount[2247]: dev_ioctl_send_fail:499: AUTOFS_DEV_IOCTL_FAIL: error Bad file descriptor
  Nov 15 21:31:58 hydpwlabldtst01 automount[2247]: dev_ioctl_send_fail:499: AUTOFS_DEV_IOCTL_FAIL: error Bad file descriptor
  Nov 15 21:35:01 hydpwlabldtst01 CRON[12091]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
  Nov 15 21:39:22 hydpwlabldtst01 gv-passwd-subsystem: Incorrect principal: Running kdestroy
  Nov 15 21:39:22 hydpwlabldtst01 gv-passwd-subsystem: Incorrect principal: Running kdestroy


  The above scenario works fine if I do an ls -l /prj/qct/path/path2 and
  run the above two commands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1852769/+subscriptions



More information about the foundations-bugs mailing list