Virtual Machine may fail to power on with error: "All required agent virtual machines are not currently deployed on host 'hostname'" When NSX is configured in your environment
search cancel

Virtual Machine may fail to power on with error: "All required agent virtual machines are not currently deployed on host 'hostname'" When NSX is configured in your environment

book

Article ID: 408640

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • You may experience this is if an ESXi was recently disconnected from vCenter inventory recently and on reconnect, when trying to power on VMs following error may be seen: 

"All required agent virtual machines are not currently deployed on host 'hostname'" in seen in the UI."

  • You have NSX configured in the environment and may be running Horizon VMs
  • If you navigate to Administration > vSphere Client Extensions > VMware ESX Agent Manager > Configure in vCenter Server, we see "Warning" or "Alert" for the status of the NSX extension
  • When you access NSX UI, you can see it is in a "disconnected" state from vCenter Server 
  • You try to reconfigure and add in NSX account password to complete this, error like below may be seen indicating password expiring of the account: 

Environment

vCenter Server 8.x

ESXi 8.x

NSX 

Cause

Due to NSX being in a disconnected state with vCenter, the extension for NSX is not connected/operating as expected and VMs are unable to be powered on 

This may occur due to an expired service account password causing NSX to be in a disconnected state 

Resolution

To resolve the issue please update the NSX account password through vCenter UI and reconfigure the connection. 

  • Navigate to the user account in vCenter Server under Administrator -> Groups and Users -> selecting domain --> select to edit user with expired password
  • Update the password here for the account and save the changes 
  • Navigate to NSX UI and select to edit configuration
  • Provide the updated password here and select to save changes 

In NSX, we should now see that connection is re-established 

This should sync quickly with vCenter and VMs should be powering on without further error

 

Additional Information