Project

General

Profile

Actions

action #69406

closed

[y][timeboxed:12h] Fix console switching on PowerVM during installation

Added by oorlov over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
SUSE QA - SLE 15 SP3
Start date:
2020-07-28
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Validation for encrypted disk activation was added in scope of poo#68962. The module validate_activation_encrypted_partition was excluded for PowerVM, because while switching to install-shell console, black screen was appeared instead of the right tty console. The module should be enabled for PowerVM as well, so that the issue with the console switching need to be investigated and fixed.

What we need to check what is different in installation/logs_from_installation_system as console switching works fine there.

Acceptance criteria

  1. validate_activation_encrypted_partition is added to schedule/yast/encryption/cryptlvm+activate_existing_spvm.yaml;
  2. The validate_activation_encrypted_partition module is passed on PowerVM.

Related issues 1 (0 open1 closed)

Related to openQA Tests - action #69754: [y][u] tests fail in bootloader_start for ppc64le - PowerVM workers not availableResolvedszarate2020-08-10

Actions
Actions #1

Updated by oorlov over 3 years ago

  • Description updated (diff)
Actions #2

Updated by riafarov over 3 years ago

  • Target version set to SLE 15 SP3
Actions #3

Updated by riafarov over 3 years ago

  • Subject changed from [y] Fix console switching on PowerVM during installation to [y][timeboxed:12h] Fix console switching on PowerVM during installation
  • Description updated (diff)
  • Category changed from Refactor/Code Improvements to Spike/Research
  • Status changed from New to Workable
Actions #4

Updated by JRivrain over 3 years ago

  • Assignee set to JRivrain
Actions #5

Updated by JRivrain over 3 years ago

  • Status changed from Workable to In Progress
Actions #6

Updated by JRivrain over 3 years ago

We just need to use use_ssh_serial_console, then switching works back and forth: https://openqa.suse.de/tests/4529101#step/validate_activation_encrypted_partition/2. Unfortunately the test fails as the device shows as "active" instead of "active and in use" : https://openqa.suse.de/tests/4529102#step/validate_activation_encrypted_partition/6. Trying to figure out what is wrong.

Actions #7

Updated by JRivrain over 3 years ago

  • Status changed from In Progress to Feedback

So as @ybonatakis pointed out, the problem probably comes from this: https://gitlab.com/cryptsetup/cryptsetup/-/blob/master/src/cryptsetup.c#L797
my guess is that cryptsetup is not done crypting the disk from that step https://openqa.suse.de/tests/4536402#step/bootloader_start/37 so if I'm right, just putting the module later may do the trick. However I cannot currently test this due to an outage.
PR that may be used: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10786/files

Putting this in feedback, please re-assign or resolve as I'll be away for a week.

Actions #8

Updated by riafarov over 3 years ago

  • Status changed from Feedback to Blocked

This is blocked now due to overheating in the server room, so machines are staying off still. We use #69754 for tracking, I will add this ticket to related, so we unblock it once servers are running again.

Actions #9

Updated by riafarov over 3 years ago

  • Related to action #69754: [y][u] tests fail in bootloader_start for ppc64le - PowerVM workers not available added
Actions #10

Updated by riafarov over 3 years ago

  • Due date changed from 2020-08-11 to 2020-08-25
Actions #11

Updated by riafarov over 3 years ago

  • Due date changed from 2020-08-25 to 2020-09-22
Actions #12

Updated by riafarov over 3 years ago

  • Due date changed from 2020-09-22 to 2020-10-06
  • Status changed from Blocked to Workable
  • Assignee deleted (JRivrain)

Machines are up and running.

Actions #13

Updated by riafarov over 3 years ago

  • Project changed from openQA Tests to qe-yam
  • Category deleted (Spike/Research)
Actions #14

Updated by riafarov over 3 years ago

  • Due date deleted (2020-10-06)
Actions #15

Updated by riafarov over 3 years ago

  • Status changed from Workable to In Progress
Actions #16

Updated by riafarov over 3 years ago

  • Assignee set to riafarov
Actions #17

Updated by riafarov over 3 years ago

So switching from root console to user and back works fine: https://openqa.suse.de/tests/4940815#
No need for the change, checking methods to use serial console.

Actions #18

Updated by riafarov over 3 years ago

  • Status changed from In Progress to Feedback

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/11350

So what didn't work is switching to install-shell second time, I've fixed that and removed special handling of powerVM for those scenarios.
log-console would not work either, but we don't have cases where it would be called twice without reset of the consoles, but still fixed too.

Actions #19

Updated by riafarov over 3 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF