action #153796
closedcoordination #121720: [saga][epic] Migration to QE setup in PRG2+NUE3 while ensuring availability
coordination #123800: [epic] Provide SUSE QE Tools services running in PRG2 aka. Prg CoLo
coordination #137630: [epic] QE (non-openQA) setup in PRG2
Prepare DHCP/DNS for qe.prg2.suse.org based on former qa.suse.de entries size:M
0%
Description
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.
- 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 physical machines, for some multiple entries, e.g. all "grenache" lpars)
- 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
Updated by okurz 10 months ago
- Copied to action #153799: Prepare DHCP/DNS for machines coming to qe.prg2.suse.org based on former qam.suse.de entries size:M added
Updated by nicksinger 10 months ago
first cleanup attempt: https://gitlab.suse.de/OPS-Service/salt/-/merge_requests/4608
a lot of former QA-CSS machines are still in there where I'm not 100% certain where they now reside. I will continue to focus on machines where we have proper racktables entry
Updated by openqa_review 10 months ago
- Due date set to 2024-02-06
Setting due date based on mean cycle time of SUSE QE Tools
Updated by okurz 10 months ago
MR merged and seems to be effective now, e.g. ping redcurrant-1.oqa.prg2.suse.org
yields PING redcurrant-1.oqa.prg2.suse.org
although no response yet, probably as expected.
I'd say salt/profile/dns/files/prg2_suse_org/dns-qa.suse.de.zone looks quite clean now. So what do you consider left to be done?
Updated by nicksinger 10 months ago
- Status changed from In Progress to Workable
okurz wrote in #note-10:
MR merged and seems to be effective now, e.g.
ping redcurrant-1.oqa.prg2.suse.org
yieldsPING redcurrant-1.oqa.prg2.suse.org
although no response yet, probably as expected.I'd say salt/profile/dns/files/prg2_suse_org/dns-qa.suse.de.zone looks quite clean now. So what do you consider left to be done?
I'm not sure how we could validate the dhcp functionality in the newly created qa_prg2_suse_org zone. I think https://gitlab.suse.de/OPS-Service/salt/-/commit/00268f56b171b9436eae976e58021536d3d549d7#4314cd43d2b5f01cbb14465525a42107c413bcc1 should contain everything we need but at this point it is only guessing.
To cover AC2 I would need a list of "decomissioned QA non-openQA machines" and I'm not 100% sure how to approach this. Do we consider this covered by https://gitlab.suse.de/OPS-Service/salt/-/merge_requests/4612/diffs#diff-content-01f336c5493151b201852232d9ba143d60a2e9f2 or should I also search for more references in the ops/salt repository?
Updated by nicksinger 10 months ago
- Due date deleted (
2024-02-06) - Status changed from Workable to Resolved
as discussed in the daily we consider all ACs covered by my changes. So closing
Updated by okurz 10 months ago
- Related to action #153802: Obsolete/remove former qam.suse.de DHCP/DNS davinci configuration or references size:M added