question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] - Deployment on minikube fails: minio and postgresql charts not found

See original GitHub issue

OS system and architecture in which you are running QHub

Linux 5.18.1-arch1-1 x86_64

Expected behavior

Following the minikube guide, I expect to be able to deploy QHub locally.

Actual behavior

Upon doing python -m qhub deploy --config qhub-config.yaml --disable-prompt, the deployment fails. All the preceeding steps work execute successfully.

It looks like minio 6.7.4 and postgresql 10.13.12 charts aren’t present in https://charts.bitnami.com/bitnami.

How to Reproduce the problem?

pip install qhub
minikube start --cpus 6 --memory 8192 --driver=docker
python qhub/tests/scripts/minikube-loadbalancer-ip.py
minikube addons enable metallb
mkdir qhub-local-deployment
cd qhub-local-deployment
mkdir data
cd data
qhub init local --project=localdeployment --domain github-actions.qhub.dev --auth-provider=password --terraform-state=local
python -m qhub deploy --config qhub-config.yaml --disable-prompt

Command output

...
[terraform]: ╷
[terraform]: │ Error: chart "minio" version "6.7.4" not found in https://charts.bitnami.com/bitnami repository
[terraform]: │ 
[terraform]: │   with module.kubernetes-conda-store-server.module.minio.helm_release.minio,
[terraform]: │   on modules/kubernetes/services/minio/main.tf line 7, in resource "helm_release" "minio":
[terraform]: │    7: resource "helm_release" "minio" {
[terraform]: │ 
[terraform]: ╵
[terraform]: ╷
[terraform]: │ Error: chart "postgresql" version "10.13.12" not found in https://charts.bitnami.com/bitnami repository
[terraform]: │ 
[terraform]: │   with module.kubernetes-conda-store-server.module.postgresql.helm_release.postgresql,
[terraform]: │   on modules/kubernetes/services/postgresql/main.tf line 7, in resource "helm_release" "postgresql":
[terraform]: │    7: resource "helm_release" "postgresql" {
[terraform]: │ 
[terraform]: ╵

Problem encountered: Terraform error

Versions and dependencies used.

[~]$ kubectl version --output=yaml
clientVersion:
  buildDate: "2022-05-27T18:33:09Z"
  compiler: gc
  gitCommit: 3ddd0f45aa91e2f30c70734b175631bec5b5825a
  gitTreeState: archive
  gitVersion: v1.24.1
  goVersion: go1.18.2
  major: "1"
  minor: "24"
  platform: linux/amd64
kustomizeVersion: v4.5.4
serverVersion:
  buildDate: "2022-01-25T21:19:12Z"
  compiler: gc
  gitCommit: 816c97ab8cff8a1c72eccca1026f7820e93e0d25
  gitTreeState: clean
  gitVersion: v1.23.3
  goVersion: go1.17.6
  major: "1"
  minor: "23"
  platform: linux/amd64

Compute environment

Tried with QHub 0.4.1 (from pip install qhub) as well as the latest commit (2687f13f54e3833234fc4282587be16521f0c84a). minikube

Integrations

No response

Anything else?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
iameskildcommented, Jun 7, 2022

This bitnami issue seems to suggest that a recent update that bitnami made to their index.yaml is causing trouble for many other projects as well.

I get a 404 error when I try to access their outdated index.yaml (their proposed workaround): https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami

0reactions
viniciusdccommented, Jun 7, 2022

solved by #1308

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deployment on minikube fails: minio and postgresql charts not ...
Upon doing python -m qhub deploy --config qhub-config.yaml --disable-prompt , the deployment fails. All the preceeding steps work execute ...
Read more >
Troubleshoot Bitnami Helm chart issues
Bitnami Helm charts provide an easy way to install and manage ... Use this checklist to identify and debug Bitnami Helm chart deployments....
Read more >
Developing for Kubernetes with minikube - GitLab Docs
Deploying the chart. When deploying this chart into minikube, some chart resources need to be reduced or disabled. It is not possible to...
Read more >
Deploy Kubernetes: Unable to launch airbyte using helm charts
Just FYI , I could not resolve the error , Thus I tried to reinstall minikube with virtual-box , and this worked for...
Read more >
Kubernetes CrashLoopBackOff Error: What It Is and How to Fix It
A best practice for fixing this error is ensuring you have the latest Docker version and the most stable versions of other plugins....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found