apport information
** Tags added: apport-collected cloud-image resolute
** Description changed:
On Ubuntu 26.04 with linux 7.0.0-34 and 7.0.0-38, stat()/opendir() on NFSv4.2
mounts intermittently fail with
"Remote I/O error" (EREMOTEIO, 121). The server is NFS-Ganesha (CephFS FSAL)
at manila-nfs.os.wwu.de.
Remounting and rebooting the client do not help. Kernel 6.8 (Ubuntu 24.04)
does not show it. Other sites running
7.x kernels report the same.
Trace (trace-cmd record -e nfs4 -e nfs), first failing GETATTR:
nfs4_xdr_bad_operation: operation=10044, expected=46
nfs4_getattr: error=-121 (EREMOTEIO)
nfs_getattr_exit: error=-121
(see trace-excerpt.txt)
Packet capture (packet-summary.txt): the client sends COMPOUND { SEQUENCE,
PUTFH, GET_DIR_DELEGATION (op 46),
GETATTR }. The server returns result opcode/status 10044 (NFS4ERR_OP_ILLEGAL)
in place of GET_DIR_DELEGATION, the
client reports "bad operation" while decoding the reply, and the whole
GETATTR fails with EREMOTEIO.
The behaviour comes from upstream commit 156b09482933 ("NFS: Request a
directory delegation on ACCESS, CREATE,
and UNLINK"), which is in v6.19 and v7.0. Upstream commit 515af10044f1
("NFSv4: retry GETATTR if GET_DIR_DELEGATION
failed") is in v7.1. Its case list handles NFS4ERR_INVAL, IO,
DIRDELEG_UNAVAIL and NOTDIR, and the existing
-ENOTSUPP/-EOPNOTSUPP case. I could not confirm that it covers a reply of
OP_ILLEGAL, which here shows up as a
decode error (nfs4_xdr_bad_operation). Please check whether it does, or
whether an additional patch is needed.
Workaround: module parameter nfsv4.directory_delegations=N
(/etc/modprobe.d/nfs-dirdeleg.conf:
"options nfsv4 directory_delegations=N"). With it, 10 rounds of "find
-maxdepth 3 -exec stat" over three NFS mounts
gave 0 errors and 0 replies with status 10044 in the capture.
Request: please backport the upstream fix (and a follow-up for
OP_ILLEGAL if needed) to the 26.04 kernel.
Release: Ubuntu 26.04.1 LTS (resolute), package: linux-image-7.0.0-38-generic
7.0.0-38.38 (also 7.0.0-34)
Expected: stat()/opendir() on the NFSv4.2 mounts succeed.
Happened: they intermittently fail with "Remote I/O error" (EREMOTEIO, 121).
+ ---
+ ProblemType: Bug
+ AlsaDevices:
+ total 0
+ crw-rw----+ 1 root audio 116, 1 Oct 24 06:52 seq
+ crw-rw----+ 1 root audio 116, 33 Oct 24 06:52 timer
+ AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
+ ApportVersion: 2.34.1-0ubuntu0.1
+ Architecture: amd64
+ ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
'/dev/snd/timer'] failed with exit code 1:
+ CRDA: N/A
+ CasperMD5CheckResult: unknown
+ CloudArchitecture: x86_64
+ CloudBuildName: server
+ CloudID: configdrive
+ CloudName: configdrive
+ CloudPlatform: configdrive
+ CloudSerial: 20180426.2
+ CloudSubPlatform: config-disk (/dev/sr0)
+ DistroRelease: Ubuntu 26.04
+ Lsusb:
+ Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+ Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet
+ Bus 001 Device 003: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet
+ Lsusb-t:
+ /: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
+ |__ Port 001: Dev 002, If 0, Class=Human Interface Device,
Driver=usbhid, 12M
+ |__ Port 002: Dev 003, If 0, Class=Human Interface Device,
Driver=usbhid, 12M
+ MachineType: OpenStack Foundation OpenStack Nova
+ Package: linux (not installed)
+ PciMultimedia:
+
+ ProcEnviron:
+ LANG=en_US.UTF-8
+ PATH=(custom, no user)
+ SHELL=/bin/bash
+ TERM=linux
+ ProcFB: 0 virtio_gpudrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-38-generic
root=UUID=5de0cac7-17b6-4a0f-8715-54cfaaa0a9a9 ro console=tty1 console=ttyS0
+ ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
+ RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
+ Tags: cloud-image resolute
+ Uname: Linux 7.0.0-38-generic x86_64
+ UpgradeStatus: Upgraded to resolute on 2026-09-29 (26 days ago)
+ UserGroups: N/A
+ _MarkForUpload: True
+ dmi.bios.date: 04/01/2014
+ dmi.bios.release: 0.0
+ dmi.bios.vendor: SeaBIOS
+ dmi.bios.version: 1.17.0-debian-1.17.0-1ubuntu1
+ dmi.chassis.type: 1
+ dmi.chassis.vendor: QEMU
+ dmi.chassis.version: pc-i440fx-10.2
+ dmi.modalias:
dmi:bvnSeaBIOS:bvr1.17.0-debian-1.17.0-1ubuntu1:bd04/01/2014:br0.0:svnOpenStackFoundation:pnOpenStackNova:pvr31.3.1:cvnQEMU:ct1:cvrpc-i440fx-10.2:sku:pfaVirtualMachine:
+ dmi.product.family: Virtual Machine
+ dmi.product.name: OpenStack Nova
+ dmi.product.version: 31.3.1
+ dmi.sys.vendor: OpenStack Foundation
** Attachment added: "CurrentDmesg.txt"
https://bugs.launchpad.net/bugs/2171533/+attachment/6012559/+files/CurrentDmesg.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2171533
Title:
NFSv4 client: stat()/opendir() fail with EREMOTEIO (121) when server
answers GET_DIR_DELEGATION with OP_ILLEGAL (Ganesha)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2171533/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs