VCAC version:VMware-vCAC-Appliance-6.0.1.1-1768531_OVF10
As I successfully editted VM from vCAC's web page, I tried to send a edit request by calling "Request a resource action". But the request affected nothing of the target VM.
The request from workflow could be displayed in vCAC's web page 'correctly'. Here 'correctly' means, the cpu count and memory size displayed in web were as setted in worklfow.
I observed the difference between the request from web and the request from workflow: the request from web triggered a Reconfigure (the state of the target VM in item list is Reconfigure), but the request from workflow did not.
What is the possible cause for this problem?
The request data from vCAC web:
LiteralMap[values={provider-operationId=Infrastructure.Machine.Action.Reconfigure, provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector=1, provider-Cafe.Shim.VirtualMachine.Reconfigure.RequestDate=8/18/2014 12:51:00 PM, provider-machineId=a151e9ef-add5-436f-bc35-f963b6e7f0e7, provider-Cafe.Shim.VirtualMachine.Reconfigure.PowerActionSelector=0, provider-Cafe.Shim.VirtualMachine.Reason=, provider-Cafe.Shim.VirtualMachine.Reconfigure.Requestor=1, provider-TARGET_MACHINE_NAME=MP31, provider-Cafe.Shim.VirtualMachine.Reconfigure.PropertyBag=[{"PropertyName":"VirtualMachine.Admin.AgentID","PropertyValue":"faab3542-1d3c-e5b1-d847-900e0a8147c5","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.HostIdentity","PropertyValue":"192.168.1.161/datacenter/host/cluster","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.Hostname","PropertyValue":"cluster","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.TotalDiskUsage","PropertyValue":"10240","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.UUID","PropertyValue":"4235abfa-3c1d-b1e5-d847-900e0a8147c5","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.CPU.Count","PropertyValue":"1","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Memory.Size","PropertyValue":"1024","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Storage.Name","PropertyValue":"datastore2","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"Vrm.ProxyAgent.Uri","PropertyValue":"https://vcaciaas.sytest.com/VMPS2","IsHidden":false,"IsRuntime":false,"IsEncrypted":false}], provider-Cafe.Shim.VirtualMachine.Reconfigure.MemorySize=1048, provider-Cafe.Shim.VirtualMachine.Reconfigure.Storages=[{"ExternalId":"6000C291-eb25-1ad1-c46a-9465ba9a57d1","CapacityInGB":10,"StoragePath":"datastore2","StoragePolicy":null,"StoragePolicyMode":null,"Label":null,"Device":null,"CustomProperties":[{"PropertyName":"Name","PropertyValue":"Harddisk1","IsHidden":false,"IsRuntime":false,"IsEncrypted":false}]}], provider-Cafe.Shim.VirtualMachine.Reconfigure.Networks=[{"NetworkName":"VM Network","MacAddress":"00:50:56:b5:61:5e","CustomProperties":[]}], provider-Cafe.Shim.VirtualMachine.Reconfigure.CpuCount=1}]
**I changed a unicode charactor to "Harddisk1" when I create this post.
The request data from workflow:
LiteralMap[values={provider-operationId=Infrastructure.Machine.Action.Reconfigure, provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector=1, provider-Cafe.Shim.VirtualMachine.Reconfigure.RequestDate=2014/8/17 2:55:00, provider-Cafe.Shim.VirtualMachine.Reconfigure.PowerActionSelector=0, provider-machineId=a151e9ef-add5-436f-bc35-f963b6e7f0e7, provider-Cafe.Shim.VirtualMachine.Reason=, provider-TARGET_MACHINE_NAME=MP31, provider-Cafe.Shim.VirtualMachine.Reconfigure.PropertyBag=[{"PropertyName":"VirtualMachine.Admin.AgentID","PropertyValue":"faab3542-1d3c-e5b1-d847-900e0a8147c5","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.HostIdentity","PropertyValue":"192.168.1.161/datacenter/host/cluster","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.Hostname","PropertyValue":"cluster","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.TotalDiskUsage","PropertyValue":"10240","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.UUID","PropertyValue":"4235abfa-3c1d-b1e5-d847-900e0a8147c5","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.CPU.Count","PropertyValue":"1","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Memory.Size","PropertyValue":"1024","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Storage.Name","PropertyValue":"datastore2","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"Vrm.ProxyAgent.Uri","PropertyValue":"https://vcaciaas.sytest.com/VMPS2","IsHidden":false,"IsRuntime":false,"IsEncrypted":false}], provider-Cafe.Shim.VirtualMachine.Reconfigure.MemorySize=1500, provider-Cafe.Shim.VirtualMachine.Reconfigure.Storages=[{"ExternalId":"6000C291-eb25-1ad1-c46a-9465ba9a57d1","CapacityInGB":10,"StoragePath":"datastore2","StoragePolicy":null,"StoragePolicyMode":null,"Label":null,"Device":null,"CustomProperties":[{"PropertyName":"Name","PropertyValue":"HardDisk1","IsHidden":false,"IsRuntime":false,"IsEncrypted":false}]}], provider-Cafe.Shim.VirtualMachine.Reconfigure.Networks=[{"NetworkName":"VM Network","MacAddress":"00:50:56:b5:61:5e","CustomProperties":[{"PropertyName":"DnsSearchSuffixes","PropertyValue":"","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"DnsSuffix","PropertyValue":"","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"Gateway","PropertyValue":"192.168.1.1","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"PrimaryDns","PropertyValue":"192.168.1.1","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"PrimaryWins","PropertyValue":"","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"SecondaryDns","PropertyValue":"","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"SecondaryWins","PropertyValue":"","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"SubnetMask","PropertyValue":"255.255.255.0","IsHidden":false,"IsRuntime":false,"IsEncrypted":false}]}], provider-Cafe.Shim.VirtualMachine.Reconfigure.CpuCount=2}]
The 2 request data are almost the same, except that provider-Cafe.Shim.VirtualMachine.Reconfigure.Requestor is missing in workflow's request.
If I put it in request, I get "Exception during request callback with id 5f57a568-68a9-4e42-a70a-41fd8f364e25 for item a151e9ef-add5-436f-bc35-f963b6e7f0e7. Error Message: [Error code: 42000 ] - [Error Msg: Infrastructure service provider error]"
BTW, I successfully editted VM's description from workflow.
Hi
We are trying to change the VM specs(cpu,Memory) using the "Request a resource action" workflow but we are experiencing the same issue as the changes are not happening on VM but shows up successful in VCAC.
Did you find any workaround for this.
Regards,
Deepak M.
"BTW, I successfully editted VM's description from workflow."
Hello, that is exactly what I am trying to do without success, what field did you request the change on to modify the VM description ?
Thank you in advance.
Hi, I am trying to reconfigure VM compute resource value(Memory) from vCO workflow (Request a resource action), but I am facing difficulty in providing Inputs.
Request data from vCAC:-
LiteralMap[values={provider-operationId=Infrastructure.Machine.Action.Reconfigure, provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector=1, provider-Cafe.Shim.VirtualMachine.Reconfigure.RequestDate=10/21/2015 9:36:00 AM, provider-machineId=81f49183-26a6-4ede-80ad-9793e6ce8096, provider-Cafe.Shim.VirtualMachine.Reconfigure.PowerActionSelector=2, provider-Cafe.Shim.VirtualMachine.Reason=, provider-Cafe.Shim.VirtualMachine.Reconfigure.Requestor=4, provider-MachineName=Bang6Win159, provider-Cafe.Shim.VirtualMachine.Reconfigure.PropertyBag=[{"PropertyName":"blueprintId","PropertyValue":"ab8ea7eb-0bc8-451a-b982-6db764a01518","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"ExternalWFStubs.WFvCOMachineMenu1","PropertyValue":"4c2029db-d5fe-492f-9abb-33314ee444b2","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"provisioningGroupId","PropertyValue":"a73698b2-2e47-4a77-955d-1dd39bdf1bd9","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.AgentID","PropertyValue":"7c600d42-164b-35df-ef4f-165fe0cba671","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.HostIdentity","PropertyValue":"XX.XX.XXX.XXX/BNG_DC_VMW/host/VMW_Cluster","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.Hostname","PropertyValue":"VMW_Cluster","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.TotalDiskUsage","PropertyValue":"40","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Admin.UUID","PropertyValue":"500d3eed-e78e-3762-ab3a-7e81dc4d2fd4","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.CPU.Count","PropertyValue":"4","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.LeaseDays","PropertyValue":"2","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Memory.Size","PropertyValue":"4096","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Request.Layout","PropertyValue":"Vmdisp","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"VirtualMachine.Storage.Name","PropertyValue":"ADC_Share_01","IsHidden":false,"IsRuntime":true,"IsEncrypted":false},{"PropertyName":"Vrm.ProxyAgent.Uri","PropertyValue":"https://vriaas.ucsbang6.com/VMPS2Proxy","IsHidden":false,"IsRuntime":false,"IsEncrypted":false}],
provider-Cafe.Shim.VirtualMachine.Reconfigure.MemorySize=5120, provider-Cafe.Shim.VirtualMachine.Reconfigure.Storages=[{"ExternalId":"6000C292-e11e-7741-dd40-7e95b7864d76","CapacityInGB":40,"StoragePath":"ADC_Share_01","StoragePolicy":null,"StoragePolicyMode":null,"Label":null,"Device":null,"CustomProperties":[{"PropertyName":"Name","PropertyValue":"Hard disk 1","IsHidden":false,"IsRuntime":false,"IsEncrypted":false}]}], provider-Cafe.Shim.VirtualMachine.Reconfigure.Networks=[{"NetworkName":"VM Network","MacAddress":"xxxxxxxx","CustomProperties":[{"PropertyName":"DnsSearchSuffixes","PropertyValue":"xxxxx","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"DnsSuffix","PropertyValue":"ucsbang6.com","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"Gateway","PropertyValue":"xx.x.x.x","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"PrimaryDns","PropertyValue":"xx.xx.xx.xx","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"PrimaryWins","PropertyValue":"","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"SecondaryDns","PropertyValue":"xx.xx.xx.xx","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"SecondaryWins","PropertyValue":"","IsHidden":false,"IsRuntime":false,"IsEncrypted":false},{"PropertyName":"SubnetMask","PropertyValue":"xx.x.x.x","IsHidden":false,"IsRuntime":false,"IsEncrypted":false}]}],
provider-Cafe.Shim.VirtualMachine.Reconfigure.CpuCount=4}]
Request data from Workflow:-
LiteralMap[values={provider-Cafe.Shim.VirtualMachine.Reconfigure.MemorySize=5120}]
Please guide me to achieve the same.
Are you just interested in changing the memory, or must you do it through Reconfigure?
vRA version? The original post was from a 6.0 version... and some things have changed.