[LU-15142] LCTL: permanent parameter deletion and llog_print issues Created: 21/Oct/21  Updated: 12/Jun/23  Resolved: 20/Nov/21

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

Type: Bug Priority: Minor
Reporter: Mikhail Pershin Assignee: Mikhail Pershin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-15706 "lctl pool_destroy" can't work correc... Resolved
is related to LU-16167 lctl llog_print do not print all record Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

There are several issues with LCTL to fix:

  • llog_print params shows all parameters without filtering deleted (i.e having SKIP flag), so its output is confusing and that could be problematic to parse its output correctly due to that
  • it looks like there is parsing bug, so command like that lctl set_param -P -d mdt.lustre-MDT0000.dom_read_open=1 cause setting parameter in form 'mdt.lustre-MDT0000.dom_read_open=111=' instead of deleting dom_read_open fg
  • lctl llog_print cause segfault, so it has issue with correct parameters parsing


 Comments   
Comment by Gerrit Updater [ 22/Oct/21 ]

"Mike Pershin <mpershin@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45332
Subject: LU-15142 lctl: fixes for set_param -P and llog_print
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e0989a95de09071ca67ccd96487344eae1d2cd79

Comment by Gerrit Updater [ 20/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45332/
Subject: LU-15142 lctl: fixes for set_param -P and llog_print
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2a5b50d207173ca1ac71be8dfc39f98a2773bc3a

Comment by Peter Jones [ 20/Nov/21 ]

Landed for 2.15

Comment by Gerrit Updater [ 11/Feb/22 ]

"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/46511
Subject: LU-15142 lctl: fixes for set_param -P and llog_print
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 9f27f3e74cbd508c402442103eb5bb33eee53163

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