os-autoinst-distri-opensuse
os-autoinst-distri-opensuse copied to clipboard
Enable persistent and console kernel log
-
Enable console kernel log on kvm system by adding
ignor_loglevel
on kernel command line in host autoyast profile ifENABLE_CONSOLE_KERNEL_LOG=1
. -
Enable console kernel log on xen system by adding
guest_loglvl=all loglvl=all
on kernel command line in host autoyast profile ifENABLE_CONSOLE_KERNEL_LOG=1
. -
Enable persisten kernel log on SLES system by adding
kern.* /var/log/kern.log
in/etc/rsyslog.conf
in host autoyast profile ifENABLE_PERSISTENT_KERNEL_LOG=1
. -
Also provide subroutines
enable_persistent_kernel_log
andenable_console_kernel_log
to enable persistent and console kernel log outside autoyast profies. They can be employed when necessary at any time for convenience. -
Collect persistent kernel log in
data/virt_autotest/virt_logs_collector.sh
. -
Verification Runs:
- 15sp6 on 15sp6 kvm without ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1
- 15sp6 on 15sp6 xen without ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1
- 15sp6 on 12sp5 kvm without ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1
- 15sp6 on 12sp5 xen without ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1
- 15sp6 on 12sp5 kvm passed with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1
- 15sp6 on 12sp5 kvm failed at feature test with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- 15sp6 on 12sp5 xen passed with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1
- 15sp6 on 12sp5 xen failed at guest installation with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- 15sp6 on 15sp6 kvm failed at feature test with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- 15sp6 on 15sp6 xen passed ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1
- 12sp5 on 15sp6 kvm passed with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1
- 12sp5 on 15sp6 xen failed at feature test with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- uefi 15sp6 on 15sp6 kvm failed with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- uefi 15sp6 on 15sp6 xen failed at guest installation with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- uefi 15sp6 on 12sp5 kvm failed at guest installation with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- uefi 15sp6 on 12sp5 xen failed at guest installation with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- uefi 15sp6 on 15sp5 kvm failed at guest installation with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- uefi 15sp6 on 15sp5 xen failed at guest installation with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- host upgrade 15sp5 to 15sp6 kvm failed at step2 with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- host upgrade 15sp5 to 15sp6 xen passed with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1
- host upgrade 12sp5 to 15sp6 xen failed at step3 with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- host upgrade 12sp5 to 15sp6 xen failed at generate_run_file with ENABLE_PERSISTENT_KERNEL_LOG=1 and ENABLE_CONSOLE_KERNEL_LOG=1 kern.log uploaded
- function enable_persistent_kernel_log and enable_console_kernel_log work on 12sp5 kvm
- function enable_persistent_kernel_log and enable_console_kernel_log work on 15sp5 kvm
- function enable_persistent_kernel_log and enable_console_kernel_log work on 15sp6 kvm
- function enable_persistent_kernel_log and enable_console_kernel_log work on 12sp5 xen
- function enable_persistent_kernel_log and enable_console_kernel_log work on 15sp5 xen
- function enable_persistent_kernel_log and enable_console_kernel_log work on 15sp6 xen