Project

General

Profile

Actions

action #161189

open

coordination #152769: [epic] Reduction of yaml files in YaST installations

Set default systemd target to text mode for all powerVM installations

Added by leli about 1 month ago. Updated 4 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-05-30
Due date:
% Done:

0%

Estimated time:

Description

Motivation

When unifying our yaml files we noticed that they are always different for ppc64le, so we are forced to have a different file for this architecture.
The installation itself is not really different among architectures, not even in the source code according to developers, what makes it different for this case is how we test powerVM with our QE infrastructure, which is not the same that how IBM does. Therefore we can allow ourselves to hack a bit the installation, so instead of forcing it to be textmode, we can make it a desktop one but boot the system in the way more convenient.

Acceptance criteria

  • AC1: Manual test is provided to see feasibility (set the default target in an installation with desktop module in PowerVM)
  • AC2: Automate with libyui-rest-api "Set Default Systemd Target" screen.
  • AC3: A new test module called "set_systemd_target_textmode" is added under a new hook in the default yaml file for ppc64le.
  • AC4: Mechanism is tested with all test suites running in PowerVM an a list of failure is provided.
  • AC5: Mechanism is applied to all test suite that pass (except one to still keep the default behavior with a textmode test suite) without further code changes in validations, tickets are filed for those.

Additional information

For interactive installation when we have a system with desktop installed, we can change the systemd target at the end of the installation, in "Installation Settings/Default systemd target/Set Default Systemd Target".
Screenshots are taken from x86_64, in AC1 we need to see the effect in power.


Files

set_default_systemd_target.png (27.4 KB) set_default_systemd_target.png JERiveraMoya, 2024-05-30 05:30
warning.png (10.6 KB) warning.png JERiveraMoya, 2024-05-30 05:34
Actions #1

Updated by JERiveraMoya about 1 month ago

  • Tags set to qe-yam-jun-sprint
  • File set_default_systemd_target.png set_default_systemd_target.png added
  • Subject changed from [Research] Force target to multi-user and verify gnome packages existed after installation on ppc64le to Set default systemd target to text mode for all powerVM installations
  • Description updated (diff)
  • Status changed from New to Workable
  • Parent task set to #152769
Actions #2

Updated by JERiveraMoya about 1 month ago

Actions #3

Updated by JERiveraMoya about 1 month ago

  • Description updated (diff)
Actions #4

Updated by JERiveraMoya about 1 month ago

  • Description updated (diff)
Actions #5

Updated by tinawang123 9 days ago

  • Status changed from Workable to In Progress
  • Assignee set to tinawang123
Actions #6

Updated by JERiveraMoya 5 days ago

According to investigation by @tinawang123 seems that the system boots fine just with DESKTOP=textmode without the need to change the systemd target in the UI, but still on-going.

Actions #7

Updated by tinawang123 4 days ago

Set settings:
DESKTOP=textmode
SCC_ADDONS=desktop
SYSTEM_ROLE=gnome

Change the yaml schedule file:
installation/module_registration/skip_module_registration => installation/module_registration/register_extensions_and_modules
installation/system_role/accept_selected_role_text_mode => installation/system_role/accept_selected_role_SLES_with_GNOME

Then we can use gnome system role on powerVM without any issue:
VR: https://openqa.suse.de/tests/14736976#

Actions #8

Updated by JERiveraMoya 4 days ago

  • Tags changed from qe-yam-jun-sprint to qe-yam-jul-sprint
Actions #9

Updated by tinawang123 4 days ago

For full flavor:
installation/system_role/select_role_text_mode => installation/system_role/accept_selected_role_SLES_with_GNOME
VR: https://openqa.suse.de/tests/14737110#
The job failed because we use gnome as system role. It adds more patterns.

Actions

Also available in: Atom PDF