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

An error occurred while fetching the catalog: Unable to get the available package detail for the package "bitnami/mysql" using the plugin "helm.packages": internal: Unable to retrieve chart files: sql: no rows in result set. #30668

Open
fea359 opened this issue Nov 28, 2024 · 2 comments
Assignees
Labels
tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@fea359
Copy link

fea359 commented Nov 28, 2024

Name and Version

bitnami/mysql

What architecture are you using?

amd64

What steps will reproduce the bug?

When I searched for mysql, tomcat, and redis using kubeapps, I was able to find these applications, but when I deployed them, it prompted: "An error occurred while fetching the catalog: Unable to get the available package detail for the package "bitnami/mysql" using the plugin "helm.packages": internal: Unable to retrieve chart files: sql: no rows in result set."
But helm search was able to search and install them.
I found the mysql record in the database files, and indeed did not find the record of 12.1.0, but I found the record of 12.0.0, and then I changed 12.0.0 to 12.1.0 and it succeeded. There are many similar situations, such as redis-cluster.
The root cause is that the records in the files table in PostgreSQL have not been updated in a timely manner.

Are you using any custom parameters or values?

no

What is the expected behavior?

No response

What do you see instead?

image
image
image
image
image
image
image
image

Additional information

No response

@fea359 fea359 added the tech-issues The user has a technical issue about an application label Nov 28, 2024
@github-actions github-actions bot added the triage Triage is needed label Nov 28, 2024
@carrodher
Copy link
Member

Hi, the issue may not be directly related to the Bitnami container image/Helm chart, but rather to how the application is being utilized, configured in your specific environment, or tied to a particular scenario that is not easy to reproduce on our side. Probably the best place to look for support is at https://github.com/vmware-tanzu/kubeapps.

With that said, we'll keep this ticket open until the stale bot automatically closes it, in case someone from the community contributes valuable insights.

@fea359
Copy link
Author

fea359 commented Nov 29, 2024

Crstal clean,Thanks.
This problem is easy to reproduce. For any installed or newly installed kubeapps, the same error will appear when searching for mysql, because after Syncing Package Repositories is completed, there is no latest sql record in postgres.
The problem is that the kubeapps scheduled task apprepo-kubeapps-sync cannot pull the latest data when pulling data from https://charts.bitnami.com/bitnami and storing it in postgresql.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

2 participants