Vault connection problems
Cloudera Migration Assistant agents on the cluster can keep their connection credentials in Anywhere Cloud Secret Service, which keeps secrets in an external HashiCorp Vault. When the connection to Vault does not work, the agent cannot store or read credentials.
Symptoms
One or more of the following:
- After you select Enable AWC Secret Manager, a connection test fails, or the agent cannot read or store credentials.
- The agent does not start after you select Enable AWC Secret Manager.
- Anywhere Cloud Secret Service rejects requests with a service unavailable error.
Vault is not set up yet
Until Anywhere Cloud Secret Service is set up with your external Vault, Anywhere Cloud Secret Service rejects every request.
Cloudera Migration Assistant does not check whether Anywhere Cloud Secret Service is configured. When you deploy the agent, turn on Enable AWC Secret Manager only if the service is available.
Solution
Ask an Anywhere Cloud administrator to set up the external Vault. See Using Anywhere Cloud Secret Service and Vault for agent secrets.
Agent does not start
If the agent cannot find the address of Anywhere Cloud Secret Service, it stops at startup.
Solution
Ask an Anywhere Cloud administrator to check the engine configuration of the agent, and to turn off Enable AWC Secret Manager if Anywhere Cloud Secret Service is not set up.
Authentication method is not supported
Anywhere Cloud Secret Service works with an external HashiCorp Vault that uses AppRole authentication. Kubernetes authentication does not work. Anywhere Cloud does not provide a Vault inside the cluster.
Solution
Set up AppRole authentication in your external Vault. For the Vault settings, see External vault requirements for Secret Service in the Anywhere Cloud documentation.
Credentials are missing after you turn on Enable AWC Secret Manager
The agent does not move the credentials that it stored in its internal keystore.
Solution
Enter the credentials of each connection again. See Using Anywhere Cloud Secret Service and Vault for agent secrets.
