== sanity-sec test 61: Nodemap enforces read-only mount == 04:46:49 (1788166009) affected facets: mds1 oleg655-server: oleg655-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0000.recovery_status 1475 oleg655-server: *.lustre-MDT0000.recovery_status status: INACTIVE affected facets: mds2 oleg655-server: oleg655-server.virtnet: executing _wait_recovery_complete *.lustre-MDT0001.recovery_status 1475 oleg655-server: *.lustre-MDT0001.recovery_status status: INACTIVE 192.168.206.155@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 oleg655-client.virtnet /mnt/lustre (opts:) oleg655-server: error: nodemap 'c0' does not exist oleg655-server: nodemap_del: Invalid argument pdsh@oleg655-client: oleg655-server: ssh exited with exit code 1 On MGS 192.168.206.155, active = nodemap.active=1 Starting client oleg655-client.virtnet: -o user_xattr,flock,rw 192.168.206.155@tcp:/lustre /mnt/lustre Mount client oleg655-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.206.155@tcp:/lustre /mnt/lustre Started clients oleg655-client.virtnet: 192.168.206.155@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.206.155@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 oleg655-client.virtnet /mnt/lustre (opts:) On MGS 192.168.206.155, c0.readonly_mount = nodemap.c0.readonly_mount=1 Starting client oleg655-client.virtnet: -o user_xattr,flock 192.168.206.155@tcp:/lustre /mnt/lustre Mount client oleg655-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.206.155@tcp:/lustre /mnt/lustre Started clients oleg655-client.virtnet: 192.168.206.155@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 7246: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.206.155@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 oleg655-client.virtnet /mnt/lustre (opts:) Starting client oleg655-client.virtnet: -o user_xattr,flock,rw 192.168.206.155@tcp:/lustre /mnt/lustre Mount client oleg655-client.virtnet: mount -t lustre -o user_xattr,flock,rw 192.168.206.155@tcp:/lustre /mnt/lustre Started clients oleg655-client.virtnet: 192.168.206.155@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 7255: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.206.155@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 oleg655-client.virtnet /mnt/lustre (opts:) Starting client oleg655-client.virtnet: -o user_xattr,flock,ro 192.168.206.155@tcp:/lustre /mnt/lustre Mount client oleg655-client.virtnet: mount -t lustre -o user_xattr,flock,ro 192.168.206.155@tcp:/lustre /mnt/lustre Started clients oleg655-client.virtnet: 192.168.206.155@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 7263: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.206.155@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 oleg655-client.virtnet /mnt/lustre (opts:) Starting client oleg655-client.virtnet: -o user_xattr,flock 192.168.206.155@tcp:/lustre /mnt/lustre Mount client oleg655-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.206.155@tcp:/lustre /mnt/lustre Started clients oleg655-client.virtnet: 192.168.206.155@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.206.155@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 7273: /mnt/lustre/d61.sanity-sec/f61.sanity-sec: Read-only file system 192.168.206.155@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 oleg655-client.virtnet /mnt/lustre (opts:) On MGS 192.168.206.155, active = nodemap.active=0 Starting client: oleg655-client.virtnet: -o user_xattr,flock 192.168.206.155@tcp:/lustre /mnt/lustre