Unable to Hot-Add CPU
search cancel

Unable to Hot-Add CPU

book

Article ID: 388079

calendar_today

Updated On:

Products

VMware vSphere ESX 7.x VCF Operations/Automation (formerly VMware Aria Suite) VMware vCenter Server

Issue/Introduction

  • Hot-Add CPU failed with in vCenter with error "Requested number of processors 2 is more than 1 processors this virtual machine is configured for"
  • The VM resize operation failed with Aria Automation with error "Error from vCenter: Requested number of processors 2 is more than 1 processors this virtual machine is configured for."

 

Environment

  • vSphere 7.x
  • Aria Automation 8.x

Cause

The VM was deployed with an advanced parameter cpuid.coresPerSocket = "2" but the VM is configured for only 1 vCPU.

For more details on how to set the correct vCPU and cores per socket settings please see this article:

Setting the number of cores per CPU in a virtual machine

Resolution

Power Off the Virtual Machine and then add extra vCPU and then Power On.

Or from Aria Automation select the option Reboot Machine when using the Resize Action.