The NSX Edge configuration state is showing failed with below error message , although Manager and Controller connectivity is visible in the NSX UI.
"failure_message": " Host configuration: Caught MessagingException during host config stage. [TN=TransportNode/########################]. Reason: MessagingException",
"failure_code": 8804
This issue follows a recent storage outage that caused the Edge nodes to enter a read-only state; the nodes transitioned to the failed state after a reboot.
The node state, retrieved via the API endpoint GET /api/v1/transport-nodes/<TN-UUID>/state, returns failure code 8804.
API Output:
{
"transport_node_id": "###########################",
"maintenance_mode_state": "DISABLED",
"node_deployment_state": {
"state": "NODE_READY",
"details": [],
"failure_message": "",
"failure_code": 0
},
"state": "failed",
"details": [
{
"sub_system_id": "##############################",
"sub_system_type": "Host",
"state": "failed",
"failure_message": " Host configuration: Caught MessagingException during host config stage. [TN=TransportNode/###########################]. Reason: MessagingException",
"failure_code": 8804
}
],
"failure_message": "Host configuration failed. Number of retries : 10. Next retry attempt will be between [timestamp]",
"failure_code": 8804
}
VMware NSX
The edge nodes entered a read-only mode following a storage outage. A subsequent reboot resulted in an inconsistent synchronization state between the management plane and the edge node local configuration.
Perform Edge sync configuration by following the below steps :