[PATCH 06/13] fstests: set up iSCSI target on NFS server before test nodes
Luis Chamberlain <[email protected]>
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
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]> --- playbooks/fstests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/fstests.yml b/playbooks/fstests.yml index 193ecdc0..4cb74783 100644 --- a/playbooks/fstests.yml +++ b/playbooks/fstests.yml @@ -4,6 +4,12 @@ roles: - role: fstests_prep_localhost +- name: Set up NFS server with iSCSI target for pNFS + hosts: nfsd + roles: + - role: iscsi + when: fstests_nfs_section_pnfs|default(false)|bool + - name: Configure and run the filesystem testing suite workflow hosts: baseline:dev roles: -- 2.51.0