Error: "Internal Server Error" and/or "Admission control failed for VRP" when editing CPU value or powering on a VM or vApp in a Flex Organization VDC
search cancel

Error: "Internal Server Error" and/or "Admission control failed for VRP" when editing CPU value or powering on a VM or vApp in a Flex Organization VDC

book

Article ID: 428814

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When trying to edit the CPU value or power on any VM or vApp in a Flex Allocation Model Organization VDC, the following errors is seen in the Cloud Director (VCD) UI:

Internal Server Error - ValidationException OUT_OF_VRP_CONFIGURED_CPU_RESOURCES Admission control failed for VRP

  • In the /opt/vmware/vcloud-director/logs/vcloud-container-debug.log on the VCD Cells,  following errors is seen:

    Total CPU required for all VMs in the VRP including current VM being deployed [{#}MHz] is greater than VRP maxResourceValue {#}MHz

Environment

VMware Cloud Director 10.6.1.x

Cause

This issue occurs when virtual machines deployed overcommits CPU 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 (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.