APPLY_TOPOLOGY_FAILED error occurs while running precheck from NVDS to VDS. Error "Failed to create VDS"
search cancel

APPLY_TOPOLOGY_FAILED error occurs while running precheck from NVDS to VDS. Error "Failed to create VDS"

book

Article ID: 314222

calendar_today

Updated On:

Products

VMware NSX VMware NSX

Issue/Introduction

When doing precheck for migration from N-VDS to VDS, it fails with following error.

"Error: Precheck is in progress with state APPLY_TOPOLOGY_FAILED. (Error code: 250012)"

Or with the error:

GetVDSUpgradeSummary: {"precheck_id": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "precheck_status": "APPLY_TOPOLOGY_FAILED"}

 

The below log entries may be seen on var/log/proton/nsxapi.log where the new DVS creation is failed:

2025-09-03T11:44:51.869Z ERROR NvdsUpgradeTaskExecutor1 NvdsUpgradeReadinessCheckServiceImpl 77714 FABRIC [nsx@6876 comp="nsx-manager" errorCode="MP250008" level="ERROR" subcomp="manager"] Failed to create VDS <VDS name> on ComputeManager xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: com.vmware.nsx.management.switching.sync.host.DvsExecutionException: FAILED_TO_CREATE_VDS_ON_VC

        at com.vmware.nsx.management.nvdsupgrade.service.NvdsUpgradeReadinessCheckServiceImpl.performDvsOperations(NvdsUpgradeReadinessCheckServiceImpl.java:1479)
        at com.vmware.nsx.management.nvdsupgrade.service.NvdsUpgradeReadinessCheckServiceImpl$NvdsUpgradeTask.run(NvdsUpgradeReadinessCheckServiceImpl.java:1390)

 

In var/log/syslog a NullPointException error is observed:

2025-09-03T11:44:51.868Z  NSX 77714 FABRIC [nsx@6876 comp="nsx-manager" errorCode="MP8347" level="ERROR" subcomp="manager"] Failed to create DVS java.lang.NullPointerException
2025-09-03T11:44:51.869Z t NSX 77714 FABRIC [nsx@6876 comp="nsx-manager" errorCode="MP250008" level="ERROR" subcomp="manager"] Failed to create VDS <VDS name> on ComputeManager xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: com.vmware.nsx.management.switching.sync.host.DvsExecutionException: FAILED_TO_CREATE_VDS_ON_VC#012#011at com.vmware.nsx.management.switching.hostswitch.dvs.service.DistributedVirtualSwitchOperationImpl.createDistributedVirtualSwitch(DistributedVirtualSwitchOperationImpl.java:876)#012#011at com.vmware.nsx.management.nvdsupgrade.service.NvdsUpgradeReadinessCheckServiceImpl.performDvsOperations(NvdsUpgradeReadinessCheckServiceImpl.java:1479)#012#011at com.vmware.nsx.management.nvdsupgrade.service.NvdsUpgradeReadinessCheckServiceImpl$NvdsUpgradeTask.run(NvdsUpgradeReadinessCheckServiceImpl.java:1390)#012#011at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)#012#011at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)#012#011at java.lang.Thread.run(Thread.java:750)#012

 

Environment

VMware NSX-T Data Center

Cause

The pNICs connected to NVDS admin or link state is down and when the pNIC status and speed is derived while applying topology, a NullPointExeptionError is thrown since the pNIC is down.

 

 

Resolution

Ensure Hosts status is Success/UP without any alarms.
Ensure all pNics assigned to the NVDS are up.

 

Additional Information