Symptoms:
After upgrading VMware vCenter to version 6.5 or later:
- Patching ESXi hosts at the cluster level or higher with VMware Update Manager (VUM) fails if HA is enabled and the cluster contains only two hosts.
- In the /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server-log4cpp.log file, you see entries similar to:
[2018-01-19 23:43:33:006 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 972] No of hosts being passed to DRS API : 2
[2018-01-19 23:43:33:006 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 1012] Using Demand capacity ratio target value 150
[2018-01-19 23:43:33:006 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 1020] Calling DRS API for enter maintenance mode
[2018-01-19 23:43:33:013 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 ERROR] [vciClusterJobSchedulerTask, 1035] DRS API returned faults
[2018-01-19 23:43:33:013 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 ERROR] [vciClusterJobSchedulerTask, 1040] No current remediation is going on so address the faults
[2018-01-19 23:43:33:013 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 ERROR] [vciClusterJobSchedulerTask, 1044] No of returned faults : 4
[2018-01-19 23:43:33:014 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 ERROR] [vciClusterJobSchedulerTask, 1053] Name of VM that caused fault : Test1
[2018-01-19 23:43:33:016 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 1071] DRS API indicates no active host available in cluster. Discarding fault.
[2018-01-19 23:43:33:017 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 ERROR] [vciClusterJobSchedulerTask, 1053] Name of VM that caused fault : Test2
[2018-01-19 23:43:33:019 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 1071] DRS API indicates no active host available in cluster. Discarding fault.
[2018-01-19 23:43:33:020 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 ERROR] [vciClusterJobSchedulerTask, 1053] Name of VM that caused fault : Test3
[2018-01-19 23:43:33:022 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 1071] DRS API indicates no active host available in cluster. Discarding fault.
[2018-01-19 23:43:33:022 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 1122] Fault caused by Host state
[2018-01-19 23:43:33:022 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 1160] No of hosts recommended by DRS API : 0
[2018-01-19 23:43:33:022 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 440] DRS API did not return any hosts
[2018-01-19 23:43:33:022 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 473] Mmode failure choice is retry
[2018-01-19 23:43:33:022 'VciTaskBase.VciClusterJobDispatcherTask{17}' 139968768141056 INFO] [vciClusterJobSchedulerTask, 1364] No of attempts: 0 for host host-131
Note: For Windows deployments, the log is located in C:\Documents and Settings\All Users\Application Data\VMware\Update Manager\ by default.