var/log/upgrade-coordinator/upgrade-coordinator.log
2024-05-07T11:06:23.534Z ERROR http-nio-127.0.0.1-7442-exec-1 UcRestClient 69275 SYSTEM [nsx@6876 comp="nsx-manager" errorCode="MP30014" level="ERROR" subcomp="upgrade-coordinator"] Error during GET rest request nsxapi/api/v1/transport-nodes/?node_types=EdgeNode&page_size=100&cursor=E$0104/infra/sites/default/enforcement-points/default/edge-transport-node/<edge_node_id>== , trial 2 , err com.vmware.nsx.management.upgrade.rpcframework.UcRestRpcException: [UC] Error in rest call. url= /nsxapi/api/v1/transport-nodes/?node_types=EdgeNode&page_size=100&cursor=E$0104/infra/sites/default/enforcement-points/default/edge-transport-node/<edge_node_id>== , method= GET , response= {
"httpStatus" : "BAD_REQUEST",
"error_code" : 2057,
"module_name" : "internal-framework",
"error_message" : "E$0104/infra/sites/default/enforcement-points/default/edge-transport-node/<edge_node_id>== is not a valid cursor."
} , error= 400 : "{<EOL> "httpStatus" : "BAD_REQUEST",<EOL> "error_code" : 2057,<EOL> "module_name" : "internal-framework",<EOL> "error_message" : "E$0104/infra/sites/default/enforcement-points/default/edge-transport-node/<edge_node_id>== is not a valid cursor."<EOL>}" .
VMware NSX-T Data Center
VMware NSX
Due to issues in the transport-nodes pagination code, the Upgrade Coordinator is not able to get the full list of edges, this can lead to failures during the Management Plane upgrade.
This is a known issue impacting NSX, currently there is no resolution.
Workaround
There are 2 scenarios:
Scenario 1
Scenario 2
Workaround steps (to be executed on NSX Manager):
/etc/init.d/upgrade-coordinator stop
/opt/vmware/upgrade-coordinator-tomcat/webapps/upgrade-coordinator/WEB-INF/classes/config.properties
: upgrade.edge.service.edgenodefetch.pagesize=100
upgrade.edge.service.edgenodefetch.useCustomPageSize=false
upgrade.edge.service.edgenodefetch.pagesize=800
upgrade.edge.service.edgenodefetch.useCustomPageSize=true
/etc/init.d/upgrade-coordinator start