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

[BUG]1.0 helm upgrade -i kb-addon-opensearch failed with errror: no matches for kind "ClusterVersion" #8449

Closed
tianyue86 opened this issue Nov 14, 2024 · 3 comments
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@tianyue86
Copy link

Describe the env

Kubernetes: v1.30.4-eks-a737599
KubeBlocks: 1.0.0-beta.1
kbcli: 1.0.0-alpha.1

To Reproduce
Steps to reproduce the behavior:

  1. Search repo success
tianyue@kubeblocks-addons % helm search repo kubeblocks-addons/opensearch --versions --devel | grep 1.0.0
kubeblocks-addons/opensearch        	1.0.0-alpha.0	2.7.0      	Open source distributed and RESTful search engine.
kubeblocks-addons/opensearch-cluster	1.0.0-alpha.0	2.7.0      	A Helm chart for OpenSearch Cluster 
  1. install failed with error
tianyue@kubeblocks-addons % helm upgrade -i kb-addon-opensearch kubeblocks-addons/opensearch --version 1.0.0-alpha.0 -n kb-system
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: resource mapping not found for name: "opensearch-2.7.0" namespace: "" from "": no matches for kind "ClusterVersion" in version "[apps.kubeblocks.io/v1alpha1](http://apps.kubeblocks.io/v1alpha1)"
ensure CRDs are installed first

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@tianyue86 tianyue86 added the kind/bug Something isn't working label Nov 14, 2024
@tianyue86 tianyue86 added this to the Release 1.0.0 milestone Nov 14, 2024
@tianyue86
Copy link
Author

tianyue@apeclouds-MacBook-Pro kubeblocks-addons % helm upgrade -i kb-addon-weaviate kubeblocks-addons/weaviate --version 1.0.0-alpha.0 -n kb-system
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: [resource mapping not found for name: "weaviate-backup-policy-template" namespace: "" from "": no matches for kind "BackupPolicyTemplate" in version "apps.kubeblocks.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "weaviate-1.18.0" namespace: "" from "": no matches for kind "ClusterVersion" in version "apps.kubeblocks.io/v1alpha1"
ensure CRDs are installed first]
===> weaviate has the same problem, please fix them together. Thanks!

@tianyue86
Copy link
Author

tianyue@apeclouds-MacBook-Pro kbcli % helm upgrade -i kb-addon-oceanbase-ce kubeblocks-addons/oceanbase-ce --version 1.0.0-alpha.0 -n kb-system
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: [resource mapping not found for name: "ob-ce-backup-policy-template" namespace: "" from "": no matches for kind "BackupPolicyTemplate" in version "apps.kubeblocks.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "ob-ce-4.3.0.1-100000242024032211" namespace: "" from "": no matches for kind "ClusterVersion" in version "apps.kubeblocks.io/v1alpha1"
ensure CRDs are installed first]
tianyue@apeclouds-MacBook-Pro kbcli % helm upgrade -i kb-addon-apecloud-postgresql kubeblocks-addons/apecloud-postgresql --version 1.0.0-alpha.0 -n kb-system
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: [resource mapping not found for name: "ac-postgresql-14.11" namespace: "" from "": no matches for kind "ClusterVersion" in version "apps.kubeblocks.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "kb.classes.default.apecloud-postgresql.postgresql" namespace: "" from "": no matches for kind "ComponentClassDefinition" in version "apps.kubeblocks.io/v1alpha1"
ensure CRDs are installed first]
===>oceanbase-ce and apecloud-postgresql have the same problem.

@shanshanying
Copy link
Contributor

Hi @tianyue86,

It seems you are upgrading from Addon of version 0.9.x. Please find a new and clean to install Addon 1.0.x for KB 1.0.x. I will close this issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants