Virtualization

VMware vSphere 6 available memory resources in the parent resource pool are insufficient

VMware vSphere 6 available memory resources in the parent resource pool are insufficient

Recently, I ran into an odd issue with a VM that was configured in a three node VMware vSphere 6 cluster. ย The cluster housed about 30 other VMs that were functioning properly and had no issues. ย After powering off one VM in particular for some disk maintenance and attempting to power back on, the error popped up in vCenter: ย the available memory resources in the parent resource pool are insufficient for the operation. ย In this particular environment, we are using the VCSA 6 appliance.

resource01

The odd thing was, there were no resource pools that had been setup. ย Nothing was reserved and resources were wide open for the taking. ย All other VMs we tested powering off and back on (even those with more memory configured) had no issues powering back on.

After Googling quite a bit and not coming up with anything that fit our environment, I had the thought to bypass vCenter and attempt to power on the VM directly from the host. ย Bingo! ย The VM powered on without issueย and vCenter was happy as well showing the VM powering up and then powered up.

2015-12-09T17:03:12.122Z info vpxd[7F9A700] [Originator@6876 sub=drmLogger opID=623483199-0000040C-62-25] Drmdump written: /var/log/vmware/vpxd/drmdump/domain-c7/3648389000-mapVm.dump
2015-12-09T17:03:12.122Z warning vpxd[7F9A700] [Originator@6876 sub=drmLogger opID=623483199-0000040C-62-25] [Drm] RemovePoweringOnVms: removing TESTSQL because its mem min 1094741824 exceeds available resources 736527
2015-12-09T17:03:12.165Z error vpxd[7F9A700] [Originator@6876 sub=drmLogger opID=623483199-0000040C-62-25] DrmFault: reason powerOnVm, vm TESTSQL, host NotFoundObject, fault [N3Vim5Fault32InsufficientMemoryResourcesFaultE:0x7f9354f6eb30]

As you see above, vCenter thinks the TESTSQL VMย exceeds the available resources. ย What was also strange is that in addition to no reservations being setup, DRS was not at play either. ย The VMX files for the affected VM was also not the culprit:

sched.cpu.units = "mhz"
sched.cpu.latencySensitivity = "normal"
sched.scsi0:0.shares = "normal"
sched.scsi0:0.throughputCap = "off"
sched.scsi0:1.shares = "normal"
sched.scsi0:1.throughputCap = "off"
sched.scsi0:2.shares = "normal"
sched.scsi0:2.throughputCap = "off"
sched.scsi0:3.shares = "normal"
sched.scsi0:3.throughputCap = "off"
sched.scsi0:4.shares = "normal"
sched.scsi0:4.throughputCap = "off"
sched.cpu.min = "0"
sched.cpu.shares = "normal"
sched.mem.min = "0"
sched.mem.minSize = "0"
sched.mem.shares = "normal"

Resolution

The resolution in our case wasย reregistering the VM. ย When reregistering a VM,ย vCenter generates a new vmid or Inventory IDย that won’t be allocated any ghost reservations.

Procedure

  1. Power down the VM
  2. Log into vCenter
  3. Power off the VM
  4. Remove the affected VMย from vCenter in the web client –ย VMware KB on procedure
  5. Register the VM on vCenter – ย kb.vmware.com/kb/1006160
  6. From vCenter, power on the VM.

After powering down and reregistering the VM, the error went away for the affected VM.

If you have run into a similar bug with vSphere 6 or the VCSA appliance, please pass along your thoughts in the comments belowย as to any other alternate resolutions you may have come across.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.