Error "Hub Not found" when importing a VM in VMware Cloud Director
search cancel

Error "Hub Not found" when importing a VM in VMware Cloud Director

book

Article ID: 373051

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When importing a VM in VMware Cloud Director you have the error:

    [####-####-####-####-####] Hub Not found- Hub Not found
  • In /opt/vmware/vcloud-director/vcloud-container-debug.log log you have entry similar the one reported below:

    YYYY-MM-DD TIME | ERROR    | task-service-activity-pool-1828 | FutureUtil                     | Task future is not complete. | requestId=####-####-####-####-####,request=POST https://example.vcloud.com/api/admin/extension/vimServer/####-####-####-####-####/importVmAsVApp,requestTime=1721733671298,remoteAddress=##.##.##.##:8082,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/201...,accept=application/*+json;version 39.0.0-alpha vcd=1e6675b7-8295-41ce-a290-2c04b2394ee2,task=####-####-####-####-#### activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:5026bc86-5732-4f13-b0da-4beb3c9bdc30)

java.util.concurrent.ExecutionException: com.vmware.ssdc.util.LMException: Hub Not found
        at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:136)
        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)
Caused by: com.vmware.ssdc.util.LMException: Hub Not found

Environment

VMware Cloud Director 10.x

Cause

The Org VDC Resource Pool is not under the correct parent resource pool in vCenter.

Resolution

Review the Org VDC Resource Pool in vCenter and make sure the ORG VDC resource pool is located under the correct parent resource pool.
If the  Resource Pool is not in the correct location you can move it in vCenter as below:

1- On vCenter UI select the affected RP
2- Right click on the RP 
3- Select "move to"
4- Choose the correct parent resource pool you need to move the Org VDC RP to
5- Click save