action #153799
Updated by livdywan 9 months ago
## Motivation Many former QAM machines that are now in PRG2/PRG2e which are not yet in operation were formerly already managed in https://gitlab.suse.de/OPS-Service/salt for both DHCP as well as DNS. Now DHCP/DNS needs to be adapted 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 QAM machines now residing in PRG2/PRG2e * **AC2:** No more references left in the OPS-Service repo for decomissioned QAM machines ## Suggestions * Block on #153664 * See #153796 for similar work for QE non-openQA machines * See how currently DHCP/DNS records are managed in examples like https://gitlab.suse.de/OPS-Service/salt/-/merge_requests/3839/diffs * Go through all entries in https://gitlab.suse.de/OPS-Service/salt/-/tree/production/pillar/domain/qam_suse_de/hosts.yaml and for each entry * Cross-check with racktables e.g. https://racktables.nue.suse.com/index.php?page=search&last_page=object&last_tab=default&q=whale (put the name in the search) * Example of a valid machine https://racktables.nue.suse.com/index.php?page=object&tab=default&object_id=9594 * Example of a machine that's gone https://racktables.nue.suse.com/index.php?page=ipaddress&ip=10.161.224.55 * *IF* the machine still exists and should be in qe.prg2.suse.org (should be about 25 machines) * move and adapt the according entries to * 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 * After that remove pillar/domain/qam_suse_de/hosts.yaml as well as all not anymore used A-records in qam.suse.de as qam.suse.de should from then on only be used for CNAME entries