[LU-16878] NRS TBF test fail due to hard code use of 500 uid and 500 gid Created: 06/Jun/23  Updated: 01/Aug/23  Resolved: 01/Aug/23

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

Type: Bug Priority: Minor
Reporter: James A Simmons Assignee: James A Simmons
Resolution: Fixed Votes: 0
Labels: None
Environment:

Any environment running maloo test that doesn' t mirror whamcloud setup


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In my testing of NRS I found several TBF failing. Looking at the test I noticed they are hard coded for their uids and gids. My external site security frowns on adding false users. Instead we should be using RUNAS_UID and RUNAS_GID



 Comments   
Comment by Gerrit Updater [ 06/Jun/23 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51238
Subject: LU-16878 tests: use RUNAS_UID / RUNAS_GID for NRS TBF
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4eb4ede910cd588cf11b435c73428bf73c705e9a

Comment by James A Simmons [ 27/Jul/23 ]

oops. Though it landed.

Comment by Gerrit Updater [ 01/Aug/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51238/
Subject: LU-16878 tests: use RUNAS_UID / RUNAS_GID for NRS TBF
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: af4bc11d8e1e45027a3e3de1caaca99e0eda9bff

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