Page MenuHomeClusterLabs Projects

Fix log detection in cts-lab
Open, LowPublic

Assigned To
Authored By
kgaillot
Nov 7 2024, 10:54 AM
Tags
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers

Description

At some point, cts-lab stopped properly detecting log types, and the --logfile journal option was added to work around that. The log type detection works by calling syslog with a magic string then looking for that string in various locations. It worked well in the past, but now it always checks the exerciser's local logfiles first (in case it is a remote log collector), and hangs waiting for a string that never arrives. Possibly a timeout was lost at some point.

Event Timeline

kgaillot created this task.
kgaillot created this object with edit policy "Restricted Project (Project)".

Looking at that old CTS code sure is unpleasant.