Project

General

Profile

Actions

action #133025

closed

Configure Virtual Interfaces instructions do not work on Leap 15.5 size:M

Added by okurz 10 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2023-07-19
Due date:
2023-10-31
% Done:

0%

Estimated time:

Description

Motivation

http://open.qa/docs/#_configure_virtual_interfaces states ports on the firewall can be opened via firewall-cmd --new-service isotovideo but when I tried that on worker21 (new o3 prg2 worker), on Leap 15.5, that failed with an error message that this only works with --permanent. We should crosscheck all instructions and ensure they actually work as-is.

Acceptance criteria

  • AC1: The same firewall commands that happen to be in the documentation are ensured to be working by automated tests

Suggestions

  • Provide a script that uses commands to open ports on a firewall, setup a test for it and refer to that Check that documented steps agree with what's being done by os-autoinst-setup-multi-machine
  • Use the documented commands in an openQA test and cross-reference so we somehow know if that stops working docs need to be updated

Further details

"ensured to be working" means it's either a separate script or it's ok to have the commands copied verbatim into something like openQA-in-openQA tests, no need for a document command scraper


Related issues 7 (2 open5 closed)

Related to openQA Infrastructure - action #115418: Setup ow19+20 to be able to run MM tests size:MResolvedfavogt2022-08-17

Actions
Related to openQA Infrastructure - action #132827: [tools][qe-core]test fails in rsync_client/salt-master, DNS resolve issue with workers "sapworker*" on multi-machine tests size:MWorkable2023-07-17

Actions
Related to openQA Infrastructure - action #132134: Setup new PRG2 multi-machine openQA worker for o3 size:MResolveddheidler2023-06-29

Actions
Related to openQA Infrastructure - action #132137: Setup new PRG2 openQA worker for osd size:MResolvedmkittler2023-06-29

Actions
Related to openQA Project - action #138263: Strip unneeded code from os-autoinst-setup-multi-machineNew2023-10-19

Actions
Related to openQA Project - action #126680: [openQA-in-openQA] no candidate needle with tag(s) 'boot-menu, openqa-desktop' matched in worker size:MResolvedjbaier_cz

Actions
Copied to openQA Project - action #138302: Ensure automated openQA tests verify that os-autoinst-setup-multi-machine sets up valid networking size:MResolveddheidler2023-07-192024-01-19

Actions
Actions #1

Updated by livdywan 10 months ago

  • Subject changed from http://open.qa/docs/#_configure_virtual_interfaces instructions do not work due to missing "permanent", at least on Leap 15.5 to http://open.qa/docs/#_configure_virtual_interfaces instructions do not work due to missing "permanent", at least on Leap 15.5 size:M
  • Description updated (diff)
  • Status changed from New to Workable
Actions #2

Updated by okurz 9 months ago

  • Status changed from Workable to In Progress
  • Assignee set to okurz
Actions #4

Updated by openqa_review 9 months ago

  • Due date set to 2023-08-09

Setting due date based on mean cycle time of SUSE QE Tools

Actions #5

Updated by okurz 9 months ago

  • Related to action #115418: Setup ow19+20 to be able to run MM tests size:M added
Actions #6

Updated by okurz 9 months ago

  • Status changed from In Progress to Feedback
Actions #7

Updated by okurz 9 months ago

  • Related to action #132827: [tools][qe-core]test fails in rsync_client/salt-master, DNS resolve issue with workers "sapworker*" on multi-machine tests size:M added
Actions #8

Updated by okurz 9 months ago

  • Related to action #132134: Setup new PRG2 multi-machine openQA worker for o3 size:M added
Actions #9

Updated by okurz 9 months ago

  • Related to action #132137: Setup new PRG2 openQA worker for osd size:M added
Actions #10

Updated by okurz 9 months ago

  • Due date deleted (2023-08-09)
  • Status changed from Feedback to Blocked

I am hoping for more feedback from #132137 and #132134 if the setup script looks fine

Actions #11

Updated by okurz 8 months ago

  • Target version changed from Ready to Tools - Next
Actions #12

Updated by okurz 7 months ago

  • Status changed from Blocked to New
  • Assignee deleted (okurz)

Both #132137 and #132134 resolved so now we can continue here

Actions #13

Updated by okurz 7 months ago

  • Target version changed from Tools - Next to Ready
Actions #14

Updated by okurz 7 months ago

  • Status changed from New to Workable
Actions #15

Updated by livdywan 7 months ago

Actions #16

Updated by livdywan 7 months ago

  • Subject changed from http://open.qa/docs/#_configure_virtual_interfaces instructions do not work due to missing "permanent", at least on Leap 15.5 size:M to http://open.qa/docs/#_configure_virtual_interfaces instructions do not work on Leap 15.5 size:M
  • Description updated (diff)
Actions #17

Updated by livdywan 7 months ago

  • Description updated (diff)
Actions #18

Updated by dheidler 7 months ago

  • Assignee set to dheidler
Actions #19

Updated by dheidler 7 months ago

  • Status changed from Workable to In Progress
Actions #20

Updated by openqa_review 7 months ago

  • Due date set to 2023-10-31

Setting due date based on mean cycle time of SUSE QE Tools

Actions #21

Updated by okurz 7 months ago

