Skip to content

Commit d66aa81

Browse files
committed
fstests: set up iSCSI target on NFS server before test nodes
The iSCSI target service must be running on the NFS server before test nodes attempt to connect as initiators for pNFS block layout testing. Add a play to the fstests playbook that sets up the iSCSI target on the NFS server when pNFS is enabled. This ensures the target is listening on port 3260 before initiators try to discover and connect. Generated-by: Claude AI Signed-off-by: Luis Chamberlain <[email protected]>
1 parent 6b9c1da commit d66aa81

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

playbooks/fstests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
roles:
55
- role: fstests_prep_localhost
66

7+
- name: Set up NFS server with iSCSI target for pNFS
8+
hosts: nfsd
9+
roles:
10+
- role: iscsi
11+
when: fstests_nfs_section_pnfs|default(false)|bool
12+
713
- name: Configure and run the filesystem testing suite workflow
814
hosts: baseline:dev
915
roles:

0 commit comments

Comments
 (0)