[LU-9605] Interop 2.9.0 <-> master conf-sanity test_48: Fail to setfacl for /mnt/lustre/widestripe at 28 Created: 05/Jun/17  Updated: 19/Nov/21  Resolved: 19/Nov/21

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: James Casper Assignee: WC Triage
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

onyx, interop
clients: EL7, master branch, v2.9.58, b3591
servers: EL7, ldiskfs, b2_9 branch, v2.9.0, b22


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

https://testing.hpdd.intel.com/test_sessions/7edef2f0-6d7d-43c9-9d83-ce2b005ae80a

From test_log:

Starting client: onyx-43vm1.onyx.hpdd.intel.com:  -o user_xattr,flock onyx-43vm7@tcp:/lustre /mnt/lustre
CMD: onyx-43vm1.onyx.hpdd.intel.com mkdir -p /mnt/lustre
CMD: onyx-43vm1.onyx.hpdd.intel.com mount -t lustre -o user_xattr,flock onyx-43vm7@tcp:/lustre /mnt/lustre
CMD: onyx-43vm1.onyx.hpdd.intel.com cp /etc/passwd /mnt/lustre/a
CMD: onyx-43vm1.onyx.hpdd.intel.com rm /mnt/lustre/a
CMD: onyx-43vm1.onyx.hpdd.intel.com grep /mnt/lustre' ' /proc/mounts > /dev/null
setup single mount lustre success
/mnt/lustre
stripe_count:  -1 stripe_size:   1048576 stripe_offset: -1
/mnt/lustre/widestripe
lmm_stripe_count:  1
lmm_stripe_size:   1048576
lmm_pattern:       1
lmm_layout_gen:    0
lmm_stripe_offset: 0
	obdidx		 objid		 objid		 group
	     0	            67	         0x43	             0

CMD: onyx-43vm7 /usr/sbin/lctl get_param -n version 2>/dev/null ||
				/usr/sbin/lctl lustre_build_version 2>/dev/null ||
				/usr/sbin/lctl --version 2>/dev/null | cut -d' ' -f2
CMD: onyx-43vm7 dumpe2fs -h /dev/lvm-Role_MDS/P1 2>&1 |
		grep -E -q '(ea_inode|large_xattr)'
It is expected to hold at least 450 ACL entries
setfacl: /mnt/lustre/widestripe: Numerical result out of range
 conf-sanity test_48: @@@@@@ FAIL: Fail to setfacl for /mnt/lustre/widestripe at 28 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:4952:error()
  = /usr/lib64/lustre/tests/conf-sanity.sh:3418:test_48()
  = /usr/lib64/lustre/tests/test-framework.sh:5228:run_one()
  = /usr/lib64/lustre/tests/test-framework.sh:5267:run_one_logged()
  = /usr/lib64/lustre/tests/test-framework.sh:5114:run_test()
  = /usr/lib64/lustre/tests/conf-sanity.sh:3431:main()


 Comments   
Comment by Andreas Dilger [ 06/Jun/17 ]

This is just a bad interaction between wide striping and ACLs both consuming the limited xattr space for ldiskfs/ext4. Not much that can be done about this for ldiskfs, except change the test to reduce the number of stripes on the files to a constant so the test is deterministic, or reduce the number of ACLs created based on the number of stripes on the file.

I would recommend to just create the file with "lfs setstripe -c 1" since the goal of this test is to verify there are no bugs in the ACL code, not on how many stripes are on the file.

Comment by James Nunez (Inactive) [ 19/Nov/21 ]

We haven't seen this test fail in this way in the past year and a half. Let's close this ticket.

If we see this failure again, please open a new ticket.

Generated at Sat Feb 10 02:27:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.