Support Questions

Find answers, ask questions, and share your expertise

"No deployment found matching the config file." when updating cluster

avatar
Explorer

I created a cluster using bootstrap-remote and Directory auto generated the environment/deployment names. I've added the names myself into the configuration

environmentName: drona Environment
deploymentName: drona Deployment
name: drona

But I'm still getting the error: "No deployment found matching the config file." when I run:

cloudera-director status cluster.conf  --lp.remote.username=admin --lp.remote.password=x

The deployment and environment names are correct, I get a good response in the api console for the environments command that tells me the environment exists:

 

http://10.12.16.212:7189/api/v5/environments/drona%20Environment/deployments/drona%20Deployment

{
  "name": "drona Deployment",
  "hostname": "10.12.16.62",
  "port": 7180,
  "username": "admin",
  "password": "REDACTED",
  "managerInstance": {
 ...

 

What am I doing wrong here?

 

Thanks,

Tony

1 ACCEPTED SOLUTION

avatar
Rising Star

The status command is meant for clusters that were bootstrapped locally with the client (standalone mode) and won't work for clusters that were bootstrapped on a remote server.

 

You can refer to https://www.cloudera.com/documentation/director/latest/topics/director_cli_commands.html for additional information on which commands are meant for remote and which are meant for local.

 

The documentation here may also give a better understanding of the difference between bootstrapping with just the client vs bootstrapping against a server: 

https://www.cloudera.com/documentation/director/latest/topics/director_client_and_server.html

View solution in original post

1 REPLY 1

avatar
Rising Star

The status command is meant for clusters that were bootstrapped locally with the client (standalone mode) and won't work for clusters that were bootstrapped on a remote server.

 

You can refer to https://www.cloudera.com/documentation/director/latest/topics/director_cli_commands.html for additional information on which commands are meant for remote and which are meant for local.

 

The documentation here may also give a better understanding of the difference between bootstrapping with just the client vs bootstrapping against a server: 

https://www.cloudera.com/documentation/director/latest/topics/director_client_and_server.html