Error: "com.vmware.vcloud.api.presentation.service.InternalServerErrorException: Internal Server Error" while powering on Virtual Machines
search cancel

Error: "com.vmware.vcloud.api.presentation.service.InternalServerErrorException: Internal Server Error" while powering on Virtual Machines

book

Article ID: 429481

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • We get the following error while powering on Virtual Machines (VMs) in all Organization Virtual Data Centers (Org VDCs) associated with a Provider VDC:

    com.vmware.vcloud.api.presentation.service.InternalServerErrorException: Internal Server Error
     at com.vmware.vcloud.common.future.FutureUtil.convertExecutionException(FutureUtil.java:264)
     at com.vmware.vcloud.common.future.FutureUtil.waitForFuture(FutureUtil.java:129)
     at com.vmware.ssdc.backend.services.impl.VmManagerImpl.performRelocateVmDuringReconfigure(VmManagerImpl.java:3382)
     at com.vmware.ssdc.backend.services.impl.VmManagerImpl.updateVmStorageClassAndVdcComputePolicy(VmManagerImpl.java:3350)
     at com.vmware.ssdc.backend.services.impl.VmManagerImpl.updateVmStorageClassAndVdcComputePolicy(VmManagerImpl.java:3326)
    ..
     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: java.lang.NullPointerException
     at com.vmware.ssdc.backend.services.impl.RelocateVmActivity$SaveVmGroupInfoPhase.findSourceVrpIdOfVm(RelocateVmActivity.java:543)
     at com.vmware.ssdc.backend.services.impl.RelocateVmActivity$SaveVmGroupInfoPhase.invoke(RelocateVmActivity.java:457)

  • In the provider portal of VMware Cloud Director (VCD) accessing Resources -> Organization VDCs -> a specific Organization VDC -> Resource Pools will not show any or all the resource pools.
  • Elasticity of a Flex Org VDC has been deactivated before the Issue appeared.

Environment

VMware Cloud Director 10.6.1.1
VMware Cloud Director 10.5.x

Cause

This is a known issue where deactivating elasticity for a Flex Organization Virtual Data Center (Org VDC) causes all 'vrp_rp' records to become inaccessible. If elasticity is deactivated for a single Org VDC, it will delete all 'vrp_rp' records in the database for all Org VDCs associated with that Provider VDC.

 

Resolution

This issue is fixed in VCD 10.6.1.2. Please refer VMware Cloud Director 10.6.1.2 Release Notes.

For workaround, contact Broadcom Support and note this Article ID (429481) in the problem description. For more information, see
Creating and managing Broadcom support cases.