GET https://<NSX_MANAGER>/api/v1/transport-nodes/
GET https://<NSX_MANAGER>/api/v1/transport-nodes/<tn-id>/status
"The requested object : TransportZoneProfile/<TransportZoneProfile-ID> could not be found.
GET https://<NSX_MANAGER>
/api/v1/transportzone-profiles?include_system_owned=true
The status of the Transport Nodes (TNs) are unknown because the Transport-Zone Profile (TZP) which is being referenced does not exist. The reasons why the referenced Transport-Zone Profile (TZP) is not present in the system can be due to multiple reasons:
To resolve this issue for Edge nodes, please open a support case with Broadcom support.
To resolve this issue for ESXi hosts please follow these steps:
1. Take a new FTP based backup and ensure the backup passphrase is known before proceeding.
2. Copy the attached logical-migration.jar file to one of the Managers and place it in the directory /opt/vmware/upgrade-coordinator-tomcat/temp/.
3. Stop proton on all three Manager nodes from the root shell:
# service proton stop
or
# /etc/init.d/proton stop
4. On the NSX Manager where the jar file was copied, run the following command. This command is a single line command with no line breaks. Note you must populate the admin password of the NSX Manager below
# java -Dcorfu-property-file-path=/opt/vmware/upgrade-coordinator-tomcat/conf/ufo-factory.properties -Djava.io.tmpdir=/opt/vmware/upgrade-coordinator-tomcat/temp -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j.configurationFile=/opt/vmware/upgrade-coordinator-tomcat/conf/log4j2.xml -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/vmware/upgrade-coordinator-tomcat/conf/logging.properties -Dnsx-service-type=nsx-manager -DTransportZoneProfileRectifierInTNAndTNP.userName=admin -DTransportZoneProfileRectifierInTNAndTNP.password='ENTER_ADMIN_PASSWORD_HERE' -DTransportZoneProfileRectifierInTNAndTNP.updateTn=true -DTransportZoneProfileRectifierInTNAndTNP.updateTzp=true -cp /opt/vmware/upgrade-coordinator-tomcat/temp/logical-migration.jar com.vmware.nsx.management.migration.impl.TransportZoneProfileRectifierInTNAndTNP
5. Set file ownership
# chown uuc:uuc /var/log/upgrade-coordinator/upgrade-coordinator*log*
6. The procedure is complete once the following text is printed in the upgrade-coordinator log file:
# grep "Migration task finished" /var/log/upgrade-coordinator/upgrade-coordinator.log
7. Start proton on all three Manager nodes:
# service proton start
or
# /etc/init.d/proton start
8. Execute the following from NSXCLI on all the NSX manager nodes so that corfudb and Search indexes are in sync:
> start search resync policy
> start search resync manager
9. Login to the NSX UI and validate that the host status is resolved.
In some cases it maybe necessary to detach and reattach the TNP on impacted cluster to fully resolve the issue.
In cases where Service VMs are deployed in the cluster the affected host transport nodes are a part of, detaching TNP gives the error - "Error: Cluster ########-####-####-####-########bed1:domain-c10 has NSX managed service VM deployed or deployment is in progress. Delete these deployment, before deleting TN. (Error code: 26173)
". In such a scenario, the alternative to detaching / re-attaching TNP would be to follow the below steps:
GET https://{{nsx-ip}}/api/v1/transport-nodes/<tn-id>
" to get the payload.PUT https://{{nsx-ip}}/api/v1/transport-nodes/<tn-id>
".