cluster repair
Repairs a cluster if cluster installation failed by removing, or removing and replacing failed nodes. You must specify the cluster name and the host group with the failed nodes.
Required options
--name <value>
Cluster name
--host-groups <value>
Comma separated list of host groups where the failed nodes should be repaired
Options
--remove-only
The failed nodes will be removed (rather than “repaired” by removing and
replacing)
--wait
Wait for the operation to finish. No argument is required
--output <value>
Supported formats: json, yaml, table (default: “json”) [$CB_OUT_FORMAT]
--server <value>
Cloudbreak server address [$CB_SERVER_ADDRESS]
--username <value>
Cloudbreak user name (e-mail address) [$CB_USER_NAME]
--password <value>
Cloudbreak password [$CB_PASSWORD]
--workspace <value>
Name of the workspace holding the resource
--profile <value>
Selects a config profile to use [$CB_PROFILE]
--auth-type <value>
Authentication method to use. Values: oauth2, basic [$CB_AUTH_TYPE]
Examples
Removes and replaces failed nodes on worker1 and worker 2 host groups:
cb cluster repair --name test1234 --host-groups worker1,worker2
Removes failed nodes on worker1 host group without replacing them:
cb cluster repair --name test1234 --host-groups worker1 --remove-only