Project

General

Profile

Actions

action #91287

closed

yast installation: leverage loghost parameter

Added by lnussel about 3 years ago. Updated about 2 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
2021-04-20
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)

Description

With the loghost parameter of linuxrc (https://en.opensuse.org/SDB:Linuxrc) it's possible to send syslog messages to another host during installation. It does not only log what's actually logged but also sends yast logs and several other files via syslog: https://github.com/openSUSE/installation-images/blob/master/data/initrd/etc/rsyslog.d/logged_files.conf

That means it would be possible to collect log output in openqa live as it happens. So logs would even be available if something unexpectedly crashes during install. The post fail hook and explicit log collection steps could be made superfluous or at least radically simplified as no logs have to be uploaded manually anymore.

Getting syslog packets is rather easy, just open a udp port and listen to it. That can be done in few lines of perl. So the code that spawns qemu could do it. The loghost parameter support ip:port syntax, so each worker instance can have a separate syslog listener.


Subtasks 1 (0 open1 closed)

action #91410: Research on leverage loghost parameterRejected2021-04-20

Actions
Actions

Also available in: Atom PDF