NSX API call POST upgrade/plan?action=continue does not resume the upgrade
search cancel

NSX API call POST upgrade/plan?action=continue does not resume the upgrade

book

Article ID: 408447

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

During NSX upgrade of the Host Transport Nodes. 

When using NSX API call: POST https://<nsx-manager-ip>/api/v1/upgrade/plan?action=continue, the expected behavior for NSX upgrade is to change the upgrade status from "paused" to "in progress". 

However, this API call may not always resume the NSX upgrade plan. 

In the NSX upgrade-coordinator.log, similar log could be found:

2025-08-14T17:49:26.812Z  INFO http-nio-127.0.0.1-7442-exec-6 UpgradeCoordinatorFacadeImpl 442311 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Invoke Continue upgrade with Parameters com.vmware.nsxapi.upgrade.dto.ContinueRequestParameters@3cc40fec[skip=false,hasSkip=false,componentType=<null>,hasComponentType=false]
2025-08-14T17:49:26.812Z  INFO http-nio-127.0.0.1-7442-exec-6 NSXUcUpgradeFlagsHandler 442311 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] UcUpgrade Active Flag : false
2025-08-14T17:49:26.812Z  INFO http-nio-127.0.0.1-7442-exec-6 NsxUpgradePlugin 442311 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] UC updated, since mpVersion equals ucVersion
2025-08-14T17:49:26.814Z  INFO http-nio-127.0.0.1-7442-exec-6 FacadeInterceptorHelperImpl 442311 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Caught error in facade interceptor
com.vmware.nsx.management.common.exceptions.BaseException: null
        at com.vmware.nsx.management.upgrade.facade.UpgradeCoordinatorFacadeImpl.continueUpgrade_aroundBody52(UpgradeCoordinatorFacadeImpl.java:906) ~[libuc-core.jar:?]
        at com.vmware.nsx.management.upgrade.facade.UpgradeCoordinatorFacadeImpl$AjcClosure53.run(UpgradeCoordinatorFacadeImpl.java:1) ~[libuc-core.jar:?]
        at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjtools-1.9.2.jar:?]
        at com.vmware.nsx.management.upgrade.facade.FacadeInterceptorHelperImpl.proceed(FacadeInterceptorHelperImpl.java:76) ~[libuc-core.jar:?]
        at com.vmware.nsx.management.common.api.FacadeInterceptorAspect.annotatedMethod(FacadeInterceptorAspect.java:80) ~[libmp_common.jar:?]
        at com.vmware.nsx.management.upgrade.facade.UpgradeCoordinatorFacadeImpl.continueUpgrade(UpgradeCoordinatorFacadeImpl.java:876) ~[libuc-core.jar:?]
        at com.vmware.nsxapi.upgrade.controller.UpgradeController.continueUpgrade(UpgradeController.java:1038) ~[libuc-api.jar:?]
        at jdk.internal.reflect.GeneratedMethodAccessor9493.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
......
2025-08-14T17:49:26.815Z  INFO http-nio-127.0.0.1-7442-exec-6 NsxBaseRestController 442311 SYSTEM [nsx@6876 audit="true" comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] UserName:'admin' ModuleName:'upgrade-coordinator' Operation:'POST@/api/v1/upgrade/plan' Operation status: 'failure' Error: Cannot perform continue upgrade operation. Upgrade is in IN_PROGRESS state. Please wait for upgrade to become PAUSED.

Environment

VMware NSX-T 3.x

VMware NSX 4.x

Cause

The upgrade plan was customized to have groups made by the user. After a host group was updated, the upgrade status was not sync'ed properly to show the internal status of the upgrade as "in-progress". 

Resolution

Workaround:

  1. Option 1: Reset the NSX upgrade plan to allow the status of the upgrade plan to be updated. 
  2. Option 2: Wait for the upgrade status to be in "paused" before sending the API call for continuing the upgrade. 

If above workarounds do not resolve the upgrade issue, please open a Broadcom Support Request with the NSX support bundles from all three manager nodes.