[LU-16641] sanity-quota test_12b: @@@@@@ FAIL: create failed, but expect success Created: 15/Mar/23  Updated: 08/Feb/24

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Sergey Cheremencev Assignee: Sergey Cheremencev
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File sanity-quota.test_12b.debug_log.tmp.1707289384.log.bz2    
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

https://testing.whamcloud.com/test_sets/85a19536-4352-412f-8acb-ae027397f9c1
sanity-quota test_12b: @@@@@@ FAIL: create failed, but expect success
Trace dump:
= /usr/lib64/lustre/tests/test-framework.sh:6563:error()
= /usr/lib64/lustre/tests/sanity-quota.sh:162:quota_error()
= /usr/lib64/lustre/tests/sanity-quota.sh:2520:test_12b()
= /usr/lib64/lustre/tests/test-framework.sh:6901:run_one()
= /usr/lib64/lustre/tests/test-framework.sh:6951:run_one_logged()
= /usr/lib64/lustre/tests/test-framework.sh:6787:run_test()
= /usr/lib64/lustre/tests/sanity-quota.sh:2539:main()
 



 Comments   
Comment by Sergey Cheremencev [ 15/Mar/23 ]

I've tried to look into the logs, but they don't include any messages with qmt to understand why it failed. Something should be done to gather more logs and move on.

Comment by Alex Zhuravlev [ 20/Apr/23 ]

00040000:04000000:1.0:1681935526.475721:0:8172:0:(qmt_entry.c:348:qmt_glb_write()) $$$ write glb qmt:lustre-QMT0000 pool:md-0x0 id:60000 enforced:1 hard:2048 soft:0 granted:1536 time:0 qunit: 1024 edquot:1 may_rel:0 revoke:351 default:no

edquot(=1) is never reset due to the following check in qmt_adjust_edquot():

		if (lqe->lqe_hardlimit != 0 &&
		    lqe->lqe_granted + pool->qpi_least_qunit >
							lqe->lqe_hardlimit)
			/* we clear the flag only once at least one least qunit
			 * is available */
			RETURN(false);
Comment by Gerrit Updater [ 20/Apr/23 ]

"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50700
Subject: LU-16641 quota: reset edquot regardless qunit
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cb6fe6db535b87e83685f50d60d09abc568127b7

Comment by Arshad Hussain [ 29/Nov/23 ]

+1 on Master ( https://testing.whamcloud.com/test_sets/f1800098-5c88-4d36-b617-71bd7b665d33)

Comment by Gerrit Updater [ 06/Feb/24 ]

"Sergey Cheremencev <scherementsev@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53939
Subject: LU-16641 tests: remove trace from sanity-quota
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7dfb3cc254bd68795cdaacbe46ce93eb21a69a88

Comment by Gerrit Updater [ 08/Feb/24 ]

"Sergey Cheremencev <scherementsev@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53969
Subject: LU-16641 tests: fix sanity-quota_12b
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 56e1c48e0a135d52f7b1263d7138b93e2738fa02

Generated at Sat Feb 10 03:28:45 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.