Project

General

Profile

action #37408

[openqa]Please add sle15 GM image to http://openqa.nue.suse.com/assets/repo/fixed/

Added by xlai almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Infrastructure
Target version:
-
Start date:
2018-06-15
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

In sle12sp4, virtualization job group will includes tests on sle15 hosts, please help to add sle15 GM image to http://openqa.nue.suse.com/assets/repo/fixed/, like sle12sp3/sle11sp4 .

History

#1 Updated by okurz almost 4 years ago

Can you specify what "SLE15 GM images" you mean, are we talking about the ISOs, HDDs or repos? I assume for virtualization tests it is "repos", right? Can you point to a failing test case? Then we/I could check what this test needs and also retrigger it to see if it will pass based on the assets being provided.

#2 Updated by xlai almost 4 years ago

okurz wrote:

Can you specify what "SLE15 GM images" you mean, are we talking about the ISOs, HDDs or repos? I assume for virtualization tests it is "repos", right? Can you point to a failing test case? Then we/I could check what this test needs and also retrigger it to see if it will pass based on the assets being provided.

Yes, we need repos. During sle12sp4 developing phase, sle15 is Gold master already, so it should be handled like other gold master products, eg sle11sp4/sle12sp3. Currenly http://openqa.suse.de/assets/repo/fixed/ does not contain sle15 GM yet(i know there is no final GM yet, please help to add that when there is). It can follow all rules as sle12sp3 gm.

If you want to track whether it is setup correctly or not, please follow test gi-guest_developing-on-host_sles15-xen under sle12sp4 virtualization-acceptance job group. Please note that we may also need to adjust some settings when there is a image. So making sure that boot_from_pxe works well first is enough as first step. We will feedback later for full verification.

Thanks for help taking care of it, oliver!

#3 Updated by xlai almost 4 years ago

For latest job status(fail), please refer to https://openqa.suse.de/tests/1795912. And this can be used as the test to test the new added image.

Two things are needed to be deployed:

#4 Updated by cachen almost 4 years ago

  • Subject changed from Please add sle15 GM image to http://openqa.nue.suse.com/assets/repo/fixed/ to [openqa]Please add sle15 GM image to http://openqa.nue.suse.com/assets/repo/fixed/

#5 Updated by cachen almost 4 years ago

  • Priority changed from High to Urgent

#6 Updated by cachen almost 4 years ago

I upgrade the priority to Urgent since this will block Acceptance testing for SLE12SP4 Beta1 start on July 18.

#7 Updated by okurz almost 4 years ago

  • Status changed from New to In Progress
  • Assignee set to okurz

As apparently no one else is picking this up – I assumed this would be a task for the tools team to pick up – let me try to help.

The latest job failure I can find is https://openqa.suse.de/tests/1825849 which is failing in https://openqa.suse.de/tests/1825849#step/boot_from_pxe/6 because it tries to load a repo "SLE-15-Server-DVD…" which does not exist as the medium is called "SLE-15-Installer-DVD". I provided a directory for the x86_64 GM medium including a symlink to "Server-DVD…DVD1" even though this is not entirely correct:

sudo -u geekotest su
cd /var/lib/openqa/share/factory/repo/fixed
cp -al ../SLE-15-Installer-DVD-x86_64-Build668.1-Media1/ SLE-15-Installer-DVD-x86_64-GM-Media1/
ln -sf SLE-15-Installer-DVD-x86_64-GM-Media1 SLE-15-Server-DVD-x86_64-GM-DVD1

xlai wrote:

Two things are needed to be deployed:

I did this but I wonder if we do not need also more module repositories.

  • add sle15 GM entry in pxe server, with similar setup as sle12sp3GM

I don't know where this should be necessary as the PXE menu entries are not used but the boot command line is manually typed. Where else would this be needed?

Triggered https://openqa.suse.de/tests/1831867 , which passes at least to the point of selecting system roles. Now, how would you like to continue?

#8 Updated by xlai almost 4 years ago

okurz wrote:

As apparently no one else is picking this up – I assumed this would be a task for the tools team to pick up – let me try to help.

The latest job failure I can find is https://openqa.suse.de/tests/1825849 which is failing in https://openqa.suse.de/tests/1825849#step/boot_from_pxe/6 because it tries to load a repo "SLE-15-Server-DVD…" which does not exist as the medium is called "SLE-15-Installer-DVD". I provided a directory for the x86_64 GM medium including a symlink to "Server-DVD…DVD1" even though this is not entirely correct:

sudo -u geekotest su
cd /var/lib/openqa/share/factory/repo/fixed
cp -al ../SLE-15-Installer-DVD-x86_64-Build668.1-Media1/ SLE-15-Installer-DVD-x86_64-GM-Media1/
ln -sf SLE-15-Installer-DVD-x86_64-GM-Media1 SLE-15-Server-DVD-x86_64-GM-DVD1

