Project

General

Profile

action #50111

Updated by riafarov about 5 years ago

Motivation 
 ---------- 

 Currently There are several cases where we cannot switch to a [install shell](https://openqa.suse.de/tests/2755766#step/installation_overview/3) when we are in an [installation](https://openqa.suse.de/tests/2755766#step/installation_overview/6), however being able to switch to a console can be very useful.  

 In the https://openqa.suse.de/tests/latest?arch=x86_64&flavor=Installer-DVD&distri=sle&test=remote_vnc_controller&version=15-SP1&machine=64bit we have completely wrong setup. 
 In case we want to collect the logs, logs are collected from the image of SLE 12 SP3 instead of SUT, which is wrong and dangerous. 


 Acceptance criteria 
 ------------------- 
 1. Logs can be collected from the SUT in case of MM VNC installation 

 Further details 
 --------------- 

 **This is a change in os_autoinst. select_console is a function in testapi.pm.** 
 The way to swith between consoles is: 
 select_console 'install-shell'; 
 select_console 'installation'; 

 Possible solutions: 
 We can enable ssh on the machine with installation and connect to it to collect logs. 
 Alternative would be to collect logs on the machine where installation is running. 

 In theory is should be possible to switch tty over VNC, but will be tricky in the VM to which we are already connected over VNC. 


Back