== sanity-sec test 61: Nodemap enforces read-only mount == 07:34:23 (1788867263) affected facets: mds1 oleg352-server: oleg352-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0000.recovery_status 1475 oleg352-server: *.lustre-MDT0000.recovery_status status: INACTIVE affected facets: mds2 oleg352-server: oleg352-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0001.recovery_status 1475 oleg352-server: *.lustre-MDT0001.recovery_status status: INACTIVE 192.168.203.152@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 oleg352-client.virtnet /mnt/lustre (opts:) oleg352-server: error: nodemap 'c0' does not exist oleg352-server: nodemap_del: Invalid argument pdsh@oleg352-client: oleg352-server: ssh exited with exit code 1 On MGS 192.168.203.152, active = nodemap.active=1 Starting client oleg352-client.virtnet: -o user_xattr,flock,rw 192.168.203.152@tcp:/lustre /mnt/lustre Mount client oleg352-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.203.152@tcp:/lustre /mnt/lustre Started clients oleg352-client.virtnet: 192.168.203.152@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.203.152@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 oleg352-client.virtnet /mnt/lustre (opts:) On MGS 192.168.203.152, c0.readonly_mount = nodemap.c0.readonly_mount=1 Starting client oleg352-client.virtnet: -o user_xattr,flock 192.168.203.152@tcp:/lustre /mnt/lustre Mount client oleg352-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.203.152@tcp:/lustre /mnt/lustre Started clients oleg352-client.virtnet: 192.168.203.152@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.203.152@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 oleg352-client.virtnet /mnt/lustre (opts:) Starting client oleg352-client.virtnet: -o user_xattr,flock,rw 192.168.203.152@tcp:/lustre /mnt/lustre Mount client oleg352-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.203.152@tcp:/lustre /mnt/lustre Started clients oleg352-client.virtnet: 192.168.203.152@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.203.152@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 oleg352-client.virtnet /mnt/lustre (opts:) Starting client oleg352-client.virtnet: -o user_xattr,flock,ro 192.168.203.152@tcp:/lustre /mnt/lustre Mount client oleg352-client.virtnet: mount -t lustre -o user_xattr,flock,ro 192.168.203.152@tcp:/lustre /mnt/lustre Started clients oleg352-client.virtnet: 192.168.203.152@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.203.152@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 oleg352-client.virtnet /mnt/lustre (opts:) Starting client oleg352-client.virtnet: -o user_xattr,flock 192.168.203.152@tcp:/lustre /mnt/lustre Mount client oleg352-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.203.152@tcp:/lustre /mnt/lustre Started clients oleg352-client.virtnet: 192.168.203.152@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.203.152@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.203.152@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 oleg352-client.virtnet /mnt/lustre (opts:) On MGS 192.168.203.152, active = nodemap.active=0 Starting client: oleg352-client.virtnet: -o user_xattr,flock 192.168.203.152@tcp:/lustre /mnt/lustre