Project

General

Profile

Actions

action #116689

closed

QA - coordination #121720: [saga][epic] Migration to QE setup in PRG2+NUE3 while ensuring availability

QA - coordination #116623: [epic] Migration of SUSE Nbg based openQA+QA+QAM systems to new security zones

Do not rely on statically configured IPv4 addresses for the salt master in /etc/hosts size:S

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

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
2022-09-14
Due date:
% Done:

0%

Estimated time:

Description

Motivation

In #116539 and #116563 we had the problem that we needed to add a static IPv4 address entry to /etc/hosts for hosts to be able to connect to the salt master when instead we should rely on the FQDN entry, e.g. openqa.suse.de in /etc/salt/minion which we already configure from salt but this step needs to happen initially before connecting to salt.

Acceptance criteria

  • AC1: IPv4 addresses have been replaced with FQDNs in all our salt controlled hosts

Suggestions


Related issues 1 (0 open1 closed)

Copied from QA - action #116539: jenkins.qa.suse.de not reachable and not triggering tests like krypton anymoreResolvedokurz2022-09-14

Actions
Actions #1

Updated by okurz over 1 year ago

  • Copied from action #116539: jenkins.qa.suse.de not reachable and not triggering tests like krypton anymore added
Actions #2

Updated by okurz over 1 year ago

  • Parent task set to #116623
Actions #3

Updated by okurz over 1 year ago

  • Subject changed from Do not rely on statically configured IPv4 addresses for the salt master in /etc/hosts to Do not rely on statically configured IPv4 addresses for the salt master in /etc/hosts size:S
  • Description updated (diff)
  • Status changed from New to Workable
  • Priority changed from Normal to High
Actions #4

Updated by okurz over 1 year ago

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

Updated by okurz over 1 year ago

  • Due date set to 2022-10-06
  • Status changed from In Progress to Feedback

On OSD I did

sudo salt \* cmd.run 'echo "master: openqa.suse.de" >> /etc/salt/minion'
sudo salt \* cmd.run "sed -i '/10.160.0.207.*salt/d' /etc/hosts"

and I tested on openqaworker13 as an example that after restarting salt-minion I can still reach the system over salt.

https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/740 for the instruction change in README.

Actions #6

Updated by okurz over 1 year ago

  • Due date deleted (2022-10-06)
  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF