When attempting to replace the VMware Identity Manager (vIDM) certificate using Aria Suite Lifecycle (LCM), the task fails at Stage 17 (Re-trust Aria Automation to vIDM).
com.vmware.vrealize.lcm.common.exception.EngineException: vRealize Automation virtual appliance initialization failed./var/log/deploy.log or vracli outputs show: urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='vra-k8s.local', port=6443): Max retries exceeded (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))kubectl get pods -n prelude may show identity-service-app in a 0/1 or CrashLoopBackOff state.Aria Automation 8.18.1
This issue occurs when the internal Kubernetes API or orchestration services (kubelet, docker, or kube-apiserver) on one or more Aria Automation nodes are unhealthy or stopped. Since the re-trust process relies on the vracli utility to communicate with the internal K8s API to update secrets and configurations, the task fails if the API is unreachable.
Perform a clean restart of the orchestration services on the impacted Aria Automation node(s) to restore connectivity to the Kubernetes API.
systemctl status kube-apiserver
service kubelet stop service docker stop # Wait 10 seconds for processes to clear service docker start service kubelet start
kubectl get nodes