I will correct the setting to what the real setup is.

xlai wrote:

Two things are needed to be deployed:

I did this but I wonder if we do not need also more module repositories.

  • add sle15 GM entry in pxe server, with similar setup as sle12sp3GM

I don't know where this should be necessary as the PXE menu entries are not used but the boot command line is manually typed. Where else would this be needed?

For this, it actually requires the kernel and initrd files to be put in pxe server as other GM images.

Triggered https://openqa.suse.de/tests/1831865 , let's see how it will behave

I will look into it to follow up progress.

#9 Updated by xlai almost 4 years ago

okurz wrote:

As apparently no one else is picking this up – I assumed this would be a task for the tools team to pick up – let me try to help.

The latest job failure I can find is https://openqa.suse.de/tests/1825849 which is failing in https://openqa.suse.de/tests/1825849#step/boot_from_pxe/6 because it tries to load a repo "SLE-15-Server-DVD…" which does not exist as the medium is called "SLE-15-Installer-DVD". I provided a directory for the x86_64 GM medium including a symlink to "Server-DVD…DVD1" even though this is not entirely correct:

sudo -u geekotest su
cd /var/lib/openqa/share/factory/repo/fixed
cp -al ../SLE-15-Installer-DVD-x86_64-Build668.1-Media1/ SLE-15-Installer-DVD-x86_64-GM-Media1/
ln -sf SLE-15-Installer-DVD-x86_64-GM-Media1 SLE-15-Server-DVD-x86_64-GM-DVD1

I will correct the setting to what the real setup is.

xlai wrote:

Two things are needed to be deployed:

I did this but I wonder if we do not need also more module repositories.

  • add sle15 GM entry in pxe server, with similar setup as sle12sp3GM

I don't know where this should be necessary as the PXE menu entries are not used but the boot command line is manually typed. Where else would this be needed?

For this, it actually requires the kernel and initrd files to be put in pxe server as other GM images.

Triggered https://openqa.suse.de/tests/1831865 , let's see how it will behave

The reason maybe is the kernel file is not on pxe server?

Oliver, thanks for the big help!

#10 Updated by okurz almost 4 years ago

  • Assignee changed from okurz to xlai

xlai wrote:

  • add sle15 GM entry in pxe server, with similar setup as sle12sp3GM

I don't know where this should be necessary as the PXE menu entries are not used but the boot command line is manually typed. Where else would this be needed?

For this, it actually requires the kernel and initrd files to be put in pxe server as other GM images.
[…]
The reason maybe is the kernel file is not on pxe server?

I do not see where any files from the PXE server would be used here. As stated, the test already writes explicitly the path to the files it needs. You can see in https://openqa.suse.de/tests/1831867#step/boot_from_pxe/5 the files "initrd" and "linux" which are used and they can be successfully found and executed.

https://openqa.suse.de/tests/1831867#step/system_role/2 shows that only the "minimal" role is shown. This is expected as the system is not registered and also no additional repositories are added during installation. I see the following possibilities how to continue:

  1. Adapt the test to be happy with the minimal system role
  2. Register the SLE15 system as we also do in other tests
  3. Add the additional modules as additional repos. However, this would need the modules provided in the openQA settings same as for the "installer" repository.

#11 Updated by xlai almost 4 years ago

okurz wrote:

xlai wrote:

  • add sle15 GM entry in pxe server, with similar setup as sle12sp3GM

I don't know where this should be necessary as the PXE menu entries are not used but the boot command line is manually typed. Where else would this be needed?

For this, it actually requires the kernel and initrd files to be put in pxe server as other GM images.
[…]
The reason maybe is the kernel file is not on pxe server?

I do not see where any files from the PXE server would be used here. As stated, the test already writes explicitly the path to the files it needs. You can see in https://openqa.suse.de/tests/1831867#step/boot_from_pxe/5 the files "initrd" and "linux" which are used and they can be successfully found and executed.

https://openqa.suse.de/tests/1831867#step/system_role/2 shows that only the "minimal" role is shown. This is expected as the system is not registered and also no additional repositories are added during installation. I see the following possibilities how to continue:

  1. Adapt the test to be happy with the minimal system role
  2. Register the SLE15 system as we also do in other tests
  3. Add the additional modules as additional repos. However, this would need the modules provided in the openQA settings same as for the "installer" repository.

Thanks a lot for setting up the files and your suggestions. I will try to make it work with solution 2.

#12 Updated by xlai almost 4 years ago

  • Status changed from In Progress to Resolved

Installing sle15 host under sle12sp4 job group works now, see https://openqa.suse.de/tests/1844335.

Also available in: Atom PDF