== sanity-sec test 81a: nodemap ban list ================= 14:51:05 (1788893465) test_81a 4249 On MGS 192.168.204.101, active = nodemap.active=1 nodemap.c0.exports=[] nodemap.default.exports= [ { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, dev: lustre-OST0001 }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, dev: lustre-OST0000 }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, dev: lustre-MDT0000 }, { nid: 192.168.204.1@tcp, uuid: 77a11528-946f-4284-b2c4-88227768fd76, 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: 050a7921-184f-4f49-b42d-854b719de48e, dev: MGS } ] f81a.sanity-sec hi On MGS 192.168.204.101, 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.101, default.banlist = nodemap.default.banlist=[] On MGS 192.168.204.101, default.banlist = nodemap.default.banlist= [ { id: 2, start_nid: 192.168.204.1@tcp, end_nid: 192.168.204.1@tcp } ] ls: cannot access '/mnt/lustre/d81a.sanity-sec': Operation not permitted cat: /mnt/lustre/d81a.sanity-sec/f81a.sanity-sec: Operation not permitted oleg401-server: error: invalid ioctl: 000ce042 errno: 17: File exists oleg401-server: nodemap_add_range: File exists pdsh@oleg401-client: oleg401-server: ssh exited with exit code 1 oleg401-server: error: nodemap 'c0' does not exist oleg401-server: nodemap_del: Invalid argument pdsh@oleg401-client: oleg401-server: ssh exited with exit code 1 On MGS 192.168.204.101, c0.id = On MGS 192.168.204.101, default.trusted_nodemap = nodemap.default.trusted_nodemap=1 On MGS 192.168.204.101, active = nodemap.active=1 nodemap.c0.exports= [ { nid: 192.168.204.1@tcp, uuid: 77a11528-946f-4284-b2c4-88227768fd76, dev: MGS }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, dev: lustre-MDT0000 }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, dev: lustre-OST0000 }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, 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: 050a7921-184f-4f49-b42d-854b719de48e, dev: MGS } ] f81a.sanity-sec hi oleg401-server: error: invalid ioctl: 000ce068 errno: 22: Invalid argument oleg401-server: nodemap_banlist_add: Invalid argument pdsh@oleg401-client: oleg401-server: ssh exited with exit code 1 oleg401-server: error: invalid ioctl: 000ce068 errno: 22: Invalid argument oleg401-server: nodemap_banlist_add: Invalid argument pdsh@oleg401-client: oleg401-server: ssh exited with exit code 1 On MGS 192.168.204.101, c0.banlist = nodemap.c0.banlist= [ { id: 3, start_nid: 192.168.204.1@tcp, end_nid: 192.168.204.1@tcp } ] On MGS 192.168.204.101, c0.banlist = nodemap.c0.banlist=[] On MGS 192.168.204.101, c0.banlist = nodemap.c0.banlist= [ { id: 4, start_nid: 192.168.204.1@tcp, end_nid: 192.168.204.1@tcp } ] nodemap.c0.exports= [ { nid: 192.168.204.1@tcp, uuid: 77a11528-946f-4284-b2c4-88227768fd76, dev: MGS, banned: true }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, dev: lustre-MDT0000, banned: true }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, dev: lustre-OST0000, banned: true }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, 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: 050a7921-184f-4f49-b42d-854b719de48e, 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.101, c0.banlist = nodemap.c0.banlist=[] nodemap.c0.exports= [ { nid: 192.168.204.1@tcp, uuid: 77a11528-946f-4284-b2c4-88227768fd76, dev: MGS }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, dev: lustre-MDT0000 }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, 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: 050a7921-184f-4f49-b42d-854b719de48e, dev: MGS } ] f81a.sanity-sec hi On MGS 192.168.204.101, c0.banlist = nodemap.c0.banlist= [ { id: 5, start_nid: 192.168.204.1@tcp, end_nid: 192.168.204.1@tcp } ] nodemap.c0.exports= [ { nid: 192.168.204.1@tcp, uuid: 77a11528-946f-4284-b2c4-88227768fd76, dev: MGS, banned: true }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, dev: lustre-MDT0000, banned: true }, { nid: 192.168.204.1@tcp, uuid: 39285bd9-3331-4dcd-8ebc-1baba045a277, 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: 050a7921-184f-4f49-b42d-854b719de48e, dev: MGS } ] 192.168.204.101@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 oleg401-client.virtnet /mnt/lustre (opts:) Starting client oleg401-client.virtnet: -o user_xattr,flock 192.168.204.101@tcp:/lustre /mnt/lustre mount.lustre: mount 192.168.204.101@tcp:/lustre at /mnt/lustre failed: Connection timed out Mount client oleg401-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.101@tcp:/lustre /mnt/lustre On MGS 192.168.204.101, c0.banlist = nodemap.c0.banlist=[] Starting client oleg401-client.virtnet: -o user_xattr,flock 192.168.204.101@tcp:/lustre /mnt/lustre Mount client oleg401-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.101@tcp:/lustre /mnt/lustre Started clients oleg401-client.virtnet: 192.168.204.101@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.1@tcp, uuid: 77a11528-946f-4284-b2c4-88227768fd76, dev: MGS }, { nid: 192.168.204.1@tcp, uuid: 8f8d6c3e-a121-42dd-81cf-dba852d9f1be, dev: MGS }, { nid: 192.168.204.1@tcp, uuid: b5204147-e78c-4c6a-8abd-01600640aa0b, dev: MGS }, { nid: 192.168.204.1@tcp, uuid: 5a20ef27-3e3a-4346-a34b-895841b677a7, dev: lustre-MDT0000 }, { nid: 192.168.204.1@tcp, uuid: 5a20ef27-3e3a-4346-a34b-895841b677a7, dev: lustre-OST0000 }, { nid: 192.168.204.1@tcp, uuid: 5a20ef27-3e3a-4346-a34b-895841b677a7, 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: 050a7921-184f-4f49-b42d-854b719de48e, dev: MGS } ] pdsh@oleg401-client: oleg401-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.101@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 oleg401-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 oleg401-client.virtnet: -o user_xattr,flock 192.168.204.101@tcp:/lustre /mnt/lustre mount.lustre: mount 192.168.204.101@tcp:/lustre at /mnt/lustre failed: Connection timed out Mount client oleg401-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.101@tcp:/lustre /mnt/lustre Starting client oleg401-client.virtnet: -o user_xattr,flock 192.168.204.101@tcp:/lustre /mnt/lustre Mount client oleg401-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.101@tcp:/lustre /mnt/lustre Started clients oleg401-client.virtnet: 192.168.204.101@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.1@tcp, uuid: f17cf0bd-196a-46bd-87d3-885b374e29b1, dev: lustre-OST0000 }, { nid: 192.168.204.1@tcp, uuid: f17cf0bd-196a-46bd-87d3-885b374e29b1, dev: lustre-OST0001 }, { nid: 192.168.204.1@tcp, uuid: f17cf0bd-196a-46bd-87d3-885b374e29b1, dev: lustre-MDT0000 }, { nid: 192.168.204.1@tcp, uuid: 5b7f1100-6917-4000-8a71-d70c27082660, dev: MGS }, { nid: 192.168.204.1@tcp, uuid: a281a7d0-0cce-41ca-a59c-09f7c10c4f80, dev: MGS }, { nid: 192.168.204.1@tcp, uuid: 77a11528-946f-4284-b2c4-88227768fd76, dev: MGS }, { nid: 192.168.204.1@tcp, uuid: 8f8d6c3e-a121-42dd-81cf-dba852d9f1be, dev: MGS }, { nid: 192.168.204.1@tcp, uuid: b5204147-e78c-4c6a-8abd-01600640aa0b, 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: 050a7921-184f-4f49-b42d-854b719de48e, dev: MGS } ] f81a.sanity-sec hi oleg401-server: error: invalid ioctl: 000ce069 errno: 22: Invalid argument oleg401-server: nodemap_banlist_del: Invalid argument pdsh@oleg401-client: oleg401-server: ssh exited with exit code 1 192.168.204.101@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 oleg401-client.virtnet /mnt/lustre (opts:) On MGS 192.168.204.101, active = nodemap.active=0 Starting client: oleg401-client.virtnet: -o user_xattr,flock 192.168.204.101@tcp:/lustre /mnt/lustre