action #119704
closed[HCP] installation is not adding LTSS repo
0%
Description
Observation¶
I though just adding ltss will be enough, but HPC tests do not add LTSS.
The installation will pass but following test can/will fail because of missing LTSS repo and expected updates.
openQA test in scenario sle-15-SP2-Server-DVD-HPC-Incidents-aarch64-create_hdd_hpc_textmode@aarch64 fails in
patch_and_reboot
Test suite description¶
Create a textmode image with HPC product selected. Used by tests testing HPC in detail.
Reproducible¶
Fails since (at least) Build :24604:iputils (current job)
Expected result¶
Last good: :24604:iputils (or more recent)
Further details¶
Always latest result in this scenario: latest
Files
Updated by dzedro about 1 year ago
I think this should add the missing LTSS, but I have problem with HPC-LTSS name, based on scc this is zypper identifier but the installation is complaining.
https://dzedro.suse.cz/tests/873#step/installation/7
diff --git a/data/autoyast_sle15/hpc/create_hdd_textmode_aarch64.xml.ep b/data/autoyast_sle15/hpc/create_hdd_textmode_aarch64.xml.ep
index 677111017..f4771147d 100644
--- a/data/autoyast_sle15/hpc/create_hdd_textmode_aarch64.xml.ep
+++ b/data/autoyast_sle15/hpc/create_hdd_textmode_aarch64.xml.ep
@@ -74,6 +74,15 @@
<version>15</version>
</addon>
% }
+ % if ($get_var->('SCC_ADDONS') =~ m/ltss/) {
+ <addon config:type="map">
+ <arch>{{ARCH}}</arch>
+ <name>SLE_HPC-ltss</name>
+ <reg_code>{{SCC_REGCODE_LTSS}}</reg_code>
+ <release_type>nil</release_type>
+ <version>{{VERSION}}</version>
+ </addon>
+ % }
</addons>
<do_registration config:type="boolean">true</do_registration>
% if ($check_var->('FLAVOR', 'Server-DVD-HPC-Incidents')) {
diff --git a/data/autoyast_sle15/hpc/create_hdd_textmode_x86_64.xml.ep b/data/autoyast_sle15/hpc/create_hdd_textmode_x86_64.xml.ep
index b2021507f..b40e274ea 100644
--- a/data/autoyast_sle15/hpc/create_hdd_textmode_x86_64.xml.ep
+++ b/data/autoyast_sle15/hpc/create_hdd_textmode_x86_64.xml.ep
@@ -74,6 +74,15 @@
<version>15</version>
</addon>
% }
+ % if ($get_var->('SCC_ADDONS') =~ m/ltss/) {
+ <addon config:type="map">
+ <arch>{{ARCH}}</arch>
+ <name>SLE_HPC-ltss</name>
+ <reg_code>{{SCC_REGCODE_LTSS}}</reg_code>
+ <release_type>nil</release_type>
+ <version>{{VERSION}}</version>
+ </addon>
+ % }
</addons>
<do_registration config:type="boolean">true</do_registration>
% if ($check_var->('FLAVOR', 'Server-DVD-HPC-Incidents')) {
Updated by dzedro about 1 year ago
Updated by dzedro about 1 year ago
Name had to be all capital letters.
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15817
Updated by ybonatakis about 1 year ago
- Status changed from New to Resolved
SUSE_Updates_SLE-Product-HPC_15-SP2-LTSS_x86_64[0] is added in the repos. And regcode has been updated
[0] https://openqa.suse.de/tests/9850012#step/installation/9
Updated by ybonatakis about 1 year ago
- Related to action #104040: [qe-lsg][qe-core][kernel][hpc][qe-sap][epic] Reconfigure openQA settings for moving SLE15-SP2 to LTSS added