Failed getting host recommendation from DRS to enter maintenance mode for cluster. No host is compatible with the virtual machine.
search cancel

Failed getting host recommendation from DRS to enter maintenance mode for cluster. No host is compatible with the virtual machine.

book

Article ID: 389632

calendar_today

Updated On: 06-17-2025

Products

VMware vSphere ESXi

Issue/Introduction

In vCenter, 'Apply solution' tasks continuously fail and throwing below error :

A general system error occurred: Failed getting host recommendation from DRS to enter maintenance mode for cluster '#####'. Reason: 'No host is compatible with the virtual machine.'

Environment

vSphere Replication 8.x
vSphere Replication 9.x
VMware vSphere ESXi 

Cause

Apply Solution task is initiated by vSphere Replication solution to install correct vmware-hbr-agent. 

Resolution

    1.  Check if the vmware-hbr-agent is installed. If installed, verify the versions in vmware-hbr-agent  &  vmware-hbrsrv 
    2. If there is version mismatch, push correct vib to all ESXi hosts manually by following below steps.
      1. On VR, run below command, it will list out the vib with its path. 
        • #find / -iname vmware-hbr-agent*
          • Example : /opt/vmware/hbr/vib/vmware-hbr-agent-8.0.3-0.0.23960048.i386.vib
      2. WinScp vib to ESXi /tmp folder
        • /tmp/mware-hbr-agent-8.0.3-0.0.23960048.i386.vib
      3. On ESXi host
        1. #esxcli software vib remove -n vmware-hbr-agent
        2. #esxcli software vib install -v /tmp/"vib file name"
          • For example: esxcli software vib install -v /tmp/mware-hbr-agent-8.0.3-0.0.23960048.i386.vib
        3. Confirm the installed vib version.
          • #esxcli software vib list | grep hbr

Additional Information

For the error  : A general system error occurred: Failed getting host recommendation from DRS to enter maintenance mode for cluster 'ESXi Cluster'. Reason: 'There are no active hosts in the cluster.' See Failed getting host recommendation from DRS to enter maintenance mode for cluster. There are no active hosts in the cluster