Project

General

Profile

Actions

action #160826

open

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

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

Optimize gre_tunnel_preup.sh generation jinja template

Added by nicksinger about 1 month ago. Updated 27 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2024-05-21
Due date:
% Done:

0%

Estimated time:
Tags:

Description

Observation

https://progress.opensuse.org/issues/160646#note-3 shows that we generate a lot of empty lines with https://gitlab.suse.de/openqa/salt-states-openqa/-/blob/master/openqa/openvswitch.sls?ref_type=heads#L96-128
This can be optimized by using {%- and -%} at a lot more places to avoid linebreak generation for e.g. if-statements of set commands. Care must be taken to not remove linebreaks where they are actually needed to produce valid yaml which results in a working shell script.


Related issues 1 (0 open1 closed)

Copied from openQA Infrastructure - action #160646: multiple multi-machine test failures, no GRE tunnels are setup between machines anymore at all size:MResolvedybonatakis2024-05-21

Actions
Actions #1

Updated by nicksinger about 1 month ago

  • Copied from action #160646: multiple multi-machine test failures, no GRE tunnels are setup between machines anymore at all size:M added
Actions #2

Updated by mkittler about 1 month ago

  • Target version set to future
Actions #3

Updated by okurz about 1 month ago

  • Due date deleted (2024-06-05)
Actions #4

Updated by okurz 27 days ago

  • Parent task set to #111929
Actions

Also available in: Atom PDF