Cloudera Workflow Orchestrator registration problems

Registering a Cloudera Workflow Orchestrator instance in Cloudera Migration Assistant fails when the agent cannot sign in to the Anywhere Cloud Console with the access key that you enter. Register Cloudera Workflow Orchestrator manually, and check the console URL and the access key.

Symptoms

One or more of the following:

  • In the New Cluster wizard, the connection test fails after you click Next.
  • The agent reports a message that starts with Failed to connect to CWO at, followed by the console URL and the reason.
  • The status of a user connection to the console is Error, with the message Connection test failed.
  • The Cloudera Workflow Orchestrator instance does not appear on the Clusters page, or you cannot select it when you create a plan.
  • Registration worked earlier, and now fails with an authentication error.

The agent keeps the access key and the connection credentials in its credential store, and the Cloudera Migration Assistant database never holds them. See How secrets are stored.

Console URL or access key is wrong

The agent signs in to the Anywhere Cloud Console with the URL and the access key that you enter. A secret key that has an extra space or a line break fails with an authentication error.

Solution

  1. Check the URL of the Anywhere Cloud Console in Cloudera Anywhere Cloud Console.
    It must be the URL that you use to open the console in your browser, starting with https://.
  2. Check Access key and Secret key.
    Copy them again from the access key that you created in the Anywhere Cloud Console.
  3. Click Next, and wait for the connection test to finish.

Access key expired or was rotated

If an administrator deleted or rotated the access key, or let it expire, every connection that uses it fails with an authentication error. Registering again with the old key fails in the same way.

Solution

  1. In the Anywhere Cloud Console, create a new access key for your user, or ask an administrator for one.
  2. In the web interface of the agent, go to Clusters.
  3. Register the Cloudera Workflow Orchestrator instance again with the new Access key and Secret key.
    See Registering Cloudera Workflow Orchestrator.
  4. Open the instance.
  5. On the General tab, check the status of the AWC User Connection.
  6. If the status is Error, update the connection.
  7. Click Test Connection.

    See Managing user connections.

Automatic discovery does not find instance

Automatic discovery of Cloudera Data Engineering and Cloudera Workflow Orchestrator services is in Technical Preview.

Solution

Register the instance manually. See Registering Cloudera Workflow Orchestrator. For automatic discovery, see Discovering Cloudera Data Engineering and Cloudera Workflow Orchestrator services automatically [Technical Preview].