The deployment of the Edge OVF is successful, however the registration process with the NSX Manager is experiencing a timeout.
Observed error:
Error during manager connection: Status code 500
Error message: Node registration failed due to "API error retrieving node configuration."
VMware NSX
VMware NSX-T Data Center
The default timeout for the Edge registration token is set to 60 minutes.
If the OVF deployment exceeds one hour, the registration token expires before the Edge can attempt to register with the management plane.
There is no resolution available, as this issue is classified as an environment problem.
Workaround:
Step 1:
Copy the command logged in edge log </var/log/join_mp.log>, from the line starting with cmd
root@h###:~# cat /var/log/join_mp.log
% Node registration failed: 'API error getting node configuration'
cmd: su admin -c join management-plane 10.#.214.209:443 thumbprint c6cb622c54bd#######0f066ca0f1ba6daec1c######5acc33354d4e token <obfuscated> node-uuid cfb###30-277e-4##b-b##d-9c5b####974b
rc: 4
Step 2:
Replace the registration token (<obfuscated> in the sample above) with a current value.
For example, ea###65-5fbe-4##f-a9#3-7b3a####ad7e is token field value from this API response POST api/v1/aaa/registration-token
{
"token": "ea####65-5##e-4##f-a##3-7b####ad7e",
"roles": [
"enterprise_admin"
],
"user": "admin"
}
Step 3:
Execute the tweaked command at Edge CLI
root@h###:~# su admin -c join management-plane 10.#.214.209:443 thumbprint c6cb622c54b#######b8608f0f066ca0f1ba6daec1cc7fa0ac2e5a&&&&&&& token ea###665-5##e-4##f-a##3-7b3####0ad7e node-uuid cfb###30-2##e-4##b-b##d-9#####9974b
Node successfully registered as Fabric Node: cfb####0-277e-4##b-b2ad-9c5b####974b