Project

General

Profile

Actions

action #167015

closed

[SLM][infra]Ask for SLE Micro 6.2 pxe boot contents to be published as http source size:M

Added by xlai 3 months ago. Updated 23 days ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Feature requests
Target version:
Start date:
2024-09-19
Due date:
2024-10-11
% Done:

0%

Estimated time:

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:

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
Actions #1

Updated by xlai 3 months ago

  • Project changed from 204 to openQA Infrastructure (public)
  • Target version deleted (QE-VT Sprint Future)
  • Parent task deleted (#159486)
Actions #5

Updated by xlai 3 months 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!

Actions #6

Updated by okurz 3 months ago

  • Tags set to infra, reactive work, pxe
  • Category set to Feature requests
  • Target version set to Ready
Actions #7

Updated by xlai 3 months ago

  • Description updated (diff)
Actions #8

Updated by okurz 3 months 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.

Actions #9

Updated by xlai 3 months 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.

Actions #10

Updated by okurz 3 months ago

jlausuch created https://gitlab.suse.de/openqa/openqa-trigger-from-ibs-plugin/-/merge_requests/198 to cover this. Merged and deployed.

Actions #11

Updated by jlausuch 3 months ago

I have also created the mediums with empty variables. But there are 2 things to point out:

Actions #12

Updated by xlai 3 months ago

jlausuch wrote in #note-11:

I have also created the mediums with empty variables. But there are 2 things to point out:

@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.

Actions #13

Updated by okurz 3 months 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
Actions #14

Updated by jlausuch 3 months 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

Actions #15

Updated by okurz 3 months ago

  • Due date changed from 2024-10-04 to 2024-10-11
  • Priority changed from Normal to Low
Actions #16

Updated by xlai 3 months ago

  • Status changed from Feedback to Workable
  • Priority changed from Low to High

This is high request. Hope that it can be ready ASAP.

Actions #17

Updated by okurz 3 months ago

  • Assignee changed from okurz to jlausuch
  • Target version changed from Ready to future

then I hope jlausuch can help to treat it with high priority. Because right now I don't see it where the tools team can help directly.

Actions #18

Updated by waynechen55 2 months 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

Actions #21

Updated by xlai about 1 month ago

@jlausuch Hi Jose, this will soon be a blocker for SLM 6.2 OSD openqa test enablement too. It is more needed this time, because the only one pair of machine that can run SLM baremetal test are in NUE2 lab and will not work soon. We have to switch to pxe installation on the other pair of machine in PRG2 lab.

Will it be possible to help coordinate that the one working on 6.2 pipelines help to implement this pxe resource(published as http link)?

If not easy, we can do it by ourselves, but we need to learn first. And maybe the training that you mentioned earlier can be planned at some recent proper time slot?

Actions #23

Updated by jlausuch about 1 month ago

We probably don't need to do some magic to extract install.tar files. I can see that in the iso directory there are some install.iso. Currently:

SL-Micro.aarch64-6.2-Base-Build1.1.install.iso
SL-Micro.aarch64-6.2-Base-RT-Build1.1.install.iso
SL-Micro.aarch64-6.2-Base-RT-SelfInstall-Build1.1.install.iso
SL-Micro.aarch64-6.2-Base-SelfInstall-Build1.1.install.iso
SL-Micro.aarch64-6.2-Default-Build1.1.install.iso
SL-Micro.aarch64-6.2-Default-SelfInstall-Build1.1.install.iso

SL-Micro.x86_64-6.2-Base-RT-SelfInstall-Build1.1.install.iso
SL-Micro.x86_64-6.2-Base-SelfInstall-Build1.1.install.iso
SL-Micro.x86_64-6.2-Default-SelfInstall-Build1.1.install.iso

SL-Micro.ppc64le-6.2-Base-512-SelfInstall-Build1.1.install.iso
SL-Micro.ppc64le-6.2-Base-4096-SelfInstall-Build1.1.install.iso
SL-Micro.ppc64le-6.2-Default-512-SelfInstall-Build1.1.install.iso
SL-Micro.ppc64le-6.2-Default-4096-SelfInstall-Build1.1.install.iso

Please let me know which ISOs should I sync and will add it to https://gitlab.suse.de/openqa/openqa-trigger-from-ibs-plugin/-/blob/master/xml/SUSE:SLFO:Products:SL-Micro.xml

Actions #24

Updated by xlai about 1 month ago · Edited

I replied in slack,but let me also copy it here to be synced in ticket

For pxe installation, we do NOT need install.iso, but need install.tar. The contents of these two are totally different. Also for install.tar, it is needed to untar it into some directory, and http accessible.

@Jose Lausuch
 For SLM6.2  pxe installation, need to untar below "*.install.tar" into a directory separately, and publish them as http accessible link
- https://download.suse.de/ibs/SUSE:/SLFO:/Products:/SL-Micro:/6.2:/ToTest/images/SL-Micro.aarch64-6.2-Default-SelfInstall-Build1.1.install.tar
- https://download.suse.de/ibs/SUSE:/SLFO:/Products:/SL-Micro:/6.2:/ToTest/images/SL-Micro.x86_64-6.2-Default-SelfInstall-Build1.1.install.tar

Actions #26

Updated by xlai about 1 month ago

  • Subject changed from [SLM][infra]Ask for SLE Micro 6.1 pxe boot contents to be published as http source size:M to [SLM][infra]Ask for SLE Micro 6.2 pxe boot contents to be published as http source size:M
Actions #27

Updated by xlai about 1 month ago

I spent some time in hackweek on learning the tool. A potential solution is proposed with 2 PRs,

Welcome to review!

Actions #28

Updated by xlai 26 days ago

  • Status changed from Workable to Feedback
Actions #29

Updated by xlai 23 days ago

xlai wrote in #note-27:

I spent some time in hackweek on learning the tool. A potential solution is proposed with 2 PRs,

Welcome to review!

The two PRs are merged. Will follow up status.

Actions #30

Updated by xlai 23 days ago

  • Status changed from Feedback to Resolved
  • Assignee changed from jlausuch to xlai

I verified on OSD, the image sync and openqa trigger cmds are all correct. See result in https://openqa.suse.de/tests/overview?distri=sle-micro&version=6.2&build=1.14&groupid=544.

Actions

Also available in: Atom PDF