Project

General

Profile

Actions

action #9482

closed

iSCSI

Added by RBrownSUSE over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
New test
Start date:
2015-11-11
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

QA need to do Validation testing where SLES 11 SP4 and 12 SP1 is installed to iSCSI Devices

This will require using ibft to 'boot to iscsi'

We should not need extra hardware on the SUT (Guest) side of things, because this should all be possible in Qemu (see https://gist.github.com/smoser/810d59f0dd580b1c1256 )

However it does need an iSCSI Target

We have 2 options

  1. Use a real hardware iSCSI array
  2. Test SLES's ability to act as an iSCSI target, and test the iSCSI client/initiator against that

As openQA can do multi-machine testing I'd propose #2

So this task requires the following

  1. Add any backend support needed for QEMU to use ipxe/ibft
  2. If using openQA as the iSCSI target/server then write tests to setup an iSCSI target on SLES (could use assets as there is no point testing installation)
  3. Write tests for installation via ibft (should be very similar to s390x tests as it will require Disk Activation)
  4. Done

Checklist

  • SLE

Related issues 1 (0 open1 closed)

Copied to qe-yam - action #12966: Enable iSCSI client/server test scenario for openSUSEResolved2015-11-11

Actions
Actions #1

Updated by RBrownSUSE over 8 years ago

  • Priority changed from Normal to High
Actions #2

Updated by RBrownSUSE over 8 years ago

  • Description updated (diff)
Actions #3

Updated by RBrownSUSE over 8 years ago

  • Checklist item changed from to [ ] SLE, [ ] TW, [ ] Leap
  • Target version deleted (154)
Actions #4

Updated by RBrownSUSE over 8 years ago

  • Target version set to 162
Actions #5

Updated by RBrownSUSE over 8 years ago

  • Assignee set to dzedro
Actions #6

Updated by dzedro over 8 years ago

  • Checklist item changed from to [x] SLE
Actions #7

Updated by dzedro over 8 years ago

  • Checklist item changed from to [ ] SLE
Actions #8

Updated by okurz over 8 years ago

"fvogt" from SUSE did some experiments regarding iSCSI with openQA it seems. Get in contact to share experiences. He is on #opensuse-factory, too

Actions #9

Updated by dzedro over 8 years ago

  • Status changed from New to In Progress

I had short conversation with Fabian, he has same knowledge/experience with iscsi in openQA as me, close to none.
I tried to follow the link in description, but I'm not able get iBFT work in qemu.
I could setup everything following https://gist.github.com/smoser/810d59f0dd580b1c1256
but after I started SLES installation with 'withiscsi=1' iBFT tab was missing in iscsi configuration.

Actions #10

Updated by dzedro over 8 years ago

It works, I could do it manually, now I will put it into openQA

Actions #11

Updated by dzedro over 8 years ago

I'm not able to push "-kernel /usr/share/qemu/ipxe.lkrn -append 'dhcp && sanhook --drive 0x80 iscsi:10.0.2.1::3260:1:iqn.2016-01.openqa.de:for.all'" into openqa qemu exec.
"-kernel /usr/share/qemu/ipxe.lkrn" is not a problem but "- append *" part is, even if I could write it in a way openQA could run it, qemu VM was not as it should be, iPXE boot did miss (http://10.100.98.90/tests/557/modules/bootloader/steps/3)
This job "http://10.100.98.90/tests/552/modules/iscsi_configuration/steps/2" is running with needed parameter but it behaves as without it, iPXE boot and iBFT tab is missing.

Actions #13

Updated by okurz about 8 years ago

  • Target version changed from 162 to Milestone 1
Actions #14

Updated by okurz almost 8 years ago

  • Checklist item changed from [ ] SLE, [ ] TW, [ ] Leap to [x] SLE, [ ] TW, [ ] Leap
  • Status changed from Resolved to In Progress

This is working fine on SLE, e.g. see https://openqa.suse.de/tests/463475 for a current run of installation on iscsi target provided by server (running in parallel): https://openqa.suse.de/tests/463649 as well as accessing from a running desktop: https://openqa.suse.de/tests/463648

but for Tumbleweed or Leap I couldn't find it.

dzedro already tested on Tumbleweed and has needles in case they are not merged yet: http://10.100.98.90/tests/1139/modules/iscsi_server/steps/26 and http://10.100.98.90/tests/1140/modules/iscsi_client/steps/24

Should be easy to add in settings unless we don't want to test iscsi on o3.

Actions #15

Updated by dzedro almost 8 years ago

Spoke with Olive, I will add iSCSI test for openSUSE

Actions #16

Updated by okurz almost 8 years ago

  • Priority changed from High to Low

remaining openSUSE tests would be good but are lower prio for now.

Actions #17

Updated by okurz almost 8 years ago

  • Copied to action #12966: Enable iSCSI client/server test scenario for openSUSE added
Actions #18

Updated by okurz almost 8 years ago

  • Checklist item changed from [x] SLE, [ ] TW, [ ] Leap to [x] SLE
  • Status changed from In Progress to Resolved
  • Priority changed from Low to High

openSUSE enablement tracked in #12966

Actions

Also available in: Atom PDF