OAG Admin Renomination attempt fails with the following error seen in the Management Console of the worker node that is trying to get promoted to the new admin node:
FAILED - Failed to sync known_hosts and authorized_keys of current admin node
- Okta Access Gateway (OAG)
This error may indicate a general connectivity issue between the new admin node and the worker nodes defined in the HA configuration. For Admin renomination to succeed, the new admin node must be able to resolve and connect to all the worker nodes
In this example, the situation was due to one of the worker nodes being shut down. So, the error indicated that the new admin node was unable to connect to that worker node and, therefore, failed to sync host keys with it.
Ensure that the new admin node can resolve the hostname of all worker nodes and is able to connect to all worker nodes using SSH over port 22.
In this example, the error was specifically caused by one of the original worker nodes being shut down for decommissioning. As this worker node was no longer needed in the HA cluster, removing it from the HA configuration of the original admin node resolved the issue. The next attempt to perform admin renomination was successful
Related References
- Find more details about admin renomination in this document: Perform admin renomination.
