...
The Summary tab of the ESXi/ESX host reports the warning: Unable to apply DRS resource settings on host. A general system error occurred: vim.fault.InvalidState. This can significantly reduce the effectiveness of DRS.Unable to apply DRS resource settings on host. There were too many consecutive overrides of the resource settings pushed from the cluster.. This can significantly reduce the effectiveness of DRS. In the vCenter vpxd.log 2018-10-20T01:00:23.781Z info vpxd[7F93F4C1D700] [Originator@6876 sub=vpxLro opID=HB-SpecSync-host-64@53767-1a461c7e] [VpxLRO] -- BEGIN lro-83952540 -- -- SpecSyncLRO.Synchronize --2018-10-20T01:00:28.075Z warning vpxd[7F93EFB7D700] [Originator@6876 sub=MoResGroup opID=4345eb86-575fd9be] Receive ConfigIssue when processing RP updates from host [vim.HostSystem:host-64,<hostname>] type vmodl.fault.ManagedObjectNotFound on ManagedObject vim.ResourcePool:resgroup-59392 for method vim.ResourcePool.updateConfig2018-10-20T01:00:28.075Z warning vpxd[7F93EFB7D700] [Originator@6876 sub=MoResGroup opID=4345eb86-575fd9be] Receive ConfigIssue when processing RP updates from host [vim.HostSystem:host-64,<hostname>] type vmodl.fault.ManagedObjectNotFound on ManagedObject vim.ResourcePool:resgroup-60336 for method vim.ResourcePool.updateConfig In ESXi vpxa.log 2018-10-20T01:00:23.802Z info vpxa[C18EB70] [Originator@6876 sub=vpxLro opID=HB-SpecSync-host-64@53767-1a461c7e-ea] [VpxLRO] -- BEGIN lro-406870 -- vpxa -- vpxapi.VpxaService.setConfig -- 525e0823-74e1-2a99-6dcc-04f8ca3a06d92018-10-20T01:00:23.815Z error vpxa[C18EB70] [Originator@6876 sub=vpxaVmomi opID=HB-SpecSync-host-64@53767-1a461c7e-ea] [VpxaClientAdapter::InvokeCommon] Re-throwing method-fault 'N5Vmomi5Fault21ManagedObjectNotFound9ExceptionE(vmodl.fault.ManagedObjectNotFound)--> [context]zKq7AUoCAgAAAGeTeQAsdnB4YQAAr8UtbGlidm1hY29yZS5zbwAAMloSAA/QDQEGeQxsaWJ2bW9taS5zbwABAfQaAX5NDQHcUg0C4J4VdnB4YQACM6EVATCNDwNJUMRsaWJ2aW0tdHlwZXMuc28AAvpOJQLxUCUC8VAlAsJVJQLrViUClR8lAnOqJQLTtCUCGrwfAufRGgIW/hoCm/4aBGGYCGxpYnZweGFwaS10eXBlcy5zbwAB9ygMAZpODAJG6igC0o4VAsniJwLpkicCEVkWAvLXJwJT9CcCkZInAs+ZJwLKTCgC/XsTAhFZFgBTNyAAfjsgAHWCIAC0Qi4FymwAbGlicHRocmVhZC5zby4wAAZOSQ1saWJjLnNvLjYA[/context]' received while invoking GetName on vim.ResourcePool:pool34 In ESXi hostd.log 2018-10-20T01:00:23.814Z info hostd[12D03B70] [Originator@6876 sub=Solo.Vmomi opID=HB-SpecSync-host-64@53767-1a461c7e-ea-a1d7 user=vpxuser:vpxuser] Activation [N5Vmomi10ActivationE:0x12a2d6c8] : Invoke done [GetName] on [vim.ResourcePool:pool34]2018-10-20T01:00:23.814Z info hostd[12D03B70] [Originator@6876 sub=Solo.Vmomi opID=HB-SpecSync-host-64@53767-1a461c7e-ea-a1d7 user=vpxuser:vpxuser] Throw vmodl.fault.ManagedObjectNotFound2018-10-20T01:00:23.814Z info hostd[12D03B70] [Originator@6876 sub=Solo.Vmomi opID=HB-SpecSync-host-64@53767-1a461c7e-ea-a1d7 user=vpxuser:vpxuser] Result:--> (vmodl.fault.ManagedObjectNotFound) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = <unset>,--> obj = 'vim.ResourcePool:pool34'--> msg = ""--> } In pools.xml and esx.conf file the pool34 still exists as below /etc/vmware/hostd/pools.xml <resourcePool id="0010"> <lastModified>2018-09-28T16:30:42.377888Z</lastModified> <name>pt-sales</name> <objID>pool34</objID> <path>host/user/pool24/pool34</path> </resourcePool> In /etc/vmware/esx.conf/resourceGroups/root/child[0001]/child[0000]/child[0000]/name = "pool34"/resourceGroups/root/child[0001]/child[0000]/child[0000]/cpu/maximum = "unlimited"/resourceGroups/root/child[0001]/child[0000]/child[0000]/cpu/minimum = "0"/resourceGroups/root/child[0001]/child[0000]/child[0000]/cpu/shares = "84"/resourceGroups/root/child[0001]/child[0000]/child[0000]/cpu/minLimit = "unlimited"/resourceGroups/root/child[0001]/child[0000]/child[0000]/cpu/units = "mhz"/resourceGroups/root/child[0001]/child[0000]/child[0000]/mem/maximum = "unlimited"/resourceGroups/root/child[0001]/child[0000]/child[0000]/mem/minimum = "1322"/resourceGroups/root/child[0001]/child[0000]/child[0000]/mem/shares = "2856"/resourceGroups/root/child[0001]/child[0000]/child[0000]/mem/minLimit = "unlimited"/resourceGroups/root/child[0001]/child[0000]/child[0000]/mem/units = "mb"Note:The preceding log excerpts are only examples.Date,time and environmental variables may vary depending on your environment
To correct the error message.
From vpxa perspective the removal failed and pool34 still exists. From hostd perspective also exist, but the actual object is unregistered, so any attempt to call anything on it results in ManagedObjectNotFound.
No Impact
This issue is resolved in VMware vSphere ESXi 6.5 U2. To download go to VMware Downloads
To work around this issue, restart the management agents on the ESXi/ESX host. For more information, see Restarting the Management agents on an ESX or ESXi Server (1003490). For more information on VMware Distributed Resource Scheduler (DRS) settings and troubleshooting steps, see Applying DRS settings to an ESX host generates an error (1004667).
VMware Skyline Health Diagnostics for vSphere - FAQ"Unable to apply DRS resource settings on host" error in vCenter ServerRestarting the Management agents in ESXiApplying DRS settings to an ESX or ESXi host generates an errorESXi/ESX ホストの [サマリ] タブに次の警告が表示される:DRS リソース設定をホストに適用できませんESXi/ESX 主机的“摘要”选项卡报告警告“无法在主机上应用 DRS 资源设置”