Aria Automation re-trust with VMware Identity Manager fails at Stage 17 during certificate replacement in Aria Suite Lifecycle
search cancel

Aria Automation re-trust with VMware Identity Manager fails at Stage 17 during certificate replacement in Aria Suite Lifecycle

book

Article ID: 442599

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

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).

  • LCM Error: com.vmware.vrealize.lcm.common.exception.EngineException: vRealize Automation virtual appliance initialization failed.
  • Aria Automation Logs: /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'))
  • Pod Status: kubectl get pods -n prelude may show identity-service-app in a 0/1 or CrashLoopBackOff state.

Environment

Aria Automation 8.18.1

Cause

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.

Resolution

Perform a clean restart of the orchestration services on the impacted Aria Automation node(s) to restore connectivity to the Kubernetes API.

  1. Identify the impacted node: SSH into each Aria Automation appliance and check the status of the Kubernetes API:
    systemctl status kube-apiserver
  2. Restart Services: On any node where services are not "active (running)" or the API is unreachable, execute a restart of the container engine and kubelet:
    service kubelet stop
    service docker stop
    # Wait 10 seconds for processes to clear
    service docker start
    service kubelet start
  3. Verify K8s Health: Ensure you can reach the local API:
    kubectl get nodes
  4. Resume LCM Task: Return to Aria Suite Lifecycle Manager and click Retry on the failed certificate replacement request.