== sanity-sec test 81a: nodemap ban list ================= 22:47:18 (1788749238) test_81a 29087 On MGS 192.168.204.133, active = nodemap.active=1 nodemap.c0.exports=[] nodemap.default.exports= [ { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-OST0001 }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-OST0000 }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-MDT0000 }, { nid: 192.168.204.33@tcp, uuid: 9f5965b7-b316-4211-9ecc-913e1f57226e, dev: MGS }, { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0001 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0001_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-MDT0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: 0e8f706c-b024-4722-ab1d-d90abdddc706, dev: MGS } ] f81a.sanity-sec hi On MGS 192.168.204.133, default.banlist = nodemap.default.banlist= [ { id: 1, start_nid: 1.1.1.1@tcp999, end_nid: 1.1.1.1@tcp999 } ] On MGS 192.168.204.133, default.banlist = nodemap.default.banlist=[] On MGS 192.168.204.133, default.banlist = nodemap.default.banlist= [ { id: 2, start_nid: 192.168.204.33@tcp, end_nid: 192.168.204.33@tcp } ] ls: cannot access '/mnt/lustre/d81a.sanity-sec': Operation not permitted cat: /mnt/lustre/d81a.sanity-sec/f81a.sanity-sec: Operation not permitted oleg433-server: error: invalid ioctl: 000ce042 errno: 17: File exists oleg433-server: nodemap_add_range: File exists pdsh@oleg433-client: oleg433-server: ssh exited with exit code 1 oleg433-server: error: nodemap 'c0' does not exist oleg433-server: nodemap_del: Invalid argument pdsh@oleg433-client: oleg433-server: ssh exited with exit code 1 On MGS 192.168.204.133, c0.id = On MGS 192.168.204.133, default.trusted_nodemap = nodemap.default.trusted_nodemap=1 On MGS 192.168.204.133, active = nodemap.active=1 nodemap.c0.exports= [ { nid: 192.168.204.33@tcp, uuid: 9f5965b7-b316-4211-9ecc-913e1f57226e, dev: MGS }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-MDT0000 }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-OST0001 } ] nodemap.default.exports= [ { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0001 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0001_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-MDT0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: 0e8f706c-b024-4722-ab1d-d90abdddc706, dev: MGS } ] f81a.sanity-sec hi oleg433-server: error: invalid ioctl: 000ce068 errno: 22: Invalid argument oleg433-server: nodemap_banlist_add: Invalid argument pdsh@oleg433-client: oleg433-server: ssh exited with exit code 1 oleg433-server: error: invalid ioctl: 000ce068 errno: 22: Invalid argument oleg433-server: nodemap_banlist_add: Invalid argument pdsh@oleg433-client: oleg433-server: ssh exited with exit code 1 On MGS 192.168.204.133, c0.banlist = nodemap.c0.banlist= [ { id: 3, start_nid: 192.168.204.33@tcp, end_nid: 192.168.204.33@tcp } ] On MGS 192.168.204.133, c0.banlist = nodemap.c0.banlist=[] On MGS 192.168.204.133, c0.banlist = nodemap.c0.banlist= [ { id: 4, start_nid: 192.168.204.33@tcp, end_nid: 192.168.204.33@tcp } ] nodemap.c0.exports= [ { nid: 192.168.204.33@tcp, uuid: 9f5965b7-b316-4211-9ecc-913e1f57226e, dev: MGS, banned: true }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-MDT0000, banned: true }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-OST0001, banned: true } ] nodemap.default.exports= [ { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0001 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0001_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-MDT0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: 0e8f706c-b024-4722-ab1d-d90abdddc706, dev: MGS } ] ls: cannot access '/mnt/lustre/d81a.sanity-sec': Operation not permitted cat: /mnt/lustre/d81a.sanity-sec/f81a.sanity-sec: Operation not permitted On MGS 192.168.204.133, c0.banlist = nodemap.c0.banlist=[] nodemap.c0.exports= [ { nid: 192.168.204.33@tcp, uuid: 9f5965b7-b316-4211-9ecc-913e1f57226e, dev: MGS }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-MDT0000 }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-OST0001 } ] nodemap.default.exports= [ { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0001 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0001_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-MDT0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: 0e8f706c-b024-4722-ab1d-d90abdddc706, dev: MGS } ] f81a.sanity-sec hi On MGS 192.168.204.133, c0.banlist = nodemap.c0.banlist= [ { id: 5, start_nid: 192.168.204.33@tcp, end_nid: 192.168.204.33@tcp } ] nodemap.c0.exports= [ { nid: 192.168.204.33@tcp, uuid: 9f5965b7-b316-4211-9ecc-913e1f57226e, dev: MGS, banned: true }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-MDT0000, banned: true }, { nid: 192.168.204.33@tcp, uuid: 8a757085-4835-45ed-971f-6ddda8bae544, dev: lustre-OST0001, banned: true } ] nodemap.default.exports= [ { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0001 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0001_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-MDT0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: 0e8f706c-b024-4722-ab1d-d90abdddc706, dev: MGS } ] 192.168.204.133@tcp:/lustre /mnt/lustre lustre rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg433-client.virtnet /mnt/lustre (opts:) Starting client oleg433-client.virtnet: -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre mount.lustre: mount 192.168.204.133@tcp:/lustre at /mnt/lustre failed: Connection timed out Mount client oleg433-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre On MGS 192.168.204.133, c0.banlist = nodemap.c0.banlist=[] Starting client oleg433-client.virtnet: -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre Mount client oleg433-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre Started clients oleg433-client.virtnet: 192.168.204.133@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) f81a.sanity-sec hi nodemap.c0.exports=[] nodemap.c1.exports= [ { nid: 192.168.204.33@tcp, uuid: 9f5965b7-b316-4211-9ecc-913e1f57226e, dev: MGS }, { nid: 192.168.204.33@tcp, uuid: 487df782-b677-4c4a-a323-1d290a154761, dev: MGS }, { nid: 192.168.204.33@tcp, uuid: ec4cad1e-14a2-4437-9509-4dab8ecc9c31, dev: MGS }, { nid: 192.168.204.33@tcp, uuid: a7ba9c13-d26b-4d49-aadb-f5904b49328e, dev: lustre-MDT0000 }, { nid: 192.168.204.33@tcp, uuid: a7ba9c13-d26b-4d49-aadb-f5904b49328e, dev: lustre-OST0000 }, { nid: 192.168.204.33@tcp, uuid: a7ba9c13-d26b-4d49-aadb-f5904b49328e, dev: lustre-OST0001 } ] nodemap.default.exports= [ { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0001 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0001_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-MDT0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: 0e8f706c-b024-4722-ab1d-d90abdddc706, dev: MGS } ] pdsh@oleg433-client: oleg433-server: ssh exited with exit code 1 ls: cannot access '/mnt/lustre/d81a.sanity-sec': Operation not permitted cat: /mnt/lustre/d81a.sanity-sec/f81a.sanity-sec: Operation not permitted 192.168.204.133@tcp:/lustre /mnt/lustre lustre rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg433-client.virtnet /mnt/lustre (opts:) lsof: status error on /mnt/lustre: Operation not permitted lsof 4.93.2 latest revision: https://github.com/lsof-org/lsof latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.8 usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]] [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] Use the ``-h'' option to get more help information. Starting client oleg433-client.virtnet: -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre mount.lustre: mount 192.168.204.133@tcp:/lustre at /mnt/lustre failed: Connection timed out Mount client oleg433-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre Starting client oleg433-client.virtnet: -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre Mount client oleg433-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre Started clients oleg433-client.virtnet: 192.168.204.133@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) nodemap.c0.exports=[] nodemap.c1.exports= [ { nid: 192.168.204.33@tcp, uuid: 6b1d9756-052f-4b77-8abf-886eaefab23c, dev: lustre-OST0001 }, { nid: 192.168.204.33@tcp, uuid: 6b1d9756-052f-4b77-8abf-886eaefab23c, dev: lustre-OST0000 }, { nid: 192.168.204.33@tcp, uuid: 6b1d9756-052f-4b77-8abf-886eaefab23c, dev: lustre-MDT0000 }, { nid: 192.168.204.33@tcp, uuid: 10a22c9b-4ed4-44ce-bdef-46c86b3f2d86, dev: MGS }, { nid: 192.168.204.33@tcp, uuid: 1ac592d9-90e3-4ce3-bbfd-9a434fa6dbb2, dev: MGS }, { nid: 192.168.204.33@tcp, uuid: 9f5965b7-b316-4211-9ecc-913e1f57226e, dev: MGS }, { nid: 192.168.204.33@tcp, uuid: 487df782-b677-4c4a-a323-1d290a154761, dev: MGS }, { nid: 192.168.204.33@tcp, uuid: ec4cad1e-14a2-4437-9509-4dab8ecc9c31, dev: MGS } ] nodemap.default.exports= [ { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0001 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0001_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-mdtlov_UUID, dev: lustre-OST0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-OST0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: lustre-MDT0000-lwp-MDT0000_UUID, dev: lustre-MDT0000 }, { nid: 0@lo, uuid: 0e8f706c-b024-4722-ab1d-d90abdddc706, dev: MGS } ] f81a.sanity-sec hi oleg433-server: error: invalid ioctl: 000ce069 errno: 22: Invalid argument oleg433-server: nodemap_banlist_del: Invalid argument pdsh@oleg433-client: oleg433-server: ssh exited with exit code 1 192.168.204.133@tcp:/lustre /mnt/lustre lustre rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg433-client.virtnet /mnt/lustre (opts:) On MGS 192.168.204.133, active = nodemap.active=0 Starting client: oleg433-client.virtnet: -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre