== conf-sanity test 57e: servicenode policy overrides self grouping ========================================================== 19:00:42 (1788908442) umount lustre on /mnt/lustre..... stop ost1 service on oleg339-server stop mds service on oleg339-server LNET unconfigure error 22: Invalid argument unloading modules via unload_modules_local on: 'oleg339-server' oleg339-server: oleg339-server.virtnet: executing unload_modules_local oleg339-server: oleg339-server: LNET unconfigure error 22: Invalid argument modules unloaded. setmodopts: MODOPTS_PTLRPC=lbug_on_grant_miscount=1 setmodopts: MODOPTS_PTLRPC=lbug_on_grant_miscount=1 target_nid_policy=servicenode setmodopts: MODOPTS_LNET= lnet_self_nets=tcp,tcp1 SERVICENODE DEBUG: setup base_policy=self servicenode_policy=enabled SERVICENODE DEBUG: before load MODOPTS_PTLRPC='lbug_on_grant_miscount=1 target_nid_policy=servicenode' SERVICENODE DEBUG: before load MODOPTS_LNET=' lnet_self_nets=tcp,tcp1' /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs MODOPTS_LIBCFS= Force libcfs to create 2 CPU partitions ../libcfs/libcfs/libcfs options: 'cpu_npartitions=2' ../lnet/lnet/lnet options: 'lnet_self_nets=tcp,tcp1' ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1 target_nid_policy=servicenode' quota/lquota options: 'hash_lqs_cur_bits=3' mdt/mdt options: 'mdt_enable_flr_ec=1' ln: failed to create symbolic link '/sbin/.libs': Read-only file system loading modules on: 'oleg339-server' oleg339-server: oleg339-server.virtnet: executing load_modules_local oleg339-server: Loading modules from /home/green/git/lustre-release/lustre oleg339-server: /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy oleg339-server: detected 4 online CPUs by sysfs oleg339-server: MODOPTS_LIBCFS= oleg339-server: Force libcfs to create 2 CPU partitions oleg339-server: ../lnet/lnet/lnet options: 'lnet_self_nets=tcp,tcp1' oleg339-server: ptlrpc/ptlrpc options: 'lbug_on_grant_miscount=1 target_nid_policy=servicenode' oleg339-server: quota/lquota options: 'hash_lqs_cur_bits=3' oleg339-server: mdt/mdt options: 'mdt_enable_flr_ec=1' SERVICENODE DEBUG: modules loaded oleg339-server: oleg339-server: tunefs.lustre FATAL: Device lustre-mdt1/mdt1 has not been formatted with mkfs.lustre oleg339-server: tunefs.lustre: exiting with 19 (No such device) pdsh@oleg339-client: oleg339-server: ssh exited with exit code 19 oleg339-server: oleg339-server: tunefs.lustre FATAL: Device lustre-ost1/ost1 has not been formatted with mkfs.lustre oleg339-server: tunefs.lustre: exiting with 19 (No such device) pdsh@oleg339-client: oleg339-server: ssh exited with exit code 19 oleg339-server: oleg339-server: tunefs.lustre FATAL: Device lustre-ost2/ost2 has not been formatted with mkfs.lustre oleg339-server: tunefs.lustre: exiting with 19 (No such device) pdsh@oleg339-client: oleg339-server: ssh exited with exit code 19 tunefs.lustre failed, reformatting instead Stopping clients: oleg339-client.virtnet /mnt/lustre (opts:-f) Stopping clients: oleg339-client.virtnet /mnt/lustre2 (opts:-f) oleg339-server: oleg339-server.virtnet: executing set_hostid /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs MODOPTS_LIBCFS= Force libcfs to create 2 CPU partitions loading modules on: 'oleg339-server' oleg339-server: oleg339-server.virtnet: executing load_modules_local oleg339-server: Loading modules from /home/green/git/lustre-release/lustre oleg339-server: /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1048: echo: write error: Device or resource busy oleg339-server: detected 4 online CPUs by sysfs oleg339-server: MODOPTS_LIBCFS= oleg339-server: Force libcfs to create 2 CPU partitions Formatting mgs, mds, osts Format mds1: lustre-mdt1/mdt1 Format ost1: lustre-ost1/ost1 Format ost2: lustre-ost2/ost2 start mds service on oleg339-server Start mds1: mount -t lustre -o localrecov lustre-mdt1/mdt1 /mnt/lustre-mds1 oleg339-server: oleg339-server.virtnet: executing set_default_debug -1 all pdsh@oleg339-client: oleg339-server: ssh exited with exit code 1 Commit the device label on lustre-mdt1/mdt1 Started lustre-MDT0000 oleg339-client.virtnet: executing wait_import_state_mount FULL mdc.lustre-MDT0000-mdc-*.mds_server_uuid 1475 0 start ost1 service on oleg339-server Start ost1: mount -t lustre -o localrecov lustre-ost1/ost1 /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg339-server: oleg339-server.virtnet: executing set_default_debug -1 all pdsh@oleg339-client: oleg339-server: ssh exited with exit code 1 Commit the device label on lustre-ost1/ost1 Started lustre-OST0000 oleg339-client.virtnet: executing wait_import_state_mount (FULL|IDLE) osc.lustre-OST0000-osc-[-0-9a-f]*.ost_server_uuid 1475 0 oleg339-server: oleg339-server.virtnet: executing wait_import_state FULL os[cp].lustre-OST0000-osc-MDT0000.ost_server_uuid 50 oleg339-server: os[cp].lustre-OST0000-osc-MDT0000.ost_server_uuid in FULL state after 0 sec stop ost1 service on oleg339-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg339-server stop mds service on oleg339-server Stopping /mnt/lustre-mds1 (opts:-f) on oleg339-server SERVICENODE DEBUG: writeconf_or_reformat complete oleg339-server: oleg339-server.virtnet: executing lnet_if_list SERVICENODE DEBUG: oss_if='ens2' client_if='ens2' oleg339-server: sh: /usr/sbin/ksocklnd-config: No such file or directory default via 192.168.203.254 dev ens2 192.168.203.0/24 dev ens2 proto kernel scope link src 192.168.203.39 default via 192.168.203.254 dev ens2 192.168.203.0/24 dev ens2 proto kernel scope link src 192.168.203.39 SERVICENODE DEBUG: net=tcp nid='192.168.203.139@tcp' SERVICENODE DEBUG: net=tcp1 nid='192.168.203.139@tcp1' SERVICENODE DEBUG: before temporary target format SERVICENODE DEBUG: HOSTNAME=oleg339-client.virtnet OSS=oleg339-server SERVICENODE DEBUG: MODOPTS_PTLRPC='lbug_on_grant_miscount=1 target_nid_policy=servicenode' SERVICENODE DEBUG: MODOPTS_LNET=' lnet_self_nets=tcp,tcp1' SERVICENODE DEBUG: nets='tcp,tcp1' SERVICENODE DEBUG: nids='192.168.203.139@tcp,192.168.203.139@tcp1' SERVICENODE DEBUG: client LNet configuration net: - net type: lo local NI(s): - nid: 0@lo status: up - net type: tcp local NI(s): - nid: 192.168.203.39@tcp status: up interfaces: 0: ens2 - net type: tcp1 local NI(s): - nid: 192.168.203.39@tcp1 status: up interfaces: 0: ens2 SERVICENODE DEBUG: OSS LNet configuration net: - net type: lo local NI(s): - nid: 0@lo status: up - net type: tcp local NI(s): - nid: 192.168.203.139@tcp status: up interfaces: 0: ens2 - net type: tcp1 local NI(s): - nid: 192.168.203.139@tcp1 status: up interfaces: 0: ens2 peer: - primary nid: 192.168.203.139@tcp Multi-Rail: true peer ni: - nid: 192.168.203.139@tcp state: NA SERVICENODE DEBUG: temporary fsname='sv8022' SERVICENODE DEBUG: temporary OST1 device='lustre-ost1_2/ost1_2' Permanent disk data: Device: lustre-ost1_2/ost1_2 Target: sv8022:OST0000 Index: 0 Lustre FS: sv8022 Mount type: zfs Flags: 0x1062 (OST first_time update no_primnode ) Persistent mount opts: Parameters: mgsnode=192.168.203.139@tcp sys.timeout=20 failover.node=192.168.203.139@tcp,192.168.203.139@tcp1 autodegrade=on mkfs_cmd = zfs create -o canmount=off -o quota=409600000 lustre-ost1_2/ost1_2 xattr=sa dnodesize=auto recordsize=1M compression=off Writing lustre-ost1_2/ost1_2 properties lustre:mgsnode=192.168.203.139@tcp lustre:sys.timeout=20 lustre:failover.node=192.168.203.139@tcp,192.168.203.139@tcp1 lustre:autodegrade=on lustre:version=1 lustre:flags=4194 lustre:index=0 lustre:fsname=sv8022 lustre:svname=sv8022:OST0000 SERVICENODE DEBUG: temporary OST2 device='lustre-ost2_2/ost2_2' Permanent disk data: Device: lustre-ost2_2/ost2_2 Target: sv8022:OST0001 Index: 1 Lustre FS: sv8022 Mount type: zfs Flags: 0x1062 (OST first_time update no_primnode ) Persistent mount opts: Parameters: mgsnode=192.168.203.139@tcp sys.timeout=20 failover.node=192.168.203.139@tcp1 autodegrade=on mkfs_cmd = zfs create -o canmount=off -o quota=409600000 lustre-ost2_2/ost2_2 xattr=sa dnodesize=auto recordsize=1M compression=off Writing lustre-ost2_2/ost2_2 properties lustre:mgsnode=192.168.203.139@tcp lustre:sys.timeout=20 lustre:failover.node=192.168.203.139@tcp1 lustre:autodegrade=on lustre:version=1 lustre:flags=4194 lustre:index=1 lustre:fsname=sv8022 lustre:svname=sv8022:OST0001 SERVICENODE DEBUG: starting MGS/MDT and temporary service-node targets start mds service on oleg339-server Start mds1: mount -t lustre -o localrecov lustre-mdt1/mdt1 /mnt/lustre-mds1 oleg339-server: oleg339-server.virtnet: executing set_default_debug -1 all pdsh@oleg339-client: oleg339-server: ssh exited with exit code 1 Started lustre-MDT0000 oleg339-client.virtnet: executing wait_import_state_mount FULL mdc.lustre-MDT0000-mdc-*.mds_server_uuid 1475 0 Start fs2ost1: mount -t lustre -o localrecov lustre-ost1_2/ost1_2 /mnt/lustre-fs2ost1 seq.cli-sv8022-OST0000-super.width=65536 oleg339-server: oleg339-server.virtnet: executing set_default_debug -1 all pdsh@oleg339-client: oleg339-server: ssh exited with exit code 1 Commit the device label on lustre-ost1_2/ost1_2 Started sv8022-OST0000 oleg339-server: missing pool name argument oleg339-server: usage: oleg339-server: trim [-dw] [-r ] [-c | -s] [ ...] pdsh@oleg339-client: oleg339-server: ssh exited with exit code 2 SERVICENODE DEBUG: after first target startup SERVICENODE DEBUG: HOSTNAME=oleg339-client.virtnet OSS=oleg339-server SERVICENODE DEBUG: MODOPTS_PTLRPC='lbug_on_grant_miscount=1 target_nid_policy=servicenode' SERVICENODE DEBUG: MODOPTS_LNET=' lnet_self_nets=tcp,tcp1' SERVICENODE DEBUG: nets='tcp,tcp1' SERVICENODE DEBUG: nids='192.168.203.139@tcp,192.168.203.139@tcp1' SERVICENODE DEBUG: client LNet configuration net: - net type: lo local NI(s): - nid: 0@lo status: up - net type: tcp local NI(s): - nid: 192.168.203.39@tcp status: up interfaces: 0: ens2 - net type: tcp1 local NI(s): - nid: 192.168.203.39@tcp1 status: up interfaces: 0: ens2 SERVICENODE DEBUG: OSS LNet configuration net: - net type: lo local NI(s): - nid: 0@lo status: up - net type: tcp local NI(s): - nid: 192.168.203.139@tcp status: up interfaces: 0: ens2 - net type: tcp1 local NI(s): - nid: 192.168.203.139@tcp1 status: up interfaces: 0: ens2 peer: - primary nid: 192.168.203.139@tcp Multi-Rail: true peer ni: - nid: 192.168.203.139@tcp state: NA - nid: 192.168.203.139@tcp1 state: NA SERVICENODE DEBUG: ping seed=192.168.203.139@tcp present='192.168.203.139@tcp,192.168.203.139@tcp1' absent='' SERVICENODE DEBUG: ping rc=0 ping: - primary nid: 192.168.203.139@tcp Multi-Rail: false peer_ni: - nid: 192.168.203.139@tcp - nid: 192.168.203.139@tcp1 SERVICENODE DEBUG: ping seed=192.168.203.139@tcp1 present='192.168.203.139@tcp,192.168.203.139@tcp1' absent='' SERVICENODE DEBUG: ping rc=0 ping: - primary nid: 192.168.203.139@tcp1 Multi-Rail: false peer_ni: - nid: 192.168.203.139@tcp - nid: 192.168.203.139@tcp1 SERVICENODE DEBUG: discover seed=192.168.203.139@tcp present='192.168.203.139@tcp,192.168.203.139@tcp1' absent='' SERVICENODE DEBUG: discover rc=0 discover: - primary nid: 192.168.203.139@tcp Multi-Rail: true peer_ni: - nid: 192.168.203.139@tcp - nid: 192.168.203.139@tcp1 SERVICENODE DEBUG: peer show rc=0 peer: - primary nid: 192.168.203.139@tcp Multi-Rail: true peer ni: - nid: 192.168.203.139@tcp state: NA - nid: 192.168.203.139@tcp1 state: NA SERVICENODE DEBUG: discover seed=192.168.203.139@tcp1 present='192.168.203.139@tcp,192.168.203.139@tcp1' absent='' SERVICENODE DEBUG: discover rc=0 discover: - primary nid: 192.168.203.139@tcp Multi-Rail: true peer_ni: - nid: 192.168.203.139@tcp - nid: 192.168.203.139@tcp1 SERVICENODE DEBUG: peer show rc=0 peer: - primary nid: 192.168.203.139@tcp Multi-Rail: true peer ni: - nid: 192.168.203.139@tcp state: NA - nid: 192.168.203.139@tcp1 state: NA