Edge node "UUID" vmId is not found on NSX Manager. Please refer to https://kb.vmware.com/s/article/90072
get upgrade progress-status
from the NSX admin CLI:> get upgrade progress-status
***************************************************************************
Node Upgrade has been started. Please do not make any changes, until
the upgrade operation is complete. Run "get upgrade progress-status"
to show the progress of last upgrade step.
***************************************************************************
Upgrade steps:
download_os [2022-09-16 17:35:52 - 2022-09-16 17:36:21] SUCCESS
VMware NSX-T Data Center
VMware NSX 4.x
The 'vmMoref id' of the Edge virtual machine is incorrectly populated in Edge upgrade unit metadata.
This issue is resolved in VMware NSX 4.1.0, available at Broadcom downloads.
This precheck error can be ignored if the Edges were deployed on an ESXi host that is not prepared for NSX-T and the Compute Manager is up and reachable.
If the Compute Manager which was used to create the Edge Transport Node is no longer registered with NSX manager, the error cannot be resolved by following the workarounds below. The Edges would need to be redeployed on a new Compute Manager in that case.
This issue can be encountered in relation to two different issues (noted below). In the first, a warning is issued for Edge Nodes following the pre-checks. In the second, the edge node upgrade is stuck indefinitely at the 'switch_os'
step.
Vmid
attribute is missing from EdgeNodeExternalconfig
EntityId (VmMoreF)
is stale in the DeploymentUnitInstance database table
Workaround for Issue 1: "Vmid
attribute is missing from EdgeNodeExternalconfig"
API Method : [This method is available only from NSX version 3.2.3 through 4.1.0]
Note: If the API fix is not applicable due to the version, there is a workaround that involves making changes on the database. Please contact Broadcom Support in such a situation, referencing this KB article and providing the details about this along with the rest of the issue description.
*Ensure there is a viable backup available before taking the steps below.
vmID (VmMoreF Id)
from vCenter vmID (VmMoreF Id)
from the URL after completing the previous step.nsxmgr> get nodes
GET https://<nsxMgrIp>
/api/v1/transport-nodes/<edgeTnId>
nsxMgrIp
with the FQDN or IP address of an NSX Manager node and <edgeTnId>
with the node UUID value obtained in Step 2.vmID
collected from Step 1b.{
"vm_deployment_config": {
},
"node_user_settings": {
},
"node_settings": {
},
"vm_id": " "
}
Example reference output:
{
"vm_deployment_config": {
"vc_id": "c47f70db-####-####-####-###########",
"compute_id": "domain-##",
"storage_id": "datastore-###",
"host_id": "host-##",
"management_network_id": "dvportgroup-##",
"management_port_subnets": [
{
"ip_addresses": [
"192.168.#.#
],
"prefix_length": 24
}
],
"default_gateway_addresses": [
"192.168.#.#"
],
"data_network_ids": [
"dvportgroup-###",
"dvportgroup-###"
],
"reservation_info": {
"memory_reservation": {
"reservation_percentage": 100
},
"cpu_reservation": {
"reservation_in_shares": "HIGH_PRIORITY",
"reservation_in_mhz": 0
}
},
"resource_allocation": {
"cpu_count": 4,
"memory_allocation_in_mb": 8192
},
"placement_type": "VsphereDeploymentConfig"
},
"node_user_settings": {
"cli_username": "admin"
},
"node_settings": {
"hostname": "######",
"search_domains": [
"example.com"
],
"dns_servers": [
"192.168.#.#"
],
"enable_ssh": true,
"allow_ssh_root_login": true
},
"vm_id":"vm-##"
}
POST https://<nsxMgrIp>/api/v1/transport-nodes/<edgeTnId>?action=addOrUpdatePlacementReferences
nsxMgrIp
in the URL above like in step 3.
Workaround for Issue 2: "EntityId (VmMoreF)
is stale in DeploymentUnitInstance table"
If you have identified the issue as Issue #2 noted above, and the NSX version is between 3.2.3 and 4.1.0, the above POST API workaround described under Workaround for Issue #1 will resolve it.
Note:
If you are contacting Broadcom support about this issue, please provide the following:
Handling Log Bundles for offline review with Broadcom support