== sanity-sec test 61: Nodemap enforces read-only mount == 11:19:40 (1789053580) affected facets: mds1 oleg121-server: oleg121-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0000.recovery_status 1475 oleg121-server: *.lustre-MDT0000.recovery_status status: INACTIVE affected facets: mds2 oleg121-server: oleg121-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0001.recovery_status 1475 oleg121-server: *.lustre-MDT0001.recovery_status status: INACTIVE 192.168.201.121@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 oleg121-client.virtnet /mnt/lustre (opts:) oleg121-server: error: nodemap 'c0' does not exist oleg121-server: nodemap_del: Invalid argument pdsh@oleg121-client: oleg121-server: ssh exited with exit code 1 On MGS 192.168.201.121, active = nodemap.active=1 Starting client oleg121-client.virtnet: -o user_xattr,flock,rw 192.168.201.121@tcp:/lustre /mnt/lustre Mount client oleg121-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.201.121@tcp:/lustre /mnt/lustre Started clients oleg121-client.virtnet: 192.168.201.121@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) 192.168.201.121@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 oleg121-client.virtnet /mnt/lustre (opts:) On MGS 192.168.201.121, c0.readonly_mount = nodemap.c0.readonly_mount=1 Starting client oleg121-client.virtnet: -o user_xattr,flock 192.168.201.121@tcp:/lustre /mnt/lustre Mount client oleg121-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.201.121@tcp:/lustre /mnt/lustre Started clients oleg121-client.virtnet: 192.168.201.121@tcp:/lustre on /mnt/lustre type lustre (ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) a /home/green/git/lustre-release/lustre/tests/sanity-sec.sh: line 7265: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.201.121@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg121-client.virtnet /mnt/lustre (opts:) Starting client oleg121-client.virtnet: -o user_xattr,flock,rw 192.168.201.121@tcp:/lustre /mnt/lustre Mount client oleg121-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.201.121@tcp:/lustre /mnt/lustre Started clients oleg121-client.virtnet: 192.168.201.121@tcp:/lustre on /mnt/lustre type lustre (ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) a /home/green/git/lustre-release/lustre/tests/sanity-sec.sh: line 7274: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.201.121@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg121-client.virtnet /mnt/lustre (opts:) Starting client oleg121-client.virtnet: -o user_xattr,flock,ro 192.168.201.121@tcp:/lustre /mnt/lustre Mount client oleg121-client.virtnet: mount -t lustre -o user_xattr,flock,ro 192.168.201.121@tcp:/lustre /mnt/lustre Started clients oleg121-client.virtnet: 192.168.201.121@tcp:/lustre on /mnt/lustre type lustre (ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) a /home/green/git/lustre-release/lustre/tests/sanity-sec.sh: line 7282: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.201.121@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg121-client.virtnet /mnt/lustre (opts:) Starting client oleg121-client.virtnet: -o user_xattr,flock 192.168.201.121@tcp:/lustre /mnt/lustre Mount client oleg121-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.201.121@tcp:/lustre /mnt/lustre Started clients oleg121-client.virtnet: 192.168.201.121@tcp:/lustre on /mnt/lustre type lustre (ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) 192.168.201.121@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose 0 0 a /home/green/git/lustre-release/lustre/tests/sanity-sec.sh: line 7292: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.201.121@tcp:/lustre /mnt/lustre lustre ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose 0 0 Stopping client oleg121-client.virtnet /mnt/lustre (opts:) On MGS 192.168.201.121, active = nodemap.active=0 Starting client: oleg121-client.virtnet: -o user_xattr,flock 192.168.201.121@tcp:/lustre /mnt/lustre