Provisioning of VM fails with error: Provisioning operation failed. Error from vCenter: The resource vim.dvs.DistributedVirtualPort is not available in vim.dvs.DistributedVirtualPortgroup DSwitch_####-DVUplinks-## in Aria Automation
book
Article ID: 388528
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
When we try to deploy a VM to one of the cloud zone, we notice below error:
"Provisioning operation failed. Error from vCenter: The resource vim.dvs.DistributedVirtualPort is not available in vim.dvs.DistributedVirtualPortgroup DSwitch_####-DVUplinks-##
Environment
Aria Automation 8.x
Cause
When adding an endpoint to Aria Automation, we import networks (in a random order) and store them in a database. During allocation, we typically select the first available network, in this case, it is always an Uplink network, causing a vSphere error.
Resolution
This is the expected and by design behavior of the product.
Workaround:
Login to Aria Automation UI
Navigate to Infrastructure tab either from to Assembler/service broker
Select Networks from Resources option
Select a network where VM needs to be provisioned.
Check the "Default for zone" box which will make it the preferred network selection for a given zone