action #169681
opencoordination #169657: [epic] Handle test fixes and adjustments
Simplify AutoYaST profiles from support_images folder
0%
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
Updated by jfernandez 4 months ago
- Subject changed from Simplify AutoYaST profiles to Simplify AutoYaST profiles from support_images folder
Updated by JERiveraMoya 3 months ago
- Tags set to qe-yam-jan-sprint-fy25
- Status changed from New to Workable
- Parent task set to #169657
Updated by JERiveraMoya 3 months ago
- Tags changed from qe-yam-jan-sprint-fy25 to qe-yam-dec-sprint-fy25
Updated by hjluo 2 months ago
- tried with branch: https://github.com/hjluo/os-autoinst-distri-opensuse.git#clean_ay_sup
- tried one profile: https://openqa.suse.de/tests/16314198
Updated by JERiveraMoya 2 months ago
- Tags changed from qe-yam-dec-sprint-fy25 to qe-yam-jan-sprint-fy25
Updated by leli 2 months ago
hjluo wrote in #note-8:
- There're 70+ files under
data/yam/autoyast/support_images
manybe need split ticket with regard to sle version.- Now trying 12sp5 and will send out PR for 12sp5 firstly to save time.
There are 96 profiles in folder data/yam/autoyast/support_images for now, could you figure out how many files need to be updated? so that we can consider to split the ticket.
For patterns, you can do some investigation that how many profiles need consider the difference between 15-SP6 and previous service packs, that is the profile is shared one for several service packs include 15-SP6 would impact by this.
Updated by hjluo 2 months ago
- PR for sles12sp5: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20897
Updated by hjluo about 2 months ago
- Tags deleted (
qe-yam-jan-sprint-fy25) - Status changed from In Progress to Workable
- Assignee deleted (
hjluo)
Put this in backlog, this ticket was picked during Christmas and now agama is high priority.
Now all support images are works and will pick up this ticket once Agama is done.