action #33337
closed
[tools][functional][medium][pvm][u] Implement proper handling of reconnects
Added by nicksinger almost 7 years ago.
Updated over 6 years ago.
Category:
Feature requests
Target version:
SUSE QA (private) - Milestone 18
Description
Motivation¶
The current implementation of the spvm backend cannot handle reconnects after the installation.
This is most likely caused by "install_and_reboot.pm" not using the right console to switch back to the installer. So
use_ssh_serial_console
and/or select_console 'installation'
are potential suspects to look into.
Acceptance criteria¶
AC1: The module install_and_reboot.pm
is able to switch back to the installer to continue the reboot timer
Tasks¶
git clone os-autoinst
to be ready to adapt the backend
- TODO @nicksinger how to conduct a test?
- Due date set to 2017-04-10
- Target version changed from Milestone 18 to Milestone 15
- Start date changed from 2017-08-08 to 2017-04-01
- Due date changed from 2017-04-10 to 2018-04-10
- Start date changed from 2017-04-01 to 2018-04-01
- Subject changed from [tools][functional][medium][pvm] Implement proper handling of reconnects to [tools][functional][medium][pvm][u] Implement proper handling of reconnects
- Description updated (diff)
- Status changed from New to Workable
- Due date changed from 2018-04-10 to 2018-04-24
- Due date deleted (
2018-04-24)
- Assignee deleted (
nicksinger)
- Target version changed from Milestone 15 to Milestone 17
- Due date set to 2018-07-17
- Target version changed from Milestone 17 to Milestone 17
- Target version changed from Milestone 17 to Milestone 18
- Due date changed from 2018-07-17 to 2018-07-31
- Priority changed from Normal to High
Is this already resolved with https://progress.opensuse.org/issues/38513 ?
We do have a testrun that goes beyond reboot_after_installation
: https://openqa.suse.de/tests/1846505
This is done by calling power_action
in reboot_after_installation
which calls prepare_system_shutdown
from lib/utils.pm
.
This function will do:
console('root-ssh')->kill_ssh if check_var('BACKEND', 'ipmi') || check_var('BACKEND', 'spvm');
This seems to properly close the ssh-serial-console connection.
The switch back to the yast screen with its reboot timer is done with this code from reboot_after_installation
:
if (check_var('BACKEND', 'spvm')) {
# this will only work for serial install
select_console 'novalink-ssh', await_console => 0;
assert_screen 'rebootnow';
}
- Status changed from Workable to Resolved
- Assignee set to dheidler
Well, then you solved it, congratulations :)
Also available in: Atom
PDF