action #153796
Updated by okurz 7 months ago
## Motivation
Many machines that are now in PRG2/PRG2e which are not yet in operation were formerly managed in https://gitlab.suse.de/qa-sle/qanet-configs/ . The DNS config from qanet meanwhile is also provided by Eng-Infra maintained DNS servers managed in https://gitlab.suse.de/OPS-Service/salt but for many machines DHCP/DNS needs to be prepared for the machines that should live in qe.prg2.suse.org to be able to operate properly again.
## Acceptance criteria
* **AC1:** Valid DHCP+DNS entries exist for all former QA non-openQA machines now residing in PRG2/PRG2e
* **AC2**: No more references left in the OPS-Service repo for decomissioned QA non-openQA machines
## Suggestions
* See how currently DHCP/DNS records are managed in examples like https://gitlab.suse.de/OPS-Service/salt/-/merge_requests/3839/diffs
* See how https://gitlab.suse.de/qa-sle/qanet-configs/ is structured to be able to find DHCP/DNS entries for machines.
There should be about 10 machines
* Go through all A-record entries of https://gitlab.suse.de/OPS-Service/salt/-/tree/production/salt/profile/dns/files/prg2_suse_org/dns-qa.suse.de.zone and for each entry
* *IF* the machine still exists (There should be about 10 machines)
* create an according entry in
* pillar/domain/qe_prg2_suse_org/hosts.yaml
* salt/profile/dns/files/prg2_suse_org/dns-qe.prg2.suse.org
* salt/profile/dns/files/prg2_suse_org/dns-qe.prg2.suse.org-rev-10.145.0
* *ELSE* if the machine does not exist anymore
* remove all references in https://gitlab.suse.de/OPS-Service/salt
Back