Agent does not connect to master
An agent that cannot connect to the Cloudera Migration Assistant engine does not receive commands, and its clusters do not appear in Cloudera Migration Assistant. Check the agent URL settings, the network path, and the certificates that the agent trusts.
Symptoms
One or more of the following:
- On the Agent Overview page of the Cloudera Migration Assistant web interface, the agent is displayed as Pending on the Registration tab after the agent has started.
- On the Instances tab, an agent that runs on the Anywhere Cloud cluster is missing, or an error is displayed in the Message column.
- The log of an agent on a Cloudera Base on premises cluster stops after the line Initializing connection to master, and the agent does not receive any commands.
- An agent pod on the Anywhere Cloud cluster restarts repeatedly, and its log shows PKIX path building failed.
Agent on Cloudera Base on premises cluster cannot reach Cloudera Migration Assistant engine
An agent outside the Anywhere Cloud cluster opens all connections to
the Cloudera Migration Assistant engine. It needs HTTPS access to the landing page URL, the agent
connection URL, and the built-in Git server URL of the engine, and to the Anywhere Cloud authentication service. The authentication service has
the hostname of the Anywhere Cloud Console, with console.
replaced by knox..
Solution
Agent on Cloudera Base on premises cluster does not trust certificate
When an agent registers, Cloudera Migration Assistant sends it the CA certificate of the Anywhere Cloud platform, and the agent adds the certificate to its truststore. If the agent cannot get the certificate, for example, because it cannot complete the registration, its log shows PKIX path building failed or SSLHandshakeException.
Solution
Agent on Anywhere Cloud cluster restarts repeatedly
An agent that runs as a Cloudera Migration Assistant Agent engine signs in through the Anywhere Cloud authentication service when it starts. If the agent pod does not trust the internal certificate authority of Anywhere Cloud, the agent stops at startup, and Kubernetes restarts the pod repeatedly. The log of the agent pod shows PKIX path building failed.
Solution
Agent did not complete its registration
An agent outside the Anywhere Cloud cluster cannot connect until it has registered with a valid registration token.
Solution
If the agent stays Pending or shows Expired on the Registration tab, see Agent registration token is rejected or expired.
An agent that runs against a Cloudera on cloud Data Lake cluster also needs the access key and the environment name that it uses for Cloudera on cloud. Check them in the configuration of the agent, and see Registering agents on Cloudera on cloud Data Lakes.
