diff --git a/content/rancher/v2.x/en/installation/troubleshooting-ha/job-complete-status/_index.md b/content/rancher/v2.x/en/installation/troubleshooting-ha/job-complete-status/_index.md index 70bd8a3aee4..8ea054a3bf6 100644 --- a/content/rancher/v2.x/en/installation/troubleshooting-ha/job-complete-status/_index.md +++ b/content/rancher/v2.x/en/installation/troubleshooting-ha/job-complete-status/_index.md @@ -7,15 +7,17 @@ To debug issues around this error, you will need to download the command-line to When you have made changes to `rancher-cluster.yml`, you will have to run `rke remove --config rancher-cluster.yml` to clean the nodes, so it cannot conflict with previous configuration errors. -#### Failed to deploy addon execute job [rke-user-includes-addons]: Failed to get job complete status +### Failed to deploy addon execute job [rke-user-includes-addons]: Failed to get job complete status -* The content in the `addons:` section of your `rancher-cluster.yml` is wrong. You can retrieve the root cause of this issue by running the following command: +Something is wrong in the addons definitions, you can run the following command to get the root cause in the logging of the job: ``` kubectl --kubeconfig kube_config_rancher-cluster.yml logs -l job-name=rke-user-addon-deploy-job -n kube-system ``` -Usually something is printed along the lines of `error: error converting YAML to JSON: yaml: line 9:`, where `line 9` references to the line number of the addon that is causing issues. +#### error: error converting YAML to JSON: yaml: line 9: + +The structure of the addons definition in `rancher-cluster.yml` is wrong. In the different resources specified in the addons section, there is a error in the structure of the YAML. The pointer `yaml line 9` references to the line number of the addon that is causing issues. Things to check
To decode your certificates in base64:
+ +YOUR_BASE64_STRING with the previously copied base64 string.
+ +# MacOS +echo YOUR_BASE64_STRING | base64 -D +# Linux +echo YOUR_BASE64_STRING | base64 -d +# Windows +certutil -decode FILENAME.base64 FILENAME.verify ++
The order of adding certificates is as follows: