[LU-12994] sanity test_160a: User not found in changelog_users Created: 21/Nov/19  Updated: 19/Apr/22

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

Type: Bug Priority: Minor
Reporter: Sarah Liu Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File lu-12994.tgz    
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

after rolling upgrade all servers and clients from 2.12.3 to 2.13.0, sanity test_160* failed with following

== sanity test 160a: changelog sanity ================================================================ 05:43:24 (1574142204)
mdd.lustre-MDT0000.changelog_mask=+hsm
Registered 1 changelog users: 'cl35'
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
trevis-60vm2: error: get_param: param_path 'mdd//changelog_users': No such file or directory
 sanity test_160a: @@@@@@ FAIL: User  not found in changelog_users
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6108:error()
  = /usr/lib64/lustre/tests/sanity.sh:13474:test_160a()
  = /usr/lib64/lustre/tests/test-framework.sh:6410:run_one()
  = /usr/lib64/lustre/tests/test-framework.sh:6449:run_one_logged()
  = /usr/lib64/lustre/tests/test-framework.sh:6295:run_test()
  = /usr/lib64/lustre/tests/sanity.sh:13583:main()



 Comments   
Comment by Alena Nikitenko [ 18/Apr/22 ]

I'm seeing the same thing after clear upgrade 2.14 to master (currently 2.15):

== sanity test 160a: changelog sanity ==================== 20:12:02 (1650053522)
mdd.lustre-MDT0000.changelog_mask=+hsm
Registered 1 changelog users: 'cl1'
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
onyx-128vm1: error: get_param: param_path 'mdd//changelog_users': No such file or directory
 sanity test_160a: @@@@@@ FAIL: User  not found in changelog_users
  Trace dump:
  = /lib64/lustre/tests/test-framework.sh:6406:error()
  = /lib64/lustre/tests/sanity.sh:15841:test_160a()
  = /lib64/lustre/tests/test-framework.sh:6723:run_one()
  = /lib64/lustre/tests/test-framework.sh:6770:run_one_logged()
  = /lib64/lustre/tests/test-framework.sh:6611:run_test()
  = /lib64/lustre/tests/sanity.sh:15950:main()
Dumping lctl log to /tmp/test_logs/2022-04-15/190931/sanity.test_160a.*.165005355
24.log
lustre-MDT0000: clear the changelog for cl1 of all records
lustre-MDT0000: Deregistered changelog user #1

UPD. Apparently, in my case the problem was using mds for SINGLEMDS, instead of mds1. With mds1 the 160* set of changelog_user sanity tests worked fine.

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