Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.yml #8716

Closed
wants to merge 1 commit into from
Closed

Update main.yml #8716

wants to merge 1 commit into from

Conversation

dinup24
Copy link

@dinup24 dinup24 commented Dec 1, 2020

Updating helm repo

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.

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."]}

As per Helm documentation, the location of helm repo has changed from "https://kubernetes-charts.storage.googleapis.com" to "https://charts.helm.sh/stable". The fix is to update helm repo in ansible playbook.

Fix for #8715

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
  • Installer
AWX VERSION
15.0.1
ADDITIONAL INFORMATION

Updating helm repo
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@shanemcd
Copy link
Member

shanemcd commented Dec 1, 2020

Closing in favor of #8534

@shanemcd shanemcd closed this Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants