You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered the following error during installation.
TASK [kubernetes : Deploy and Activate Postgres (Kubernetes)] *********************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "helm repo add stable https://kubernetes-charts.storage.googleapis.com\nhelm repo update\nhelm upgrade awx-postgresql --install --namespace awx --version=\"8.3.0\" --values /var/folders/2f/3wzkqdxd4ss2fvr3gdtjq_740000gn/T/ansible.8jttg3o7.yml stable/postgresql\n", "delta": "0:00:00.185554", "end": "2020-12-01 14:23:01.262520", "msg": "non-zero return code", "rc": 1, "start": "2020-12-01 14:23:01.076966", "stderr": "Error: repo \"https://kubernetes-charts.storage.googleapis.com\" is no longer available; try \"https://charts.helm.sh/stable\" instead\nError: no repositories found. You must add one before updating\nError: failed to download \"stable/postgresql\" at version \"8.3.0\" (hint: running `helm repo update` may help)", "stderr_lines": ["Error: repo \"https://kubernetes-charts.storage.googleapis.com\" is no longer available; try \"https://charts.helm.sh/stable\" instead", "Error: no repositories found. You must add one before updating", "Error: failed to download \"stable/postgresql\" at version \"8.3.0\" (hint: running `helm repo update` may help)"], "stdout": "Release \"awx-postgresql\" does not exist. Installing it now.", "stdout_lines": ["Release \"awx-postgresql\" does not exist. Installing it now."]}
Update inventory will details about kubernetes cluster
Execute the command
$ ansible-playbook -i inventory install.yml
EXPECTED RESULTS
Successful installation of AWX on Kubernetes.
ACTUAL RESULTS
Installation failed with the following error
TASK [kubernetes : Deploy and Activate Postgres (Kubernetes)] *********************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "helm repo add stable https://kubernetes-charts.storage.googleapis.com\nhelm repo update\nhelm upgrade awx-postgresql --install --namespace awx --version=\"8.3.0\" --values /var/folders/2f/3wzkqdxd4ss2fvr3gdtjq_740000gn/T/ansible.8jttg3o7.yml stable/postgresql\n", "delta": "0:00:00.185554", "end": "2020-12-01 14:23:01.262520", "msg": "non-zero return code", "rc": 1, "start": "2020-12-01 14:23:01.076966", "stderr": "Error: repo \"https://kubernetes-charts.storage.googleapis.com\" is no longer available; try \"https://charts.helm.sh/stable\" instead\nError: no repositories found. You must add one before updating\nError: failed to download \"stable/postgresql\" at version \"8.3.0\" (hint: running `helm repo update` may help)", "stderr_lines": ["Error: repo \"https://kubernetes-charts.storage.googleapis.com\" is no longer available; try \"https://charts.helm.sh/stable\" instead", "Error: no repositories found. You must add one before updating", "Error: failed to download \"stable/postgresql\" at version \"8.3.0\" (hint: running `helm repo update` may help)"], "stdout": "Release \"awx-postgresql\" does not exist. Installing it now.", "stdout_lines": ["Release \"awx-postgresql\" does not exist. Installing it now."]}
Helm v3.4.0 will now detect if you have the stable and incubator repository configured with the old location and warn you that you need to update your configuration to the new location.
To proceed further with the installation, the following changes were made to -
ISSUE TYPE
SUMMARY
AWX installation on Kubernetes fails due to incorrect helm repo. Followed the instructions documented here - https://github.com/ansible/awx/blob/devel/INSTALL.md#kubernetes
Encountered the following error during installation.
ENVIRONMENT
STEPS TO REPRODUCE
Follow AWX installtion instructions documented here - https://github.com/ansible/awx/blob/devel/INSTALL.md#kubernetes
EXPECTED RESULTS
Successful installation of AWX on Kubernetes.
ACTUAL RESULTS
Installation failed with the following error
ADDITIONAL INFORMATION
Helm version: 3.4.0
As per Helm documentation, the location of helm repo has changed from "https://kubernetes-charts.storage.googleapis.com" to "https://charts.helm.sh/stable".
To proceed further with the installation, the following changes were made to -
awx/installer/roles/kubernetes/tasks/main.yml
Line 104 in e4e5d65
The text was updated successfully, but these errors were encountered: