== sanity-sec test 305: verify gssiam nodemap lifecycle == 20:50:25 (1788742225) debug=+sec debug=+sec mdt.lustre-MDT0000.enable_remote_dir_gid=-1 fail_loc=0x1205 On MGS 192.168.202.158, active = nodemap.active=1 On MGS 192.168.202.158, default.admin_nodemap = nodemap.default.admin_nodemap=1 On MGS 192.168.202.158, default.trusted_nodemap = nodemap.default.trusted_nodemap=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@oleg258-client: oleg258-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 1/1 gssiam connections Iteration 1: enable gssiam rule Setting sptlrpc rule: lustre.srpc.flavor.default.cli2mdt=gssiam Setting sptlrpc rule: lustre.srpc.flavor.default.cli2ost=gssiam checking cli2mdt...found 1/1 gssiam connections Stopping clients: oleg258-client.virtnet /mnt/lustre (opts:) Stopping client oleg258-client.virtnet /mnt/lustre opts: Starting client oleg258-client.virtnet: -o user_xattr,flock,user_principal=mock_gssiam_rw 192.168.202.158@tcp:/lustre /mnt/lustre Mount client oleg258-client.virtnet: mount -t lustre -o user_xattr,flock,user_principal=mock_gssiam_rw 192.168.202.158@tcp:/lustre /mnt/lustre Started clients oleg258-client.virtnet: 192.168.202.158@tcp:/lustre 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) Iteration 0: delete gssiam nodemap manually (should fail) oleg258-server: error: invalid ioctl: 000ce041 errno: 1: Operation not permitted oleg258-server: nodemap_del: Operation not permitted pdsh@oleg258-client: oleg258-server: ssh exited with exit code 1 Iteration 0: disable gssiam rule Setting sptlrpc rule: lustre.srpc.flavor.default.cli2mdt=null Setting sptlrpc rule: lustre.srpc.flavor.default.cli2ost=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 1/1 null connections Stopping clients: oleg258-client.virtnet /mnt/lustre (opts:) Stopping client oleg258-client.virtnet /mnt/lustre opts: Iteration 3: check if gssiam nodemap is deleted pdsh@oleg258-client: oleg258-server: ssh exited with exit code 1 Starting client oleg258-client.virtnet: -o user_xattr,flock 192.168.202.158@tcp:/lustre /mnt/lustre Mount client oleg258-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.202.158@tcp:/lustre /mnt/lustre Started clients oleg258-client.virtnet: 192.168.202.158@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) Iteration 2: enable gssiam rule Setting sptlrpc rule: lustre.srpc.flavor.default.cli2mdt=gssiam Setting sptlrpc rule: lustre.srpc.flavor.default.cli2ost=gssiam 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: oleg258-client.virtnet /mnt/lustre (opts:) Stopping client oleg258-client.virtnet /mnt/lustre opts: Starting client oleg258-client.virtnet: -o user_xattr,flock,user_principal=mock_gssiam_rw 192.168.202.158@tcp:/lustre /mnt/lustre Mount client oleg258-client.virtnet: mount -t lustre -o user_xattr,flock,user_principal=mock_gssiam_rw 192.168.202.158@tcp:/lustre /mnt/lustre Started clients oleg258-client.virtnet: 192.168.202.158@tcp:/lustre 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) Iteration 4: delete gssiam nodemap manually (should fail) oleg258-server: error: invalid ioctl: 000ce041 errno: 1: Operation not permitted oleg258-server: nodemap_del: Operation not permitted pdsh@oleg258-client: oleg258-server: ssh exited with exit code 1 Iteration 4: disable gssiam rule Setting sptlrpc rule: lustre.srpc.flavor.default.cli2mdt=null Setting sptlrpc rule: lustre.srpc.flavor.default.cli2ost=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 Stopping clients: oleg258-client.virtnet /mnt/lustre (opts:) Stopping client oleg258-client.virtnet /mnt/lustre opts: Iteration 4: check if gssiam nodemap is deleted pdsh@oleg258-client: oleg258-server: ssh exited with exit code 1 Starting client oleg258-client.virtnet: -o user_xattr,flock 192.168.202.158@tcp:/lustre /mnt/lustre Mount client oleg258-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.202.158@tcp:/lustre /mnt/lustre Started clients oleg258-client.virtnet: 192.168.202.158@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) Iteration 3: enable gssiam rule Setting sptlrpc rule: lustre.srpc.flavor.default.cli2mdt=gssiam Setting sptlrpc rule: lustre.srpc.flavor.default.cli2ost=gssiam 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: oleg258-client.virtnet /mnt/lustre (opts:) Stopping client oleg258-client.virtnet /mnt/lustre opts: Starting client oleg258-client.virtnet: -o user_xattr,flock,user_principal=mock_gssiam_rw 192.168.202.158@tcp:/lustre /mnt/lustre Mount client oleg258-client.virtnet: mount -t lustre -o user_xattr,flock,user_principal=mock_gssiam_rw 192.168.202.158@tcp:/lustre /mnt/lustre Started clients oleg258-client.virtnet: 192.168.202.158@tcp:/lustre 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) Iteration 3: delete gssiam nodemap manually (should fail) oleg258-server: error: invalid ioctl: 000ce041 errno: 1: Operation not permitted oleg258-server: nodemap_del: Operation not permitted pdsh@oleg258-client: oleg258-server: ssh exited with exit code 1 Iteration 3: disable gssiam rule Setting sptlrpc rule: lustre.srpc.flavor.default.cli2mdt=null Setting sptlrpc rule: lustre.srpc.flavor.default.cli2ost=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 1/1 null connections Stopping clients: oleg258-client.virtnet /mnt/lustre (opts:) Stopping client oleg258-client.virtnet /mnt/lustre opts: Iteration 3: check if gssiam nodemap is deleted pdsh@oleg258-client: oleg258-server: ssh exited with exit code 1 Starting client oleg258-client.virtnet: -o user_xattr,flock 192.168.202.158@tcp:/lustre /mnt/lustre Mount client oleg258-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.202.158@tcp:/lustre /mnt/lustre Started clients oleg258-client.virtnet: 192.168.202.158@tcp:/lustre on /mnt/lustre type lustre (rw,flock,checksum,encrypt,lazystatfs,lruresize,nolock,statfs_project,nosync_on_close,nouser_fid2path,user_xattr,verbose) Setting sptlrpc rule: lustre.srpc.flavor.default.cli2ost=null Setting sptlrpc rule: lustre.srpc.flavor.default.cli2mdt=null 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.202.158, default.admin_nodemap = nodemap.default.admin_nodemap=0 On MGS 192.168.202.158, default.trusted_nodemap = nodemap.default.trusted_nodemap=0 On MGS 192.168.202.158, active = nodemap.active=0 Stopping clients: oleg258-client.virtnet /mnt/lustre (opts:) Stopping client oleg258-client.virtnet /mnt/lustre opts: Starting client oleg258-client.virtnet: -o user_xattr,flock 192.168.202.158@tcp:/lustre /mnt/lustre Mount client oleg258-client.virtnet: mount -t lustre -o user_xattr,flock 192.168.202.158@tcp:/lustre /mnt/lustre Started clients oleg258-client.virtnet: 192.168.202.158@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