“Internal Server Error - ValidationException ”OUT_OF_VRP_CONFIGURED_MEMORY_RESOURCES” or ”OUT_OF_VRP_CONFIGURED_CPU_RESOURCES” Admission control failed for VRP when powering on VM or vApp in a Flex Organization VDC in VMware Cloud Director
search cancel

“Internal Server Error - ValidationException ”OUT_OF_VRP_CONFIGURED_MEMORY_RESOURCES” or ”OUT_OF_VRP_CONFIGURED_CPU_RESOURCES” Admission control failed for VRP when powering on VM or vApp in a Flex Organization VDC in VMware Cloud Director

book

Article ID: 320419

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Observing error as below when trying to power on any VM in a Flex Allocation Model Organization VDC.
    • Scenario 1: Error “Internal Server Error - ValidationException OUT_OF_VRP_CONFIGURED_CPU_RESOURCES Admission control failed for VRP"
    • Scenario 2: Error "Internal Server Error - ValidationException OUT_OF_VRP_CONFIGURED_MEMORY_RESOURCES Admission control failed for VRP"
  • In the vcloud-container-debug.log, you observe the respective error
    • Scenario 1:Total CPU required for all VMs in the VRP including current VM being deployed [{x} MHz] is greater than VRP maxResourceValue {x} MHz.” 
    • Scenario 2:Total Memory required for all VMs in the VRP including current VM being deployed [{x} MB] is greater than VRP maxResourceValue {x} MB.
  • The amount of CPU allocated to the Organization VDC is in MHz or GHz and the amount of Memory allocated to the Organization VDC is in MB or GB.



Environment

VMware Cloud Director 10.x

Cause

This issue occurs when virtual machines deployed overcommits CPU or Memory resources allocated in the Flex Organization VDC.

Resolution

The Resource allocation of a VDC defines the capacity of the respective resource for the particular VDC. The total units of the resource used by all VMs running in the Organization VDC cannot exceed this value.

Scenario 1: CPU overcommitted

The CPU allocation of a VDC defines the capacity of CPU for the particular VDC. The total units of the CPU used by all VMs running in the Organization VDC cannot exceed this value.

Set the CPU limit for all virtual machines combined to be equal or less than CPU Allocated in the Flex Organization VDC.

Workaround:

  1. Log into Provider portal.
  2. From left, select “Organization VDCs”.
  3. Find our Flex Organization VDC by name.
  4. From Allocation, under CPU section, note the CPU limit value.
  5. Open the Flex Organization VDC portal in Tenant portal.
  6. Total values of CPU limit for all virtual machines combined in the Flex Organization VDC must less than or equal the CPU limit in step no. 4. 
  7. Either increase the Allocation value at the VDC level, or power off VMs and reduce the number of vCPUs assigned to reflect the limit.

Scenario 2: Memory overcommitted

The Memory allocation of a VDC defines the capacity of Memory for the particular VDC. The total units of the Memory used by all VMs running in the Organization VDC cannot exceed this value.

Set the Memory limit for all virtual machines combined to be equal or less than Memory Allocated in the Flex Organization VDC.

Workaround:

  1. Log into Provider portal.
  2. From left, select “Organization VDCs”.
  3. Find our Flex Organization VDC by name.
  4. From Allocation, under Memory section, note the Memory limit value.
  5. Open the Flex Organization VDC portal in Tenant portal.
  6. Total values of Memory limit for all virtual machines combined in the Flex Organization VDC must less than or equal the Memory limit in step no. 4. 
  7. Either increase the Allocation value at the VDC level, or power off VMs and reduce the Memory assigned to reflect the limit.