[LU-12378] sanity-quota test 1 fails with 'project quota isn't released after deletion' Created: 03/Jun/19  Updated: 26/Jan/24  Resolved: 08/Jan/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.13.0
Fix Version/s: Lustre 2.14.0

Type: Bug Priority: Minor
Reporter: James Nunez (Inactive) Assignee: Wang Shilong (Inactive)
Resolution: Fixed Votes: 0
Labels: DNE, LTS12, tests
Environment:

DNE


Issue Links:
Related
is related to LU-13017 sanity test 56ra fails with ' '/usr/b... Resolved
is related to LU-11885 reset quota setting upon test failed Resolved
is related to LU-13079 ost-pools test_23a: Some errors happe... Resolved
is related to LU-12951 LL_IOC_GETOBDCOUNT return wrong MDT c... Resolved
is related to LU-12444 Remove ambiguous request flag of no_r... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity-quota test_1 fails with 'project quota isn't released after deletion', yet, looking at the client test_log we see an issue with the test

/usr/lib64/lustre/tests/sanity-quota.sh: line 637: [: [0]: integer expression expected

From sanity-quota.sh test 1,

 636         USED=$(getquota -p $TSTPRJID global curspace)
 637         [ $USED -eq 0 ] || quota_error p $TSTPRJID \
 638                 "project quota isn't released after deletion"

We’ve seen two instances of this both for review-dne-part-4 at
https://testing.whamcloud.com/test_sets/4576e976-71e1-11e9-92d8-52540065bddc
https://testing.whamcloud.com/test_sets/eecec5dc-860b-11e9-b8e0-52540065bddc



 Comments   
Comment by James Nunez (Inactive) [ 03/Jun/19 ]

Wang Shilong - would you please look into this issue? You were the last person to make a change to this line is saity-quota test 1.

Thank you

Comment by Gerrit Updater [ 04/Jun/19 ]

Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/35052
Subject: LU-12378 ptlrpc: always reset generation for idle reconnect
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: eb00058619be4b476c401ec6e2f60d4d684ab0f8

Comment by Gerrit Updater [ 14/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35052/
Subject: LU-12378 ptlrpc: always reset generation for idle reconnect
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 94fbe511ba96c0b66770943d3fdb7961183d6436

Comment by Peter Jones [ 14/Dec/19 ]

Landed for 2.14

Comment by Gerrit Updater [ 16/Dec/19 ]

James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37041
Subject: Revert "LU-12378 ptlrpc: always reset generation for idle reconnect". This patch is causing an increase in sanity-quota and ost-pools testing tracked under LU-13079.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 29939c06e7ad23eb17d5490defba3488e968e22a

Comment by Andreas Dilger [ 16/Dec/19 ]

This patch is causing very frequent sanity-quota test_7b failures in autotest since it was landed on 2019-12-14. The patch failed 3x with the same test_7b failure on 2019-11-19 before it landed, and is the only patch that failed this way.

Comment by Wang Shilong (Inactive) [ 08/Jan/20 ]

Andreas, i am supposing the failure is related to LU-12951

Comment by Gerrit Updater [ 12/Feb/21 ]

Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/41499
Subject: LU-12378 ptlrpc: always reset generation for idle reconnect
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: c5f5df32fe3dee9a23879d49be2c1b8be82c00a8

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