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>}" .
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
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 issue is resolved in VMware NSX 4.2.0, available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Workaround
There are 3 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