The SSH known_hosts keys are missing for the edge node or have been changed. The edge node ID may be missing from the SDDC Manager database.
Resolution
Make backup of the '/home/vcf/.ssh/known_hosts' file cp /home/vcf/.ssh/known_hosts /home/vcf/.ssh/known_hosts.bak
Provide correct user for the file chown vcf:vcf /home/vcf/.ssh/known_hosts
Make sure the known_hosts file has correct permission chmod 644 /home/vcf/.ssh/known_hosts
Provide correct user for the file chown vcf:vcf /home/vcf/.ssh/known_hosts
Manually remove all entry of the edge node from “/home/vcf/.ssh/known_hosts” file
Login to SDDC via VCF user (Do not perform with root user)
Add proper entry into known host file by executing following command. ssh-keyscan -4 -t rsa <IP ADDRESS OF THE EDGE NODE> >> /home/vcf/.ssh/known_hosts ssh-keyscan -4 -t rsa <FQDN OF THE EDGE NODE> >> /home/vcf/.ssh/known_hosts
Verify the SSH entry is added to the known_hosts file
Login to the affected edge node with admin user and run the following: get user root status get user admin status get user audit status
The output should show all user accounts to be in active state.
If any account is inactive, change the password to the same as what SDDC manager shows in lookup_passwords command. Once you change the password, the account should be marked as active. set user admin/audit/root password
Also validate if the user accounts are not expired. If expired, you can run the following to increase the limit set user admin password-expiration 120
Login to NSXT manager UI and retrieve the Edge node ID NSXT UI -> System -> Fabric --> Nodes --> Edge Transport Nodes --> Select the affected edge node --> Copy the ID of the edge node displayed on the right panel (Copy the ID, not the External ID)
Run the following command > curl http://localhost/inventory/nsxt-edgeclusters | json_pp Also copy the "id" : "eb46f795-733d-40dd-9b3d-4a862cfb42d9" (Output may differ on different environment)
From the above output, edge node3 is missing the 'edgeNodeNsxtId'
Create json file and paste the above output having the correct edgeNodeNsxtId copied from step 12. NOTE: Make sure you do not copy the "[ ]" brackets from the above output into the json file.
[ /home/vcf ]# touch test.json [ /home/vcf ]# vi test.json
Run the command to sync the inventory: curl -X PUT -H "Content-Type: application/json" --data @test.json http://localhost/inventory/nsxt-edgeclusters/<copied ID from step 13>
Perform a new password rotation for the edge node users one by one in the below order. a) root b) admin c) audit