Troubleshoot Air-Gap Installation Failure
Problem
The air-gap installation fails with the following error:
TASK [kubernetes/master : Activate etcd backup cronjob] ******************************************************************** fatal: [192.xx.xx.2]: FAILED! => changed=true cmd: - kubectl - apply - -f - /etc/kubernetes/etcd-backup.yaml delta: '0:00:00.197012' end: '2022-09-13 13:46:31.220256' msg: non-zero return code rc: 1 start: '2022-09-13 13:46:31.023244' stderr: The connection to the server 192.xx.xx.2:6443 was refused - did you specify the right host or port? stderr_lines: <omitted> stdout: '' stdout_lines: <omitted>
Solution
The
air-gap installation as
well as the kube-apiserver
fail
because you do not have an existing /etc/resolv.conf
file.
To create a new file,
you
must run the #touch /etc/resolv.conf
command
as the root
user,
and
then redeploy the Paragon Automation cluster.