== sanity-sec test 310: verify single user with two mount points with different IAM ========================================================== 23:19:14 (1788751154) debug=+sec debug=+sec mdt.lustre-MDT0000.enable_remote_dir_gid=-1 fail_loc=0x1205 On MGS 192.168.204.133, active = nodemap.active=1 sptlrpc.gssiam.gssiam_upcall=/home/green/git/lustre-release/lustre/utils/gss/l_gssiam_upcall sptlrpc.gssiam_server.gssiam_auth_upcall=/home/green/git/lustre-release/lustre/utils/gss/l_gssiam_auth sptlrpc.gssiam_server.gssiam_flush=-1 sptlrpc.gssiam.gssiam_flush=-1 sptlrpc.gssiam.gssiam_flush=-1 Setting sptlrpc rule: lustre.srpc.flavor.default.cli2mdt=gssiam Setting sptlrpc rule: lustre.srpc.flavor.default.cli2ost=gssiam pdsh@oleg433-client: oleg433-server: ssh exited with exit code 2 checking cli2mdt...found 0/1 gssiam connections checking cli2mdt...found 0/1 gssiam connections checking cli2mdt...found 0/1 gssiam connections checking cli2mdt...found 0/1 gssiam connections checking cli2mdt...found 1/1 gssiam connections Stopping clients: oleg433-client.virtnet /mnt/lustre (opts:) Stopping client oleg433-client.virtnet /mnt/lustre opts: 1. Mount /mnt/lustre with user_principal=mock_gssiam_rw (writable) Starting client oleg433-client.virtnet: -o user_xattr,flock,user_principal=mock_gssiam_rw 192.168.204.133@tcp:/lustre/d310.sanity-sec /mnt/lustre Mount client oleg433-client.virtnet: mount -t lustre -o user_xattr,flock,user_principal=mock_gssiam_rw 192.168.204.133@tcp:/lustre/d310.sanity-sec /mnt/lustre Started clients oleg433-client.virtnet: 192.168.204.133@tcp:/lustre/d310.sanity-sec on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_principal=mock_gssiam_rw,user_xattr,verbose) 2. Mount /mnt/lustre2 with user_principal=mock_gssiam_ro (read-only) Starting client oleg433-client.virtnet: -o user_xattr,flock,user_principal=mock_gssiam_ro 192.168.204.133@tcp:/lustre/d310.sanity-sec /mnt/lustre2 Mount client oleg433-client.virtnet: mount -t lustre -o user_xattr,flock,user_principal=mock_gssiam_ro 192.168.204.133@tcp:/lustre/d310.sanity-sec /mnt/lustre2 Started clients oleg433-client.virtnet: 192.168.204.133@tcp:/lustre/d310.sanity-sec on /mnt/lustre2 type lustre (ro,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_principal=mock_gssiam_ro,user_xattr,verbose) 3. Verify writable access on /mnt/lustre 4. Verify read access on /mnt/lustre2 5. Verify write access is denied on /mnt/lustre2 touch: cannot touch '/mnt/lustre2/test_ro_fail_file': Read-only file system 6. Verify /mnt/lustre remains writable Stopping clients: oleg433-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg433-client.virtnet /mnt/lustre2 opts: Stopping clients: oleg433-client.virtnet /mnt/lustre (opts:) Stopping client oleg433-client.virtnet /mnt/lustre opts: Starting client oleg433-client.virtnet: -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre Mount client oleg433-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre Started clients oleg433-client.virtnet: 192.168.204.133@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) Stopping clients: oleg433-client.virtnet /mnt/lustre2 (opts:) Setting sptlrpc rule: lustre.srpc.flavor.default.cli2ost=null Setting sptlrpc rule: lustre.srpc.flavor.default.cli2mdt=null checking cli2mdt...found 0/1 null connections checking cli2mdt...found 0/1 null connections checking cli2mdt...found 0/1 null connections checking cli2mdt...found 0/1 null connections checking cli2mdt...found 1/1 null connections sptlrpc.gssiam.gssiam_flush=-1 sptlrpc.gssiam.gssiam_flush=-1 sptlrpc.gssiam_server.gssiam_flush=-1 sptlrpc.gssiam_server.gssiam_auth_upcall=/usr/sbin/l_gssiam_auth sptlrpc.gssiam.gssiam_upcall=/usr/sbin/l_gssiam_upcall On MGS 192.168.204.133, active = nodemap.active=0 Stopping clients: oleg433-client.virtnet /mnt/lustre (opts:) Stopping client oleg433-client.virtnet /mnt/lustre opts: Starting client oleg433-client.virtnet: -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre Mount client oleg433-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.204.133@tcp:/lustre /mnt/lustre Started clients oleg433-client.virtnet: 192.168.204.133@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) fail_loc=0