== sanity-sec test 61: Nodemap enforces read-only mount == 19:52:57 (1786405977) affected facets: mds1 oleg334-server: oleg334-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0000.recovery_status 1475 oleg334-server: *.lustre-MDT0000.recovery_status status: INACTIVE affected facets: mds2 oleg334-server: oleg334-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0001.recovery_status 1475 oleg334-server: *.lustre-MDT0001.recovery_status status: INACTIVE 192.168.203.134@tcp:/lustre /mnt/lustre lustre rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg334-client.virtnet /mnt/lustre (opts:) oleg334-server: error: nodemap 'c0' does not exist oleg334-server: nodemap_del: Invalid argument pdsh@oleg334-client: oleg334-server: ssh exited with exit code 1 On MGS 192.168.203.134, active = nodemap.active=1 Starting client oleg334-client.virtnet: -o user_xattr,flock,rw 192.168.203.134@tcp:/lustre /mnt/lustre Mount client oleg334-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.203.134@tcp:/lustre /mnt/lustre Started clients oleg334-client.virtnet: 192.168.203.134@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) 192.168.203.134@tcp:/lustre /mnt/lustre lustre rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg334-client.virtnet /mnt/lustre (opts:) On MGS 192.168.203.134, c0.readonly_mount = nodemap.c0.readonly_mount=1 Starting client oleg334-client.virtnet: -o user_xattr,flock 192.168.203.134@tcp:/lustre /mnt/lustre Mount client oleg334-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.203.134@tcp:/lustre /mnt/lustre Started clients oleg334-client.virtnet: 192.168.203.134@tcp:/lustre on /mnt/lustre type lustre (ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) a /home/green/git/lustre-release/lustre/tests/sanity-sec.sh: line 7186: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.203.134@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg334-client.virtnet /mnt/lustre (opts:) Starting client oleg334-client.virtnet: -o user_xattr,flock,rw 192.168.203.134@tcp:/lustre /mnt/lustre Mount client oleg334-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.203.134@tcp:/lustre /mnt/lustre Started clients oleg334-client.virtnet: 192.168.203.134@tcp:/lustre on /mnt/lustre type lustre (ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) a /home/green/git/lustre-release/lustre/tests/sanity-sec.sh: line 7195: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.203.134@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg334-client.virtnet /mnt/lustre (opts:) Starting client oleg334-client.virtnet: -o user_xattr,flock,ro 192.168.203.134@tcp:/lustre /mnt/lustre Mount client oleg334-client.virtnet: mount -t lustre -o user_xattr,flock,ro 192.168.203.134@tcp:/lustre /mnt/lustre Started clients oleg334-client.virtnet: 192.168.203.134@tcp:/lustre on /mnt/lustre type lustre (ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) a /home/green/git/lustre-release/lustre/tests/sanity-sec.sh: line 7203: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.203.134@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg334-client.virtnet /mnt/lustre (opts:) Starting client oleg334-client.virtnet: -o user_xattr,flock 192.168.203.134@tcp:/lustre /mnt/lustre Mount client oleg334-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.203.134@tcp:/lustre /mnt/lustre Started clients oleg334-client.virtnet: 192.168.203.134@tcp:/lustre on /mnt/lustre type lustre (ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose) 192.168.203.134@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 a /home/green/git/lustre-release/lustre/tests/sanity-sec.sh: line 7213: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.203.134@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg334-client.virtnet /mnt/lustre (opts:) On MGS 192.168.203.134, active = nodemap.active=0 Starting client: oleg334-client.virtnet: -o user_xattr,flock 192.168.203.134@tcp:/lustre /mnt/lustre