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

Could not download chart: invalid_reference: invalid tag #203

Closed
thanhhungtakeshi opened this issue Nov 22, 2024 · 2 comments
Closed

Could not download chart: invalid_reference: invalid tag #203

thanhhungtakeshi opened this issue Nov 22, 2024 · 2 comments
Labels
bug Something isn't working FarmVibes.AI setup Issues encountered during cluster setup local cluster Issues encountered in local cluster

Comments

@thanhhungtakeshi
Copy link

In which step did you encounter the bug?

FarmVibes.AI setup

Are you using a local or a remote (AKS) FarmVibes.AI cluster?

Local cluster

Bug description

Hi. I'm currently setup FarmVibes.AI on Azure VM and facing the issue as below. The setup works well yesterday but running into error today. I tried to run the setup on Azure VM and also GCP Compute Engine instance but receive the same error. Any idea why?

Running step:
farmvibes-ai local setup

Errors:

2024-11-22 06:08:19,650 - INFO    - terraform: │ Error: could not download chart: invalid_reference: invalid tag
2024-11-22 06:08:19,650 - INFO    - terraform: │ 
2024-11-22 06:08:19,650 - INFO    - terraform: │   with module.kubernetes.helm_release.rabbitmq,
2024-11-22 06:08:19,650 - INFO    - terraform: │   on modules/kubernetes/rabbitmq.tf line 1, in resource "helm_release" "rabbitmq":
2024-11-22 06:08:19,650 - INFO    - terraform: │    1: resource "helm_release" "rabbitmq" {
2024-11-22 06:08:19,650 - INFO    - terraform: │ 
2024-11-22 06:08:19,650 - INFO    - terraform: ╵
2024-11-22 06:08:19,833 - ERROR   - farmvibes-ai local failed (Failed to apply terraform resources in /home/azureuser/.config/farmvibes-ai/terraform-user/local). Please see the above error descriptions. If you think this is an error with the program, please file an issue at https://github.com/microsoft/farmvibes-ai/issues. Please also include the contents of /home/azureuser/.cache/farmvibes-ai/farmvibes-ai-local.log in your issue.

Steps to reproduce the problem

No response

@thanhhungtakeshi thanhhungtakeshi added the bug Something isn't working label Nov 22, 2024
@github-actions github-actions bot added triage Issues still not triaged by team FarmVibes.AI setup Issues encountered during cluster setup local cluster Issues encountered in local cluster labels Nov 22, 2024
@click2cloud-kaliram
Copy link

Steps to Fix the Invalid Tag Issue and Update RabbitMQ:

Edit rabbitmq.tf: Add the version = "15.0.5" line number 7 below namespace = var.namespace in your rabbitmq.tf file located at
farmvibes-ai/src/vibe_core/vibe_core/terraform/local/modules/kubernetes/rabbitmq.tf:

version = "15.0.5"

Update vibe_core: After updating the rabbitmq.tf file, you need to update the vibe_core module. To do this, run the following command:

pip install --upgrade farmvibes-ai/src/vibe_core

Set Up FarmVibes Local Cluster: Once the module is updated, you can proceed with setting up the FarmVibes local cluster by running the following command:

farmvibes-ai local setup

Image

rafaspadilha added a commit that referenced this issue Nov 27, 2024
…207)

This PR fixes an issue in which cluster setup would fail with an `Error:
could not download chart: invalid_reference: invalid tag` error message
when installing rabbitmq. This is related to [this issue in bitnami
repo](bitnami/charts#30582), and fixes issue
#203.

This PR also updates the redis and rabbitmq image tags to the latest
versions to ensure compatibility with the latest dependencies and
security patches.
@rafaspadilha
Copy link
Contributor

Hi, @thanhhungtakeshi and @click2cloud-kaliram.

We added a fix for this issue in the dev branch with #207, following the fix for this issue in bitnami repo that @thanhhungtakeshi had raised there.

Thanks for raising that issue in their repo. In future issues, do not hesitate to open a PR with the fix for FarmVibes repo as well.

@rafaspadilha rafaspadilha removed the triage Issues still not triaged by team label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FarmVibes.AI setup Issues encountered during cluster setup local cluster Issues encountered in local cluster
Projects
None yet
Development

No branches or pull requests

3 participants