The VDC associated with this vApp does not have the required network resources to start this vApp.
search cancel

The VDC associated with this vApp does not have the required network resources to start this vApp.

book

Article ID: 381288

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

When powering on vApps you may see the message:

The VDC associated with this vApp does not have the required network resources to start this vApp.

Error:  com.vmware.vcloud.api.presentation.service.BadRequestException: The VDC associated with this vApp does not have the required network resources to start this vApp.
    at com.vmware.ssdc.backend.services.impl.VAppDeploymentManagerImpl.deployVm(VAppDeploymentManagerImpl.java:401)
    at com.vmware.vcloud.vapp.impl.VAppServiceImpl.deployTask(VAppServiceImpl.java:2089)
    at com.vmware.vcloud.vapp.impl.VAppServiceImpl.executeTask(VAppServiceImpl.java:748)
    at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase$1.doInSecurityContext(TaskActivity.java:846)
    at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase$1.doInSecurityContext(TaskActivity.java:841)
    at com.vmware.vcloud.backendbase.management.system.SecurityContextTemplate.executeForOrgAndUser(SecurityContextTemplate.java:49)
    at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase.execute(TaskActivity.java:848)
    at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase.invokeInner(TaskActivity.java:744)
    at com.vmware.vcloud.backendbase.management.system.TaskActivity$TaskActivityBasePhase.invoke(TaskActivity.java:361)
    at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)
    at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)

Environment

Cloud Director 10.x

Cause

Either the Tenant does not have the correct Network Pool or a Network Pool does not exist.

Resolution

  • Ensure the correct Network Pool is assigned to the Tenant.
  • Network Pools must be created before Organisation VDC networks and vApp networks. If they do not exist, the only available network option for a Tenant is a direct connection to an external network.
  • When fencing is enabled and the vApp is powered on, an isolated network is created from the OVDC Network Pool. An edge gateway is then created and attached to both the isolated network and the Organisation VDC network.
  • Check the Network Pools in the Provider Portal and verify that the Organisation VDC appears under the required Network Pool.
  • If the Organization VDC is not listed under Network Pool > Organization VDCs, go to Organization VDC > Network Pool > Edit, toggle the Specify Network Pool option, select the required Network Pool, and save the changes.

  • After saving the changes, the vApp/VM attached to the isolated network will power on.

Additional Information