Symptoms:
- ENTER MAINTENANCE DRYRUN CHECK Precheck fails with Error : Error during enter MAINTENANCE check due to InsufficientResourcesFault
- In lcm.log you will see similar entries as below
YYYY-MM-DDTHH:MM:SS.XXXX ERROR [0000000000000000,0000,precheckId=180134f2-####-####-####-##########70,resourceType=NSX,resourceId=af69be13-####-####-####-##########24] [c.v.e.s.l.c.v.vsphere.VsphereUtils,pool-2-thread-449] Error during enter MAINTENANCE check due to InsufficientResourcesFault { "_msg": "Insufficient resources.", "_faultMsg": [ { "key": "com.vmware.cdrs.maintenancemode.clusterLoadViolated", "arg": [ { "key": "threshold", "value": 80 }, { "key": "clustload", "value": 92 }, { "key": "resource", "value": "memory" } ], "message": "Host cannot enter maintenance mode since the resulting cluster memory load (92%) exceeds the tolerence threshold (80%)." } ], "stackTrace": [], "suppressedExceptions": [] }
- You may notice similar message as below
Error description: the virtual machine is pinned to a host: Insufficient resources.
Impact: High: Do not perform upgrade without addressing this issue.
Remediation: This category is for errors that were not due to general exceptions. Check for errors in error object, check LCM logs –InsuffcientResourceFault: Check the HA settings in the VC UI. See if the error is due to HA configuration KB:
https://kb.vmware.com/s/article/2005073 Or This issue occurs when the CPU resource reservations of the virtual machine exceed the available capacity on the target host. KB :https://kb.vmware.com/s/article/1031306
- In lcm.log you will see similar message as below
Error during enter MAINTENANCE check due to InsufficientResourcesFault
"Host cannot enter maintenance mode since the resulting cluster memory load (81%) exceeds the tolerence threshold (80%)
Host cannot enter maintenance mode since the resulting cluster cpu load (89%) exceeds the tolerence threshold
YYYY-MM-DDTHH:MM:SS.XXXX ERROR [0000000000000000,0000,precheckId=2722bf5e-####-####-####-##########45,resourceType=ESX,resourceId=c71c0021-####-####-####-##########80] [c.v.e.s.l.c.v.vsphere.VsphereUtils,pool-2-thread-64] Error during enter MAINTENANCE check due to InsufficientResourcesFault { "_msg": "Insufficient resources.", "_faultMsg": [ { "key": "com.vmware.cdrs.maintenancemode.clusterLoadViolated", "arg": [ { "key": "threshold", "value": 80 }, { "key": "clustload", "value": 81 }, { "key": "resource", "value": "memory" } ], "message": "Host cannot enter maintenance mode since the resulting cluster memory load (81%) exceeds the tolerence threshold (80%)." } ], "stackTrace": [], "suppressedExceptions": [] }
YYYY-MM-DDTHH:MM:SS.XXXX WARN [0000000000000000,0000,precheckId=2722bf5e-####-####-####-##########45,resourceType=ESX,resourceId=c71c0021-####-####-####-##########80] [c.v.v.v.c.h.i.HttpConfigurationCompilerBase$ConnectionMonitorThreadBase,pool-2-thread-64] Shutting down the connection monitor.
YYYY-MM-DDTHH:MM:SS.XXXX WARN [0000000000000000,0000] [c.v.v.v.c.h.i.HttpConfigurationCompilerBase$ConnectionMonitorThreadBase,VLSI-client-connection-monitor-254] Interrupted, no more connection pool cleanups will be performed.
Note: The preceding log excerpts are only examples .Date,time and environmental variables may vary depending on your environment.