DNS Validation failed from Container in Active-Passive Automation Suite Setup
Scenario: Encountered Issue while upgrading installing Automation Suite Version 2023.10.2. Fabric failed with the error message
- NO IP ADDRESS FOUND FROM CONTAINER.
Symptoms:
- Fabric Failed with NO IP ADDRESS FOUND Error
- Check DNS resolution via DIG command on cluster ip.
dig @10.43.0.10 alm.fqdn
above command should display A record against give FQDN if not then follow the resolution steps.
Error Screenshot:
Resolution:
- This issue can occur due to multiple FQDN configured in cluster config hence request rewriting is failing.
- To fix this check config map of CORE DNS with the command: kubectl get cm -A | grep coredns
- Take the backup of the coredns config map before editing with the command: kubectl get cm rke2-coredns-rke2-coredns -n kube-system -o yaml > rke2-coredns-rke2-coredns-backup.yaml
- Modify the CoreDNS config map after completing the backup with the command: kubectl edit cm rke2-coredns-rke2-coredns -n kube-system
- Remove line number 9 and save it.
- Re-Run Fabric Installer.
Resolution Screenshots: