[PATCH v2 5/8] workflows: fstests: fix incorrect pNFS export configuration

Chuck Lever <[email protected]> Fri, 3 Oct 2025 16:19:53 -0400
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
From: Luis Chamberlain <[email protected]>

The fstests role was incorrectly setting export_pnfs=true for pNFS
test sections. The kernel pNFS export option requires proper block
layout backend configuration (like iSCSI targets) which isn't present.

Regular NFSv4.1/4.2 testing doesn't need this option. The incorrect
configuration caused NFS server lockd failures and made NFS mounts
hang indefinitely.

Generated-by: Claude AI
Signed-off-by: Luis Chamberlain <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
---
 playbooks/roles/fstests/tasks/main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/playbooks/roles/fstests/tasks/main.yml b/playbooks/roles/fstests/tasks/main.yml
index c3dcecf538b8..f0fbcda48345 100644
--- a/playbooks/roles/fstests/tasks/main.yml
+++ b/playbooks/roles/fstests/tasks/main.yml
@@ -758,7 +758,7 @@
     export_options: "{{ nfsd_export_options }}"
     export_fstype: "{{ fstests_nfs_export_fstype }}"
     export_size: 20g
-    export_pnfs: "{{ fstests_nfs_section_pnfs | bool }}"
+    export_pnfs: false
   when:
     - fstests_fstyp == "nfs"
     - fstests_nfs_use_kdevops_nfsd|bool
@@ -772,7 +772,7 @@
     export_options: "{{ nfsd_export_options }}"
     export_fstype: "{{ fstests_nfs_export_fstype }}"
     export_size: 30g
-    export_pnfs: "{{ fstests_nfs_section_pnfs | bool }}"
+    export_pnfs: false
   when:
     - fstests_fstyp == "nfs"
     - fstests_nfs_use_kdevops_nfsd|bool
-- 
2.51.0