action #161189
closedcoordination #152769: [epic] Reduction of yaml files in YaST installations
Set default systemd target to text mode for all powerVM installations
0%
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
Updated by JERiveraMoya 7 months 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
Updated by tinawang123 7 months ago
- Status changed from Workable to In Progress
- Assignee set to tinawang123
Updated by JERiveraMoya 6 months 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.
Updated by tinawang123 6 months 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#
Updated by JERiveraMoya 6 months ago
- Tags changed from qe-yam-jun-sprint to qe-yam-jul-sprint
Updated by tinawang123 6 months 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.
Updated by tinawang123 6 months ago
- Status changed from In Progress to Resolved