Project

General

Profile

action #69406

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

Added by oorlov about 1 year ago. Updated 12 months 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

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

History

#1 Updated by oorlov about 1 year ago

  • Description updated (diff)

#2 Updated by riafarov about 1 year ago

  • Target version set to SLE 15 SP3

#3 Updated by riafarov about 1 year 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

#4 Updated by JRivrain about 1 year ago

  • Assignee set to JRivrain

#5 Updated by JRivrain about 1 year ago

  • Status changed from Workable to In Progress

#6 Updated by JRivrain about 1 year 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.

#7 Updated by JRivrain about 1 year 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.

#8 Updated by riafarov about 1 year 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.

#9 Updated by riafarov about 1 year ago

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

#10 Updated by riafarov about 1 year ago

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

#11 Updated by riafarov about 1 year ago

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

#12 Updated by riafarov about 1 year 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.

#13 Updated by riafarov about 1 year ago

  • Project changed from openQA Tests to qe-yast
  • Category deleted (Spike/Research)

#14 Updated by riafarov about 1 year ago

  • Due date deleted (2020-10-06)

#15 Updated by riafarov 12 months ago

  • Status changed from Workable to In Progress

#16 Updated by riafarov 12 months ago

  • Assignee set to riafarov

#17 Updated by riafarov 12 months 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.

#18 Updated by riafarov 12 months 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.

#19 Updated by riafarov 12 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF