[LU-16187] is_project_quota_supported() calling incorrect lfs option Created: 26/Sep/22  Updated: 11/Apr/23  Resolved: 25/Oct/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0, Lustre 2.15.3

Type: Bug Priority: Trivial
Reporter: Arshad Hussain Assignee: Arshad Hussain
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-16428 cache is_project_supported result Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

is_project_quota_supported() is called from sanity-quota.sh to verify if the ldiskfs FS $ENABLE_PROJECT_QUOTAS is true and to verify if current version of lfs command supports 'project'.  To do this it calls 'lfs --help' which is unfortunately not supported. (note lfs does not support 'dash-dash').  The closest lfs call for this is --list-commands. To verfiy if the present version of lfs supports 'project'



 Comments   
Comment by Gerrit Updater [ 26/Sep/22 ]

"Arshad Hussain <arshad.hussain@aeoncomputing.com>" uploaded a new patch: https://review.whamcloud.com/48654
Subject: LU-16187 tests: Fix is_project_quota_supported()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 010b80316fcd6e6c8c0b5ee31db6982fb48fb1ed

Comment by Gerrit Updater [ 25/Oct/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48654/
Subject: LU-16187 tests: Fix is_project_quota_supported()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d4848d779bb8716c6df2fe5438fbe00997f87f3d

Comment by Peter Jones [ 25/Oct/22 ]

Landed for 2.16

Comment by Gerrit Updater [ 19/Dec/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49449
Subject: LU-16187 tests: Fix is_project_quota_supported()
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: dd0e75ad5585313e5cc67ac4c640909e49394a16

Comment by Gerrit Updater [ 11/Apr/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49449/
Subject: LU-16187 tests: Fix is_project_quota_supported()
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: 7a4ef1363921b067194f6af5a4b79baa6099820a

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