9 Replies Latest reply on Oct 8, 2019 1:57 PM by rdaka

    Reconfigure VM via vRO failing with error Unknown field: provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector?

    Illusion_02 Lurker

      I am using vRA request resource with below sample properties.

       

      vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.Requestor" , "service@domain.local");
      vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.Storages" , "[]");
      vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.Networks" , "[]");
      vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector" , 1);
      vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.CpuCount" , newCpuCount.toString());
      vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.PropertyBag" , '[{"PropertyName": "VirtualMachine.Core.Count","PropertyValue": "2"}');

      vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.MemorySize" , newMemorySizeMb.toString());

       

      I am getting below error:

      2018-06-08 13:54:42.375] [I] Accepted inputs:

      [2018-06-08 13:54:42.387] [I]  - provider-MachineName

      [2018-06-08 13:54:42.395] [I]  - provider-machineId

      [2018-06-08 13:54:42.402] [I]  - provider-operationId

      [2018-06-08 13:54:42.410] [I] Filling in resource action request...

      [2018-06-08 13:54:42.427] [E] (com.vmware.library.vcaccafe.request/requestResourceAction) Error in (Dynamic Script Module name : requestResourceAction#11) Unknown field: provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector

       

      Can anyone suggest what can be the issue?