While deploying Network Observability Deployment Engine (NODE) CaaS, users are seeing the following error:
TASK [Display Preflight Checks Report] ****************************************************************************************************************************************************************************************
******************************************************************
PREFLIGHT CHECKS REPORT FOR CONFIG
******************************************************************
- Cluster Name Presence : ✅ PASSED
cluster_name is defined.
- Ansible User Format : ✅ PASSED
ansible_user is valid.
- Admin Public Keys Path : ❌ FAILED
Keys path invalid or missing.
- Global IP Uniqueness : ✅ PASSED
All IPs unique.
- Control Plane Reachability : ✅ PASSED
All control plane IPs are reachable.
- Worker Node Reachability : ✅ PASSED
All worker nodes reachable.
- Ansible User Existence (netopsadmin) : ✅ PASSED
User 'netopsadmin' exists on all target nodes.
******************************************************************
SUMMARY:
Total Checks : 7
Passed : 6
Failed : 1
******************************************************************
TASK [preflight_checks_report : Generate and Display Preflight Report] ********************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed_count": 1, "msg": "CRITICAL: Pre-flight checks failed (1 failure(s)). See report above.", "passed_count": 6, "total_checks": 7}
to retry, use: --limit @/root/k8s-installer/scripts/ansible/prepare.retry
All Supported Releases
During a non-root installation, there is an additional variable required to specify the keys directory for the non-root user.
For a root installation, launching the deployment container will use the below command:
docker run \
--rm \
-e ANSIBLE_CONFIG=/root/k8s-installer/scripts/ansible/ansible.cfg \
-e LANG=en_US.UTF-8 \
-v $HOME/k8s-installer:/root/k8s-installer \
-v $HOME/.ssh:/root/.ssh \
-v $HOME/.kube:/root/.kube \
-v /etc/ssl/certs/:/etc/ssl/certs/ \
-v /etc/docker/:/etc/docker/ \
--network host \
-it localhost/deployment:2.8.0-944 \
bash
For a non-root installation (netopsadmin is the user in this case), users will need to add the line in bold:
sudo docker run \
--rm \
-e ANSIBLE_CONFIG=/root/k8s-installer/scripts/ansible/ansible.cfg \
-e LANG=en_US.UTF-8 \
-v $HOME/k8s-installer:/root/k8s-installer \
-v $HOME/.ssh:/root/.ssh \
-v $HOME/.kube:/root/.kube \
-v /etc/ssl/certs/:/etc/ssl/certs/ \
-v /etc/docker/:/etc/docker/ \
-v /home/netopsadmin/.ssh:/home/netopsadmin/.ssh:ro \
--network host \
-it localhost/deployment:2.8.0-944 \
bash