== sanity-sec test 61: Nodemap enforces read-only mount == 19:25:47 (1787873147) affected facets: mds1 oleg304-server: oleg304-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0000.recovery_status 1475 oleg304-server: *.lustre-MDT0000.recovery_status status: INACTIVE affected facets: mds2 oleg304-server: oleg304-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0001.recovery_status 1475 oleg304-server: *.lustre-MDT0001.recovery_status status: INACTIVE 192.168.203.104@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 oleg304-client.virtnet /mnt/lustre (opts:) oleg304-server: error: nodemap 'c0' does not exist oleg304-server: nodemap_del: Invalid argument pdsh@oleg304-client: oleg304-server: ssh exited with exit code 1 On MGS 192.168.203.104, active = nodemap.active=1 Starting client oleg304-client.virtnet: -o user_xattr,flock,rw 192.168.203.104@tcp:/lustre /mnt/lustre Mount client oleg304-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.203.104@tcp:/lustre /mnt/lustre Started clients oleg304-client.virtnet: 192.168.203.104@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.104@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 oleg304-client.virtnet /mnt/lustre (opts:) On MGS 192.168.203.104, c0.readonly_mount = nodemap.c0.readonly_mount=1 Starting client oleg304-client.virtnet: -o user_xattr,flock 192.168.203.104@tcp:/lustre /mnt/lustre Mount client oleg304-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.203.104@tcp:/lustre /mnt/lustre Started clients oleg304-client.virtnet: 192.168.203.104@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 7279: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.203.104@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 oleg304-client.virtnet /mnt/lustre (opts:) Starting client oleg304-client.virtnet: -o user_xattr,flock,rw 192.168.203.104@tcp:/lustre /mnt/lustre Mount client oleg304-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.203.104@tcp:/lustre /mnt/lustre Started clients oleg304-client.virtnet: 192.168.203.104@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 7288: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.203.104@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 oleg304-client.virtnet /mnt/lustre (opts:) Starting client oleg304-client.virtnet: -o user_xattr,flock,ro 192.168.203.104@tcp:/lustre /mnt/lustre Mount client oleg304-client.virtnet: mount -t lustre -o user_xattr,flock,ro 192.168.203.104@tcp:/lustre /mnt/lustre Started clients oleg304-client.virtnet: 192.168.203.104@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 7296: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.203.104@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 oleg304-client.virtnet /mnt/lustre (opts:) Starting client oleg304-client.virtnet: -o user_xattr,flock 192.168.203.104@tcp:/lustre /mnt/lustre Mount client oleg304-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.203.104@tcp:/lustre /mnt/lustre Started clients oleg304-client.virtnet: 192.168.203.104@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.104@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 7306: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.203.104@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 oleg304-client.virtnet /mnt/lustre (opts:) On MGS 192.168.203.104, active = nodemap.active=0 Starting client: oleg304-client.virtnet: -o user_xattr,flock 192.168.203.104@tcp:/lustre /mnt/lustre