Powering on a virtual machine fails with the error: memoryAllocation.reservation
search cancel

Powering on a virtual machine fails with the error: memoryAllocation.reservation

book

Article ID: 338772

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • When vSphere Client is connected to the vCenter Server, virtual machines in a DRS cluster (with admission control disabled) may fail to power on
  • You see the error:

    A specified parameter was not correct. memoryAllocation.reservation
     
  • The hostd logs contain entries similar to:

    [ResPoolAlgo] Checking admissibility of VM id: vm-12345, name: <VM_name> under respool
    id: resgroup-23456, name: Resources
    [VpxLRO] -- ERROR task-42920 -- vm-12345-- Drm.ExecuteVmPowerOnLRO:
    vmodl.fault.InvalidArgument: (vmodl.fault.InvalidArgument) {
    dynamicType = <unset>,
    invalidProperty = "memoryAllocation.reservation",
    msg = ""
    }


Environment

VMware vCenter Server 4.0.x
VMware vCenter Server 4.1.x

Resolution

This can occur if any one of the virtual machines in the cluster has a memory reservation that is greater than the memory limit set on that same virtual machine.
 
To resolve this issue, check the memory reservations and memory limits for all virtual machines in the cluster to ensure that no virtual machine in the cluster has a memory reservation that is greater than its memory limit. For a general guide to determine your overhead memory requirements, see the vSphere Resource Management Guide.

Alternatively, you can work around this issue by disabling DRS. This allows virtual machines to power up successfully. For more information, see Disabling VMware Distributed Resource Scheduler (1007655).

Note: Disabling DRS removes all the resource pools in the cluster. It also disables DPM. VMware recommends that you bring all hosts out of standby before disabling the DRS feature. For information on retaining resource pools, see Retaining resource pools when disabling VMware DRS clusters (1004793).


Additional Information

For related information, see Cannot power on a virtual machine and you receive an Admission Check Failed error (1018180). Retaining resource pools when disabling VMware DRS clusters
Disabling VMware Distributed Resource Scheduler
Powering on a virtual machine fails with the error: Admission check failed for memory resource
仮想マシンをパワーオンしようとすると次のエラーで失敗する: memoryAllocation.reservation
Failed to power on virtual machine