[LU-15548] Interop: sanity-quota test 40b fails with ‘project id expected 2 not 1' Created: 10/Feb/22 Updated: 01/Sep/22 Resolved: 30/Mar/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.15.0 |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | James Nunez (Inactive) | Assignee: | Dongyang Li |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | quota | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
sanity-quota test_40b started failing with ‘project id expected 2 not 1' on January 10, 2022 with 2.14.56.67 servers and 2.14.0 clients with logs at https://testing.whamcloud.com/test_sets/673d6bdc-3a8b-470e-998a-2cfe113ac0a5. On the same day, we see a filure between 2.14.56.67 servers and 2.12.7 clients with logs at https://testing.whamcloud.com/test_sets/e8909fc4-8359-452e-adf8-2c02d8ae09c6. Looking at the suite_log, we see == sanity-quota test 40b: Mv across different project ID ============================================= 05:45:15 (1641793515) CMD: trevis-48vm4 /usr/sbin/lctl get_param -n version 2>/dev/null Waiting for local destroys to complete Creating test directory CMD: trevis-48vm3,trevis-48vm4 lctl set_param fail_val=0 fail_loc=0 fail_val=0 fail_loc=0 fail_val=0 fail_loc=0 lfs project -sp 1 /mnt/lustre/d40b.sanity-quota/dir1 lfs project -sp 2 /mnt/lustre/d40b.sanity-quota/dir2 sanity-quota test_40b: @@@@@@ FAIL: project id expected 2 not 1 Trace dump: = /usr/lib64/lustre/tests/test-framework.sh:6273:error() = /usr/lib64/lustre/tests/sanity-quota.sh:3489:test_40b() There were a few patches that landed to master on January 6 that modify the quota/project id code: |
| Comments |
| Comment by Peter Jones [ 11/Feb/22 ] |
|
Dongyang Does this seem related to Peter |
| Comment by Dongyang Li [ 14/Feb/22 ] |
|
So the impact is on the old client, if we are moving a file to a different dir, and the src dir has project id inherit xattr set, then the file will retain the old project id after it's in the dest dir. |
| Comment by Andreas Dilger [ 07/Mar/22 ] |
|
Should we have a parameter to disable the project xattr exporting to clients, since I think it will be a case of some users will find this helpful, and other users will not. The virtual xattr should probably be disabled by default for clients, but enabled for ldiskfs. |
| Comment by Gerrit Updater [ 23/Mar/22 ] |
|
"Li Dongyang <dongyangli@ddn.com>" uploaded a new patch: https://review.whamcloud.com/46900 |
| Comment by Gerrit Updater [ 30/Mar/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46900/ |
| Comment by Peter Jones [ 30/Mar/22 ] |
|
Landed for 2.15 |
| Comment by Gerrit Updater [ 05/Aug/22 ] |
|
"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48151 |
| Comment by Gerrit Updater [ 01/Sep/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48151/ |