Project

General

Profile

Actions

action #169681

open

coordination #169657: [epic] Handle test fixes and adjustments

Simplify AutoYaST profiles from support_images folder

Added by jfernandez about 2 months ago. Updated 1 day ago.

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

0%

Estimated time:

Description

Motivation

Main goal is to improve maintenance tasks over AutoYaST profiles of the YAM team, these profiles are under data/yam/autoyast/support_images folders.
We have to simplify and left only required profile sections. In addition, each section has to be reviewed to remove not required fields.

In a current case we should include for SP6 new patterns that are required.
Old Patterns section:

      <pattern>apparmor</pattern>
      <pattern>base</pattern>
      <pattern>enhanced_base</pattern>
      <pattern>minimal_base</pattern>
      <pattern>yast2_basis</pattern>
      <pattern>ha_sles</pattern>

New Patterns section:

      <pattern>apparmor</pattern>
      <pattern>base</pattern>
      <pattern>enhanced_base</pattern>
      <pattern>minimal_base</pattern>
      <pattern>yast2_basis</pattern>
      <pattern>ha_sles</pattern>
      <pattern>basic_desktop</pattern>
      <pattern>x11</pattern>
      <pattern>x11_yast</pattern>

In other scenarios we should remove fields from the profile
For example bootloader (In the majority of the cases it will only required to has timeout)
Current template:

  <bootloader config:type="map">
    <global config:type="map">
      <cpu_mitigations>auto</cpu_mitigations>
      <gfxmode>auto</gfxmode>
      <hiddenmenu>false</hiddenmenu>
      <os_prober>false</os_prober>
      <secure_boot>true</secure_boot>
      <terminal>gfxterm</terminal>
      <timeout config:type="integer">-1</timeout>
      <update_nvram>true</update_nvram>
      <xen_kernel_append>vga=gfx-1024x768x16</xen_kernel_append>
    </global>
    <loader_type>grub2-efi</loader_type>
  </bootloader>

Target template:

  <bootloader>
    <global>
      <timeout config:type="integer">-1</timeout>
    </global>
  </bootloader>

Suggested sections to simplify:

  • Bootloader
  • Networking
  • Partitioning

A good point to start could be to review the autoyast_mini generation job, this job will generate the minimum required profile where to compare with the current ones.
autoyast_mini job is present under SLE_15 >> YaST Job Group.
Example of given AY profile https://openqa.suse.de/tests/15896584/settings/yam/autoyast/mini.xml
Example of minified output profile https://openqa.suse.de/tests/15896584/file/clone-autoinst.xml

####Acceptance criteria
AC1 : Review and simplify each AY profile section of each profile.
AC2 : Review all profiles under data/yam/autoyast/support_images path

Actions #1

Updated by jfernandez about 2 months ago

  • Subject changed from Simplify AutoYaST profiles to Simplify AutoYaST profiles from support_images folder
Actions #2

Updated by JERiveraMoya 13 days ago

  • Tags set to qe-yam-jan-sprint-fy25
  • Status changed from New to Workable
  • Parent task set to #169657
Actions #3

Updated by JERiveraMoya 12 days ago

  • Tags changed from qe-yam-jan-sprint-fy25 to qe-yam-dec-sprint-fy25
Actions #4

Updated by hjluo 5 days ago

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

Updated by hjluo 1 day ago

Actions

Also available in: Atom PDF