action #116689
closedQA - 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
0%
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¶
- Add to https://gitlab.suse.de/openqa/salt-states-openqa/-/blob/master/README.md where the salt master is configured. Currently it says to add the host to /etc/hosts
Updated by okurz about 2 years ago
- Copied from action #116539: jenkins.qa.suse.de not reachable and not triggering tests like krypton anymore added
Updated by okurz about 2 years 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
Updated by okurz about 2 years ago
- Status changed from Workable to In Progress
- Assignee set to okurz
Updated by okurz about 2 years 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.
Updated by okurz about 2 years ago
- Due date deleted (
2022-10-06) - Status changed from Feedback to Resolved