Virtualization

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 has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon 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.

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.