https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/147 as an example how a quick and dirty test extension could look like. I don't even know if we package "os-autoinst-setup-multi-machine" right now

EDIT: We do, checked in a clean Tumbleweed container. /usr/bin/os-autoinst-setup-multi-machine so available from PATH.

Actions #24

Updated by okurz 7 months ago

As in the weekly unblocked we talked about the openQA-in-openQA tests using a gnome image with NetworkManager but we need to use wicked in both https://github.com/os-autoinst/os-autoinst-distri-openQA/blob/master/.github/workflows/openqa.yml#L39 as well as https://github.com/os-autoinst/scripts/blob/master/_common#L242

The existing HDD image comes from the test suite "create_hdd_tumbleweed" in https://openqa.opensuse.org/admin/test_suites with settings

DESKTOP=gnome
HDDSIZEGB=40
INSTALLONLY=1
LINUXRC_KEXEC=3
NETBOOT=0
PUBLISH_HDD_1=%DISTRI%-%VERSION%-%ARCH%-%BUILD%-Tumbleweed@%MACHINE%.qcow2
PUBLISH_PFLASH_VARS=%DISTRI%-%VERSION%-%ARCH%-%BUILD%-Tumbleweed@%MACHINE%-uefi-vars.qcow2
QEMU_COMPRESS_QCOW2=1

you already found "create_hdd_gnome_wicked" which has

BOOT_HDD_IMAGE=1
DESKTOP=gnome
HDDSIZEGB=20
HDD_1=%DISTRI%-%VERSION%-%ARCH%-%BUILD%-%DESKTOP%@%MACHINE%.qcow2
PUBLISH_HDD_1=%DISTRI%-%VERSION%-%ARCH%-%BUILD%-gnome-wicked@%MACHINE%.qcow2
PUBLISH_PFLASH_VARS=%DISTRI%-%VERSION%-%ARCH%-%BUILD%-gnome-wicked@%MACHINE%-uefi-vars.qcow2
START_AFTER_TEST=create_hdd_gnome
UEFI_PFLASH_VARS=%DISTRI%-%VERSION%-%ARCH%-%BUILD%-%DESKTOP%@%MACHINE%-uefi-vars.qcow2
YAML_SCHEDULE=schedule/yast/opensuse/create_hdd_gnome_wicked.yaml

maybe the differing parameters like missing QEMU_COMPRESS_QCOW2 and HDDSIZEGB=20 vs. 40 make a problem. Maybe the easiest way to resolve is to quickly ask owners in irc://libera.chat/opensuse-factory if there are any objections and if not then just change the create_hdd_gnome_wicked" testsuite.

Actions #25

Updated by dheidler 7 months ago

I guess I will try to not modify create_hdd_gnome_wicked, as the HDDSIZEGB=20 there shouldn't even do anything, as it is just reconfiguring a NetworkManager installation to use wicked.
So the HDDSIZEGB=40 would need to be put into create_hdd_gnome which would affect a lot of tests.

As long as I don't run into issues with 20G that is.

Actions #27

Updated by dheidler 7 months ago

  • Status changed from In Progress to Feedback
Actions #28

Updated by okurz 7 months ago

https://github.com/os-autoinst/scripts/pull/267 merged, https://github.com/os-autoinst/openQA/pull/5332 merged, https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/147 merged. Verification job showing the script not breaking anything in openQA-in-openQA test: https://openqa.opensuse.org/tests/3658269#step/openqa_worker/9
So to be strict you can call ACs covered because the script at least does not break the single-machine use case as ensured by automatic tests. You can now either extend the test to do real multi-machine tests or create a separate ticket about that and resolve here.

Actions #29

Updated by livdywan 7 months ago

  • Copied to action #138302: Ensure automated openQA tests verify that os-autoinst-setup-multi-machine sets up valid networking size:M added
Actions #30

Updated by livdywan 7 months ago

  • Subject changed from http://open.qa/docs/#_configure_virtual_interfaces instructions do not work on Leap 15.5 size:M to Configure Virtual Interfaces instructions do not work on Leap 15.5 size:M

We discussed the follow-up ticket before, which I filed now so I suggest we wrap it up here if there's no surprises like breakage from the fixes that were merged.

Actions #31

Updated by livdywan 7 months ago

livdywan wrote in #note-30:

We discussed the follow-up ticket before, which I filed now so I suggest we wrap it up here if there's no surprises like breakage from the fixes that were merged.

Slight correction. @dheidler did create #138263, it just wasn't linked anywhere :-D

Actions #32

Updated by livdywan 7 months ago

  • Related to action #138263: Strip unneeded code from os-autoinst-setup-multi-machine added
Actions #33

Updated by dheidler 6 months ago

  • Related to action #138326: Extend openQA-in-openQA test to do a real multimachine run. added
Actions #34

Updated by dheidler 6 months ago

  • Related to deleted (action #138326: Extend openQA-in-openQA test to do a real multimachine run.)
Actions #35

Updated by dheidler 6 months ago

  • Status changed from Feedback to Resolved
Actions #36

Updated by jbaier_cz 6 months ago

  • Related to action #126680: [openQA-in-openQA] no candidate needle with tag(s) 'boot-menu, openqa-desktop' matched in worker size:M added
Actions

Also available in: Atom PDF