action #167015
open[SLM][infra]Ask for SLE Micro 6.1 pxe boot contents to be published as http source size:M
0%
Description
Background¶
About pxe boot for SLM 6.1, it is confirmed to be supported. See confirmation in https://app.slack.com/client/T02863RC2AC/C03G45KTP6W.
To do bare metal virtualization test, we automate the pxe installation for SLM6.1 in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20042(#164087). Now we are going to deploy tests to OSD.
Acceptance criteria¶
- AC1: SLM 6.1 PXE boot tests can boot within OSD production tests
- AC2: Requesters are happy (because we don't know which tests to use for verification)
Requirement¶
There is infra setup requirement for the pxe boot as below:
- for each SLM 6.1 build, please untar, x86 and aarch64 , below resources into http accessible links from OSD ipmi SUT, eg sth like http://10.200.131.12:8666/ipxe/x86_64/ and http://10.200.131.12:8666/ipxe/aarch64. A possible location is https://openqa.suse.de/assets/repo/ (or where more suitable).
Impact¶
This is high priority request , because the FC basement lab is going to have CC related change. In the period, both the two machines with usb disks that serve sle micro baremetal tests will be down. So we need to setup this soon.
Suggestions¶
- Probably openqa-trigger-from-obs should be capable of doing that. Support people commonly working with that to solve the problem on their own
Updated by xlai about 1 month ago
- Project changed from 204 to openQA Infrastructure
- Target version deleted (
QE-VT Sprint Future) - Parent task deleted (
#159486)
Updated by xlai about 1 month ago
@okurz Would you please have a look if this is a proper task for tools team? Or shall I contact other team?
Appreciate if this can be planned with request urgency considered!
Updated by okurz about 1 month ago
- Tags set to infra, reactive work, pxe
- Category set to Feature requests
- Target version set to Ready
Updated by okurz about 1 month ago
- Description updated (diff)
- Due date set to 2024-10-04
- Status changed from New to Feedback
- Assignee set to okurz
- Priority changed from High to Normal
@xlai syncing assets and triggering tests is commonly done using https://github.com/os-autoinst/openqa-trigger-from-obs/ and for OSD https://gitlab.suse.de/openqa/openqa-trigger-from-ibs-plugin/ so I suggest you work with the domain experts in those repos to get the necessary assets synced.
Updated by xlai about 1 month ago
okurz wrote in #note-8:
@xlai syncing assets and triggering tests is commonly done using https://github.com/os-autoinst/openqa-trigger-from-obs/ and for OSD https://gitlab.suse.de/openqa/openqa-trigger-from-ibs-plugin/ so I suggest you work with the domain experts in those repos to get the necessary assets synced.
@jlausuch Hi Jose, I checked from merged MRs and found that you enabled SLE Micro 6.1 repo initially. Can we ask you for help here? If you are busy, maybe I will work on it. It will be my first time coding for the tool. It may take some time to understand the overall logic firstly.
Updated by okurz about 1 month ago
jlausuch created https://gitlab.suse.de/openqa/openqa-trigger-from-ibs-plugin/-/merge_requests/198 to cover this. Merged and deployed.
Updated by jlausuch about 1 month ago
I have also created the mediums with empty variables. But there are 2 things to point out:
- it will sync the new images (install.tar) but in the
other
directory (/var/lib/openqa/factory/other/) instead ofhdd
directory. If we need them inhdd
, then we need to modify this line https://github.com/os-autoinst/openqa-trigger-from-obs/blob/master/script/cfg.py#L293 to includetar
in the condition. - it will also trigger tests using those new flavors. Is that desired?
Updated by xlai about 1 month ago
jlausuch wrote in #note-11:
I have also created the mediums with empty variables. But there are 2 things to point out:
- it will sync the new images (install.tar) but in the
other
directory (/var/lib/openqa/factory/other/) instead ofhdd
directory. If we need them inhdd
, then we need to modify this line https://github.com/os-autoinst/openqa-trigger-from-obs/blob/master/script/cfg.py#L293 to includetar
in the condition.
@jlausuch Thank you for the help.
Is it possible to UNTAR the synced images to some http links? Sth like
http://10.200.131.12:8666/ipxe/aarch64/SL-Micro.aarch64-6.1-Default-SelfInstall-Build20.3/.
Quote from ticket description:
for each SLM 6.1 build, please **untar** , **x86 and aarch64** , below resources into **http accessible links** from OSD ipmi SUT
BTW, for baremetal, we do not need it in HDD value. But better to have it in some var which we can use in test.
- it will also trigger tests using those new flavors. Is that desired?
It is fine to either trigger, or not trigger. We can just put the jobs under the default-selfinstall flavor.
Updated by okurz about 1 month ago
- Subject changed from [SLM][infra]Ask for SLE Micro 6.1 pxe boot contents to be published as http source to [SLM][infra]Ask for SLE Micro 6.1 pxe boot contents to be published as http source size:M
Updated by jlausuch 27 days ago ยท Edited
xlai wrote in #note-12:
Is it possible to UNTAR the synced images to some http links? Sth like
http://10.200.131.12:8666/ipxe/aarch64/SL-Micro.aarch64-6.1-Default-SelfInstall-Build20.3/.
Currently no. That would require some extra code in https://github.com/os-autoinst/openqa-trigger-from-obs/tree/master/script
Updated by waynechen55 19 days ago
Hope published files are uncompressed and well structured in folder hierarchy which reflects DISTRI, BUILD, ARCH and etc. By the way, besides the pxe boot files, there are also disk image to be installed via pxe like http://10.200.131.12:8666/ipxe/x86_64/SL-Micro.x86_64-6.1.xz