VMware Cloud Community
vmwaredownload
Enthusiast
Enthusiast

RegisterVirtualMachineRequest workflow failing.

We recently migrated vRA from 7.0.1 to 7.4. 

To import unmanaged machines into vRA we were leveraging  vRO and used following method on the vCACVirtualMachine. This method used to work perfectly in vRO 7.0.1

register(<|>?String_user , ?String_identityUser , ?String_templateId , ?String_hostReservationId , ?String_hostStorageReservationId , ?Properties_headers)

but after upgrade same workflow we are getting following error in vRA. Complaining about below custom property.

Workflow 'RegisterVirtualMachineRequest' failed with the following exception:

Value cannot be null.

Parameter name: RegisterExistingMachine: Machine xxxxxx: Value for property VirtualMachine.Imported.ConvergedBlueprint is null or empty.

Please share if you have any idea on this problem. How we can supply VirtualMachine.Imported.ConvergedBlueprint property?

0 Kudos
1 Reply
Sak_123
Contributor
Contributor

Hello,

Earlier when I was using Cloud Client 4.1 with vRA 7.3 , was getting same error as yours. So please check the compatibility of vRA and Cloud Client  -->  VMware Product Interoperability Matrices

Now I am able to perform "Cloud client import unmanaged vms" successfully,  using vRA 7.3 and Cloud client 4.5.

Use - vra machines unmanaged register --blueprintid <system_blueprint_vsphere> --componentId <vSphere__vCenter__Machine_1> --owner sakshi@ucsbang6.com --compositeBlueprintId <Windows> --deploymentName <Test-Windows> --reservationid <test-res> --vmid <de74af17-21b9-4a95-a56a-07b8996585cf>

Please find the property values as following :

--blueprintid - system_blueprint_vsphere (for all vSphere blueprints)

--componentId -    It is the id which you have given(auto-filled) under general tab while designing the blueprint in vRA.

--owner - owner of the vm

--compositeBlueprintId  - Name/id of the Blueprint

--deploymentName - name of the vm , which you wish to import to vRA

--reservationid  - name of the reservation created in vRA/reservation attached to the reservation policy assigned to the blueprint

--vmid - You will get this value in cloud client. Type vra machines unmanaged list , you will get list of all vms and their ids.

Hope that helps.

0 Kudos