<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Admin Renomination on Okta Access Gateway Fails With Error "FAILED - Failed to sync known_hosts and authorized_keys of current admin node"
Access Gateway
Overview

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

 

Applies To
  • Okta Access Gateway (OAG)
Cause

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.

Solution

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

Recommended content

Loading
Admin Renomination on Okta Access Gateway Fails With Error "FAILED - Failed to sync known_hosts and authorized_keys of current admin node"