Whamcloud - gitweb
LU-16861 obdfilter: Exclude quotes when getting NIDs 20/53620/9
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Tue, 9 Jan 2024 06:12:57 +0000 (11:42 +0530)
committerOleg Drokin <green@whamcloud.com>
Thu, 18 Jan 2024 06:18:20 +0000 (06:18 +0000)
commitc265e1c7b045bf1f9e5b2919c282b63086929ab6
tree491e2c23ff9ba79d07794dbdb3ab81dff30a1629
parent9c1deba3846437268f2053860bafed2cd6a9b791
LU-16861 obdfilter: Exclude quotes when getting NIDs

In get_targets(), when getting NIDs the quotes were also included.
Exclude quotes when generating NIDs as they are not required.

Use $LCTL instead of $lctl, and make it also work in Janitor testing.

Test-Parameters: trivial testlist=obdfilter-survey
Fixes: 9ef9906d7 ("LU-6863 tests: change obdfilter-survey.sh for CLIENTONLY mode")
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I8642539fc6b396f1339e20e4fef8bc78cda2d969
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53620
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre-iokit/lst-survey/lst.sh
lustre-iokit/mds-survey/mds-survey
lustre-iokit/obdfilter-survey/iokit-libecho
lustre-iokit/obdfilter-survey/obdfilter-survey
lustre/tests/obdfilter-survey.sh