VMHA Stuck in "Waiting"
Problem
VMHA remains stuck in the "waiting" state during enablement.
Environment
Private Cloud Director Virtualization – v2025.4 and Higher
Self-Hosted Private Cloud Director Virtualization – v2025.4 and Higher
Cause
A decommissioned host was still listed in Nova's service records. Because of this, VMHA tried to use that host during setup, which caused an error and left the VMHA stuck in the "waiting" state.
Diagnostics
Check VMHA logs:
$ kubectl exec deploy/hamgr -n <REGION_NAMESPACE> -- cat/var/log/pf9/hamgr/hamgr.log | grep -A1 'Enabling HA'Enabling HA on some of the hosts [...] including host '[HOST-ID]'
WARNING Role status of host [HOST-ID] is not okList compute services and validate if any of the hypervisors are showing the "Status" as
disabledand "State"down
List hypervisors and validate host mapping. In the sample output, we see that the node
[HOST2.EXAMPLE.COM]is in adownstate. we can check its associatedservice IDto validate the host mapping
Resolution
Identify the stale compute service entry from the output of the below command. In the sample output we see the node
HOST2.EXAMPLE.COMis down.
Delete the stale service using below command, post deletion of the stale entry we will still have minimum two working hypervisors as per the requirement of enabling VMHA
Wait for the VMHA to retry the operation automatically, or disable and re-enable VMHA to trigger a fresh attempt.
Validation:
Ensure VMHA state transitions from
waitingtoenabled.Confirm no additional stale hosts remain.
Additional Information:
At minimum two working hypervisors are needed for enabling VMHA
Last updated
