Project

General

Profile

Actions

action #136013

closed

coordination #112862: [saga][epic] Future ideas for easy multi-machine handling: MM-tests as first-class citizens

coordination #111929: [epic] Stable multi-machine tests covering multiple physical workers

Ensure IP forwarding is persistent for multi-machine tests also in our salt recipes size:M

Added by okurz about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Tags:

Description

Motivation

See #134282 . So far we always relied on the installation to use the "hypervisor role" hence enabling persistent IP forwarding but we never ensured IP forwarding to be properly enabled by https://gitlab.suse.de/openqa/salt-states-openqa/ until https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/987 . We still don't know for sure if that is enough or correct.

Acceptance criteria

Suggestions


Related issues 3 (0 open3 closed)

Related to openQA Project (public) - action #135407: [tools] Measure to mitigate websockets overload by workers and revert it size:MResolvedlivdywan2023-09-08

Actions
Related to openQA Tests (public) - action #136130: test fails in iscsi_client due to salt 'host'/'nodename' confusion size:MResolvedmkittler2023-09-20

Actions
Copied from openQA Infrastructure (public) - action #134282: [tools] network protocols failures on multimachine tests on HA/SAP size:S auto_review:"no candidate.*iscsi-target-overview-service-tab|yast2.+firewall.+services.+add.+zone":retryResolvednicksinger2023-08-15

Actions
Actions #1

Updated by okurz about 1 year ago

  • Copied from action #134282: [tools] network protocols failures on multimachine tests on HA/SAP size:S auto_review:"no candidate.*iscsi-target-overview-service-tab|yast2.+firewall.+services.+add.+zone":retry added
Actions #2

Updated by livdywan about 1 year ago

See #134282 . So far we always relied on the installation to use the "hypervisor role" hence enabling persistent IP forwarding but we never ensured IP forwarding to be properly enabled by https://gitlab.suse.de/openqa/salt-states-openqa/ until https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/987 . We still don't know for sure if that is enough or correct.

Apparently it's not enough. See #135407-27 and the according MR. The changes in trusted.xml are not enabling forwarding on all interfaces. It's only known to be enabled when something or someone else did.

Actions #3

Updated by livdywan about 1 year ago

  • Related to action #135407: [tools] Measure to mitigate websockets overload by workers and revert it size:M added
Actions #4

Updated by okurz about 1 year ago

  • Tags set to infra
  • Target version changed from future to Ready
Actions #5

Updated by livdywan about 1 year ago

  • Subject changed from Ensure IP forwarding is persistent for multi-machine tests also in our salt recipes to Ensure IP forwarding is persistent for multi-machine tests also in our salt recipes size:M
  • Description updated (diff)
  • Status changed from New to Workable
Actions #6

Updated by livdywan about 1 year ago

  • Related to action #136130: test fails in iscsi_client due to salt 'host'/'nodename' confusion size:M added
Actions #7

Updated by okurz about 1 year ago

still important. I removed other tickets from the backlog to make room for this one.

Actions #8

Updated by dheidler about 1 year ago

  • Assignee set to dheidler
Actions #9

Updated by dheidler about 1 year ago

  • Status changed from Workable to Resolved

The already applied salt rules seem to work fine:

salt -C 'G@roles:worker' cmd.run 'grep forward /etc/sysctl.d/99-salt.conf'
openqaworker17.qa.suse.cz:
    net.ipv4.ip_forward = 1
    net.ipv4.conf.br1.forwarding = 1
    net.ipv4.conf.eth0.forwarding = 1
[...]
salt -C 'G@roles:worker' cmd.run 'sysctl net.ipv4.ip_forward'
openqaworker16.qa.suse.cz:
    net.ipv4.ip_forward = 1
openqaworker17.qa.suse.cz:
    net.ipv4.ip_forward = 1
openqaworker18.qa.suse.cz:
    net.ipv4.ip_forward = 1
[...]
Actions #10

Updated by okurz about 1 year ago

  • Parent task set to #111929
Actions

Also available in: Atom PDF