Project

General

Profile

Actions

action #134969

open

[qe-core] Require latest released quarterly update images for each product to be available

Added by xlai about 1 year ago. Updated 10 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Sprint:
QE-Core: November Sprint 24 (Nov 06 - Dec 04)

Description

We recently get a suggestion and agreed in discussions with Heiko Rommel, Jan Stehlik, and Antoine Ginies, that when testing released products, it is better to use latest QU image + scc updates.

For detailed requirements,

  • all supported products' latest QU image are needed,
    • sle12sp3~sle12sp5 (12sp3 has teradata tests after LTSS ends, 12sp4 seems ending but not final confirmed yet)
    • sle15sp2-sle15sp5 (and sle15sp6/7 when they are released)
  • available in three locations' mirror server and pxe server so that local openqa servers' jobs can access them-- DE NUE2 lab(OSD), PRG1 lab (http://openqa.qam.suse.cz/ resides in) and BeiJing lab (http://openqa.qa2.suse.asia/ resides in)
    • the QU images can be accessible via http(s) in repository way (unpacked from iso), and are put with FIXED names like SLExxSPx-QU-LATEST
    • the latest QU for all products are added in pxe server

I am not sure if this ticket's scope can be fully covered by openqa infrastructure (some should). It will help a lot, if anyone familiar with it can help point out which parts should go to which team. We will then split the ticket properly. Thanks in advance!

Actions #1

Updated by xlai about 1 year ago

  • Subject changed from Require final released quarterly update images for each product to be available to Require latest released quarterly update images for each product to be available
Actions #4

Updated by Julie_CAO about 1 year ago

With the iPXE support, a new setting for the URL of released product is introduced, +MIRROR_HTTP=XXX in test suite level. It is more configurable than previous fixed ones in test scripts.

If we would support iPXE only(as opposed to PXE boot), we can set the value to the latest QU mirror server. We need not sync them on openqa servers at meantime.

Actions #5

Updated by okurz about 1 year ago

  • Project changed from openQA Infrastructure to openQA Tests
  • Subject changed from Require latest released quarterly update images for each product to be available to [qe-core] Require latest released quarterly update images for each product to be available
  • Category set to New test

I assume this ticket is better suited for QE-Core within the scope "new product enablemement" hence adjusting the issue tracker accordingly

Actions #6

Updated by szarate about 1 year ago

  • Tags set to qe-core-october-sprint
Actions #7

Updated by szarate about 1 year ago

  • Sprint set to QE-Core: October Sprint 23 (Oct 11 - Nov 08)
Actions #8

Updated by slo-gin about 1 month ago

This ticket was set to Normal priority but was not updated within the SLO period. Please consider picking up this ticket or just set the ticket to the next lower priority.

Actions #9

Updated by szarate 16 days ago

  • Sprint changed from QE-Core: October Sprint 23 (Oct 11 - Nov 08) to QE-Core: September Sprint 24 (Sep 05 - Oct 03)
  • Category changed from New test to Infrastructure
  • Target version set to QE-Core: Ready
Actions #10

Updated by szarate 16 days ago

  • Sprint changed from QE-Core: September Sprint 24 (Sep 05 - Oct 03) to QE-Core: November Sprint 24 (Nov 06 - Dec 04)
Actions #11

Updated by szarate 16 days ago

  • Status changed from New to Workable
Actions #12

Updated by rfan1 11 days ago

  • Assignee set to rfan1
Actions #13

Updated by rfan1 11 days ago

  • Status changed from Workable to In Progress
Actions #14

Updated by Julie_CAO 11 days ago

rfan1 wrote in #note-13:

The iso images can be downloaded from https://download.suse.de/ibs/SUSE/Products/SLE-Product-SLES/

Are there extracted DVD files? Our bare-metal machines install SLE over iPXE, kernel files and boot files are required instead of iso.

Actions #15

Updated by szarate 11 days ago

I think we can request autobuild@suse.de or ask in team-buildops to make the SLP available also for QR? install/SLP/

Actions #16

Updated by rfan1 11 days ago

Julie_CAO wrote in #note-14:

rfan1 wrote in #note-13:

The iso images can be downloaded from https://download.suse.de/ibs/SUSE/Products/SLE-Product-SLES/

Are there extracted DVD files? Our bare-metal machines install SLE over iPXE, kernel files and boot files are required instead of iso.

I will extract them one by one, will let you know once done

Actions #17

Updated by rfan1 10 days ago

rfan1 wrote in #note-16:

Julie_CAO wrote in #note-14:

rfan1 wrote in #note-13:

The iso images can be downloaded from https://download.suse.de/ibs/SUSE/Products/SLE-Product-SLES/

Are there extracted DVD files? Our bare-metal machines install SLE over iPXE, kernel files and boot files are required instead of iso.

I will extract them one by one, will let you know once done

rfan@openqa:/var/lib/openqa/factory/repo> ll |grep QU|grep Online|grep -v  "SLE-15-SP2-Online.*.QU2"
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:41 SLE-15-SP2-Online-aarch64-QU3-Media1 -> fixed/SLE-15-SP2-Online-aarch64-QU3-Media1
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:41 SLE-15-SP2-Online-ppc64le-QU3-Media1 -> fixed/SLE-15-SP2-Online-ppc64le-QU3-Media1
lrwxrwxrwx   1 geekotest nogroup        40 Nov 13 01:41 SLE-15-SP2-Online-s390x-QU3-Media1 -> fixed/SLE-15-SP2-Online-s390x-QU3-Media1
lrwxrwxrwx   1 geekotest nogroup        41 Nov 13 01:41 SLE-15-SP2-Online-x86_64-QU3-Media1 -> fixed/SLE-15-SP2-Online-x86_64-QU3-Media1
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:40 SLE-15-SP3-Online-aarch64-QU4-Media1 -> fixed/SLE-15-SP3-Online-aarch64-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:40 SLE-15-SP3-Online-ppc64le-QU4-Media1 -> fixed/SLE-15-SP3-Online-ppc64le-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        40 Nov 13 01:40 SLE-15-SP3-Online-s390x-QU4-Media1 -> fixed/SLE-15-SP3-Online-s390x-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        41 Nov 13 01:40 SLE-15-SP3-Online-x86_64-QU4-Media1 -> fixed/SLE-15-SP3-Online-x86_64-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:40 SLE-15-SP4-Online-aarch64-QU4-Media1 -> fixed/SLE-15-SP4-Online-aarch64-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:40 SLE-15-SP4-Online-ppc64le-QU4-Media1 -> fixed/SLE-15-SP4-Online-ppc64le-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        40 Nov 13 01:40 SLE-15-SP4-Online-s390x-QU4-Media1 -> fixed/SLE-15-SP4-Online-s390x-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        41 Nov 13 01:40 SLE-15-SP4-Online-x86_64-QU4-Media1 -> fixed/SLE-15-SP4-Online-x86_64-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:40 SLE-15-SP5-Online-aarch64-QU4-Media1 -> fixed/SLE-15-SP5-Online-aarch64-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:40 SLE-15-SP5-Online-ppc64le-QU4-Media1 -> fixed/SLE-15-SP5-Online-ppc64le-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        40 Nov 13 01:40 SLE-15-SP5-Online-s390x-QU4-Media1 -> fixed/SLE-15-SP5-Online-s390x-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        41 Nov 13 01:40 SLE-15-SP5-Online-x86_64-QU4-Media1 -> fixed/SLE-15-SP5-Online-x86_64-QU4-Media1
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:41 SLE-15-SP6-Online-aarch64-QU1-Media1 -> fixed/SLE-15-SP6-Online-aarch64-QU1-Media1
lrwxrwxrwx   1 geekotest nogroup        42 Nov 13 01:41 SLE-15-SP6-Online-ppc64le-QU1-Media1 -> fixed/SLE-15-SP6-Online-ppc64le-QU1-Media1
lrwxrwxrwx   1 geekotest nogroup        40 Nov 13 01:41 SLE-15-SP6-Online-s390x-QU1-Media1 -> fixed/SLE-15-SP6-Online-s390x-QU1-Media1
lrwxrwxrwx   1 geekotest nogroup        41 Nov 13 01:41 SLE-15-SP6-Online-x86_64-QU1-Media1 -> fixed/SLE-15-SP6-Online-x86_64-QU1-Media1

Actions #18

Updated by rfan1 10 days ago ยท Edited

Steps to download image and extract it to repo: [let me take 15SP6 QU1 as an example]

1. Download iso image to "fixed" dir
# cd /var/lib/openqa/factory/iso/fixed/
# sudo wget https://download.suse.de/ibs/SUSE/Products/SLE-Product-SLES/15-SP6-QU1/x86_64/iso/SLE-15-SP6-Online-x86_64-QU1-Media1.iso
# sudo chown -R geekotest:nogroup SLE-15-SP6-Online-x86_64-QU1-Media1.iso

2. Extract the iso image to "fixed" repo dir
# sudo mkdir -p /tmp/rfan
# sudo mkdir -p /var/lib/openqa/factory/repo/fixed/SLE-15-SP6-Online-x86_64-QU1-Media1
# mount -o loop SLE-15-SP6-Online-x86_64-QU1-Media1.iso /tmp/rfan
# sudo rsync -a -H /tmp/rfan/* /var/lib/openqa/factory/repo/fixed/SLE-15-SP6-Online-x86_64-QU1-Media1
# sudo chown -R geekotest:nogroup /var/lib/openqa/factory/repo/fixed/SLE-15-SP6-Online-x86_64-QU1-Media1
# cd /var/lib/openqa/factory/repo/
# sudo ln -s fixed/SLE-15-SP6-Online-x86_64-QU1-Media1 ./SLE-15-SP6-Online-x86_64-QU1-Media1
# sudo chown -R geekotest:nogroup SLE-15-SP6-Online-x86_64-QU1-Media1
3. Verify the repo can be accessed
https://openqa.suse.de/assets/repo/SLE-15-SP6-Online-x86_64-QU1-Media1/
4. clean up
# sudo umount /tmp/rfan
# sudo rm -rf /tmp/rfan
Actions #19

Updated by Julie_CAO 10 days ago

I can see them on https://openqa.suse.de/assets/repo/fixed/

Thank you for creating these installers and the direction to create a path.

Actions #20

Updated by rfan1 10 days ago

  • Status changed from In Progress to Feedback

@xlai I am not sure if you need sync the images to Beijing openQA server [or other places] as well. I am not able to access it for now. please let me know if any questions and further requirements.

Actions

Also available in: Atom PDF