Actions
action #116689
closedDo not rely on statically configured IPv4 addresses for the salt master in /etc/hosts size:S
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¶
- 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
- 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
Actions