Error: "MIGRATION_FAILED_DESTINATION_RESOURCE_RECONFIG_FAILED" when modifying a VM.
search cancel

Error: "MIGRATION_FAILED_DESTINATION_RESOURCE_RECONFIG_FAILED" when modifying a VM.

book

Article ID: 424825

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When you try to modify any parameter of a VM in VMware Cloud Director (VCD) you get an error:

    MIGRATION_FAILED_DESTINATION_RESOURCE_RECONFIG_FAILED

  • In /opt/vmware/vcloud-director/logs/vcloud-container-debug.log you can see entries similar to:

     | DEBUG    | task-service-activity-pool-49 | CJob                           | updateFailedJob(com.vmware.vcloud.fabric.compute.MigrateException) with locale=
    en_US | requestId=########-####-####-####-############,request=POST https://example.domain/api/vApp/vm-dddd####-####-####-####-############/action/reconfigureVm,requestTime=#############,remoteAddress=###.###.###.###:57732,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 40.0.0-alpha vcd=########-####-####-####-############,task=########-####-####-####-############ activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:########-####-####-####-#############)
    com.vmware.vcloud.fabric.compute.MigrateException: MigrateException: MIGRATION_FAILED_DESTINATION_RESOURCE_RECONFIG_FAILED
    ...
     | ERROR    | task-service-activity-pool-49 | ComputeVmImpl                  | Error encountered while reconfiguring the hub urn:uuid:########-####-####-####-############ during migration of computeVm dddd####-####-####-####-############. | requestId=########-####-####-####-############,request=POST https://example.domain/api/vApp/vm
    -########-####-####-####-############/action/reconfigureVm,requestTime=#############,remoteAddress=###.###.###.###:57732,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 40.0.0-alpha vcd=########-####-####-####-############,task=########-####-####-####-############ activity=(com.vmware.vcloud.backendbase.
    management.system.TaskActivity,urn:uuid:########-####-####-####-############)
    java.lang.NullPointerException
            at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.executeResourceReconfig(GenericVirtualResourcePool.java:2568)
            at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.executeResourceReconfig(GenericVirtualResourcePool.java:2582)
            at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.configureHubIfNeeded(GenericVirtualResourcePool.java:4970)

Environment

VMware Cloud Director 10.6

Cause

This issue occurs due to a mismatch between the computehub_id and vrp_id in the computevm table in the VMware Cloud Director database.

Resolution

To resolve this issue, contact Broadcom Technical Support and note this Knowledge Article ID (320425) in the problem description.

For more information, see How to Submit a Support Request

Database modifications is required to resolve this issue and will require VMware Technical Support assistance.