"Unable to apply DRS resource settings on host" error after reducing memory reservation of virtual machine
search cancel

"Unable to apply DRS resource settings on host" error after reducing memory reservation of virtual machine

book

Article ID: 427935

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • "Unable to apply DRS resource settings on host" is reported on vCenter after reducing memory reservation of virtual machine

 

  • the following message is seen:
    • vpxd.log
      warning vpxd[31068] [Originator@6876 sub=MoResGroup opID=HB-host-XXXX@20948-3b873f6b] Receive ConfigIssue when processing RP updates from host [vim.HostSystem:host-XXXX,XX.XX.XX.XX] type vim.fault.InvalidState on ManagedObject vim.ResourcePool:resgroup-XXXX for method vim.ResourcePool.updateChildResourceConfiguration 
    • hostd.log
      Hostd[2100467]: [vmsyslogd@6876 msgModified="sF+uT" remoteHostMaxMsgLen="480" originalMsgLen="490"] [Originator@6876 sub=Solo.Vmomi opID=HB-SpecSync-host-XXXX@20948-3b873f6b-dd-dbba sid=52f63630 user=vpxuser:<no user>] Activation finished; <<52f63630-f363-a6c9-94a8-9d3f54d7291d, <TCP 'XX.XX.XX.XX : 8307'>, <TCP 'XX.XX.XX.XX : 27720'>>, pool10, vim.ResourcePool.updateChildResourceConfiguration, <vim.version.v8_0_3_0, inte
      Hostd[2100467]: [Originator@6876 sub=Solo.Vmomi opID=HB-SpecSync-host-XXXX@20948-3b873f6b-dd-dbba sid=52f63630 user=vpxuser:<no user>] Arg spec:
      Hostd[2100440]: --> (vim.ResourceConfigSpec) [
      Hostd[2100440]: -->    (vim.ResourceConfigSpec) {
      Hostd[2100440]: -->       entity = 'vim.VirtualMachine:324', 
      Hostd[2100440]: -->       cpuAllocation = (vim.ResourceAllocationInfo) {
      Hostd[2100440]: -->          reservation = 0, 
      Hostd[2100440]: -->          limit = -1, 
      Hostd[2100440]: -->          shares = (vim.SharesInfo) {
      Hostd[2100440]: -->             shares = 32000, 
      Hostd[2100440]: -->             level = "custom"
      Hostd[2100440]: -->          }, 
      Hostd[2100440]: -->       }, 
      Hostd[2100440]: -->       memoryAllocation = (vim.ResourceAllocationInfo) {
      Hostd[2100440]: -->          reservation = 0, 
      Hostd[2100440]: -->          limit = -1, 
      Hostd[2100440]: -->          shares = (vim.SharesInfo) {
      Hostd[2100440]: -->             shares = 655360, 
      Hostd[2100440]: -->             level = "normal"
      Hostd[2100440]: -->          }, 
      Hostd[2100440]: -->          overheadLimit = 475, 
      Hostd[2100440]: -->       }, 
      Hostd[2100440]: -->    }
      Hostd[2100440]: --> ]
  •  
    • vmkernel.log
      vmkernel: cpu103:2100467 opID=f6dfe8a6)World: 12750: VC opID HB-SpecSync-host-XXXX@20948-3b873f6b-dd-dbba maps to vmkernel opID f6dfe8a6
      vmkernel: cpu103:2100467 opID=f6dfe8a6)SchedVsi: 2208: Group: host/user/pool10/vm.3312977/vmm.3312977(7853522): min=0 max=unlimited, units: mb
      vmkernel: cpu103:2100467 opID=f6dfe8a6)Admission failure in path: host/user/pool10/vm.3312977:vmmregbmp.3312977
      vmkernel: cpu103:2100467 opID=f6dfe8a6)vmmregbmp.3312977 (7853525) requires 4096 KB, asked 4096 KB from vm.3312977 (7853493) which has 67580132 KB occupied and 1616 KB available.
      vmkernel: cpu103:2100467 opID=f6dfe8a6)Admission failure in path: host/user/pool10/vm.3312977:vmmregbmp.3312977
      vmkernel: cpu103:2100467 opID=f6dfe8a6)vmmregbmp.3312977 (7853525) requires 4096 KB, asked 4096 KB from vm.3312977 (7853493) which has 67580132 KB occupied and 1616 KB available.

Environment

vCenter Server 8.0

Cause

This is caused due to a lack of consideration of overhead memory during reducing memory reservation of VM when large size memory are allocated to the vm.

Resolution

This issue is resolved in vCenter Server 8.0 U3.

Workaround:

  1. Power off the VM
  2. Wait for 5 minutes
  3. Power on the VM