VMware {code} Community
pirho
Contributor
Contributor

ResourcePools cpuLimit failing to invalidProperty

Hi!

I'm having problems with VMware vCenter Server 4.0.0 build-20811 and SDK.

I'm using C# and setting ResourcePoolsCpuLimit is not working.

This feature worked correctly in VMware vCenter Server 4.0.0 build-162856.

Server exception:

Caught SoapException - Actor : Code : ServerFaultCode Detail XML : <detail><In

validArgumentFault xmlns="urn:vim25" xsi:type="InvalidArgument" xmlns:xsi="http:

//www.w3.org/2001/XMLSchema-instance"><invalidProperty>cpuAllocation.reservation

</invalidProperty></InvalidArgumentFault></detail>

I'm using newest SDK.

Same problem arises when trying to change limit from PowerCLI, even with update U1:

C:\Program Files\VMware\Infrastructure\vSphere PowerCLI> Set-ResourcePool -Resourcepool $r -CpuLimitMHZ 1000

Set-ResourcePool : 26.4.2010 11:50:41 Set-ResourcePool 1206C910-4F5C-417B-B137-A396C980B6EB A specified parameter was not correct.

cpuAllocation.reservation

At line:1 char:17

+ Set-ResourcePool <<<< -Resourcepool $r -CpuLimitMHZ 1000

0 Kudos
1 Reply
pirho
Contributor
Contributor

Resourcepool that I was trying to use was enabled in LabManager.

It seems that somekind of marriage between LabManager and vSphere disallows setting cpuLimit LOWER than value that was assigned when resourcepool was created.

0 Kudos