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] kubeblocks install failed: failed calling webhook "vconfigconstraint.kb.io" #8133

Closed
JashBook opened this issue Sep 11, 2024 · 1 comment · Fixed by #8134
Closed

[BUG] kubeblocks install failed: failed calling webhook "vconfigconstraint.kb.io" #8133

JashBook opened this issue Sep 11, 2024 · 1 comment · Fixed by #8134
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@JashBook
Copy link
Collaborator

JashBook commented Sep 11, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. download kbcli
curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s v0.9.1-beta.10
  1. See error
kbcli kubeblocks install --create-namespace --version 0.9.1-beta.24 --set image.registry=docker.io --set dataProtection.image.registry=docker.io --set addonChartsImage.registry=docker.io --set admissionWebhooks.enabled=true --set admissionWebhooks.ignoreReplicasCheck=true --set dataProtection.image.datasafed.tag=0.2.0
KubeBlocks will be installed to namespace "kb-system"
Kubernetes version 1.30.0
kbcli version 0.9.1-beta.10
Collecting data from cluster                       OK
Kubernetes cluster preflight                       OK
  Warn
  - This application requires at least 3 nodes
Create CRDs                                        OK
Add and update repo kubeblocks                     OK
Install KubeBlocks 0.9.1-beta.24                   OK
Wait for addons to be enabled
  apecloud-mysql                                   Enabling
  etcd                                             Enabling
  kafka                                            Failed
  mongodb                                          Enabling
  mysql                                            Enabling
  postgresql                                       Enabling
  pulsar                                           Enabling
  redis                                            Enabling
  snapshot-controller                              Enabling

Failed addons:
NAME    TIME                         REASON                   MESSAGE                                                                                                                    
kafka   Sep 11,2024 19:18 UTC+0800   InstallationFailedLogs   Release "kb-addon-kafka" does not exist. Installing it now.                                                                
                                                              W0911 11:18:26.165292       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                              W0911 11:18:26.444441       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                              W0911 11:18:26.772079       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                              Error: release kb-addon-kafka failed, and has been uninstalled due to atomic being set: 1 error occurred:                  
                                                                  * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                              d not find the requested resource                                                                                          
                                                                                                                                                                                         
 kbcli addon list
NAME                           VERSION         PROVIDER    STATUS     AUTO-INSTALL   
alertmanager-webhook-adaptor   0.1.4           apecloud    Disabled   false          
apecloud-otel-collector        0.1.2-beta.3    apecloud    Disabled   false          
aws-load-balancer-controller   1.4.8           community   Disabled   false          
csi-driver-nfs                 4.5.0           community   Disabled   false          
csi-hostpath-driver            0.7.0           community   Disabled   false          
grafana                        6.43.5          community   Disabled   false          
kubeblocks-csi-driver          0.1.4           community   Disabled   false          
llm                            0.9.0           community   Disabled   false          
loki                           5.8.9           community   Disabled   false          
prometheus                     15.16.1         community   Disabled   false          
qdrant                         0.9.1           community   Disabled   false          
victoria-metrics-agent         0.8.41          community   Disabled   false          
etcd                           0.9.0           apecloud    Enabled    true           
snapshot-controller            1.7.2           community   Enabled    true           
apecloud-mysql                 0.9.0-beta.10   apecloud    Failed     true           
kafka                          0.9.0           community   Failed     true           
mongodb                        0.9.1           apecloud    Failed     true           
mysql                          0.9.2           community   Failed     true           
postgresql                     0.9.0           community   Failed     true           
pulsar                         0.9.1           community   Failed     true           
redis                          0.9.0           community   Failed     true  

➜  ~ kbcli addon describe apecloud-mysql
Name:               apecloud-mysql
Description:        ApeCloud MySQL is a database that is compatible with MySQL syntax and achieves high availability through the utilization of the RAFT consensus protocol.
Labels:             addon.kubeblocks.io/version=0.9.0-beta.10,addon.kubeblocks.io/model=RDBMS,addon.kubeblocks.io/name=apecloud-mysql,addon.kubeblocks.io/provider=apecloud
Type:               Helm
Status:             Failed
Auto-install:       true

Default install selector: NONE	
NAME   REPLICAS   STORAGE   CPU (REQ/LIMIT)   MEMORY (REQ/LIMIT)   STORAGE-CLASS   TOLERATIONS   PV-ENABLED   
main                        /                 /                                                               

Failed Message
TIME                         REASON                   MESSAGE                                                                                                                    
Sep 11,2024 19:18 UTC+0800   InstallationFailedLogs   Release "kb-addon-apecloud-mysql" does not exist. Installing it now.                                                       
                                                      W0911 11:18:35.958580       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:35.960134       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:35.961657       1 warnings.go:70] Due to the lack of practical use cases, this API is deprecated from KB 0.9   
                                                      .0.                                                                                                                        
                                                      W0911 11:18:36.116744       1 warnings.go:70] unknown field "spec.backupPolicies[0].target.fallBackRole"                   
                                                      W0911 11:18:36.117476       1 warnings.go:70] unknown field "spec.backupPolicies[0].target.fallBackRole"                   
                                                      W0911 11:18:36.149156       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:36.149787       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:36.153604       1 warnings.go:70] Due to the lack of practical use cases, this API is deprecated from KB 0.9   
                                                      .0.                                                                                                                        
                                                      W0911 11:18:36.587110       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:36.587153       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:36.592766       1 warnings.go:70] Due to the lack of practical use cases, this API is deprecated from KB 0.9   
                                                      .0.                                                                                                                        
                                                      Error: release kb-addon-apecloud-mysql failed, and has been uninstalled due to atomic being set: 4 errors occurred:        
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
➜  ~ kbcli addon describe mongodb       
Name:               mongodb
Description:        MongoDB is a document database designed for ease of application development and scaling.
Labels:             addon.kubeblocks.io/provider=apecloud,addon.kubeblocks.io/version=0.9.1,addon.kubeblocks.io/model=document,addon.kubeblocks.io/name=mongodb
Type:               Helm
Status:             Failed
Auto-install:       true

Default install selector: NONE	
NAME   REPLICAS   STORAGE   CPU (REQ/LIMIT)   MEMORY (REQ/LIMIT)   STORAGE-CLASS   TOLERATIONS   PV-ENABLED   
main                        /                 /                                                               

Failed Message
TIME                         REASON                   MESSAGE                                                                                                                    
Sep 11,2024 19:18 UTC+0800   InstallationFailedLogs   Release "kb-addon-mongodb" does not exist. Installing it now.                                                              
                                                      W0911 11:18:40.249252       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.250458       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.251950       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.253850       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.255357       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.350640       1 warnings.go:70] unknown field "spec.backupPolicies[0].target.fallBackRole"                   
                                                      W0911 11:18:40.350652       1 warnings.go:70] unknown field "spec.backupPolicies[1].target.fallBackRole"                   
                                                      W0911 11:18:40.350654       1 warnings.go:70] unknown field "spec.backupPolicies[2].target.fallBackRole"                   
                                                      W0911 11:18:40.398978       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.406122       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.408041       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.408150       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.408013       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.638999       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.643269       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.644389       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.646429       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:40.649001       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      Error: release kb-addon-mongodb failed, and has been uninstalled due to atomic being set: 3 errors occurred:               
                                                          * admission webhook "vclusterversion.kb.io" denied the request: ClusterVersion.apps.kubeblocks.io/v1alpha1 "mongodb-   
                                                      sharding-5.0" is invalid: spec.clusterDefinitionRef: Invalid value: "mongodb-sharding": ClusterDefinition.apps.kubeblock   
                                                      s.io "mongodb-sharding" not found                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
➜  ~ kbcli addon describe mysql  
Name:               mysql
Description:        MySQL is a widely used, open-source relational database management system (RDBMS).
Labels:             addon.kubeblocks.io/model=RDBMS,addon.kubeblocks.io/name=mysql,addon.kubeblocks.io/provider=community,addon.kubeblocks.io/version=0.9.2
Type:               Helm
Status:             Failed
Auto-install:       true

Default install selector: NONE	
NAME   REPLICAS   STORAGE   CPU (REQ/LIMIT)   MEMORY (REQ/LIMIT)   STORAGE-CLASS   TOLERATIONS   PV-ENABLED   
main                        /                 /                                                               

Failed Message
TIME                         REASON                   MESSAGE                                                                                                                    
Sep 11,2024 19:18 UTC+0800   InstallationFailedLogs   Release "kb-addon-mysql" does not exist. Installing it now.                                                                
                                                      W0911 11:18:33.105157       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:33.107439       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:33.108893       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:33.110781       1 warnings.go:70] Due to the lack of practical use cases, this API is deprecated from KB 0.9   
                                                      .0.                                                                                                                        
                                                      W0911 11:18:33.234573       1 warnings.go:70] unknown field "spec.backupPolicies[0].target.fallBackRole"                   
                                                      W0911 11:18:33.234969       1 warnings.go:70] unknown field "spec.backupPolicies[0].target.fallBackRole"                   
                                                      W0911 11:18:33.258391       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:33.262761       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:33.263128       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:33.270417       1 warnings.go:70] Due to the lack of practical use cases, this API is deprecated from KB 0.9   
                                                      .0.                                                                                                                        
                                                      W0911 11:18:33.593313       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:33.593554       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:33.596465       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:33.604647       1 warnings.go:70] Due to the lack of practical use cases, this API is deprecated from KB 0.9   
                                                      .0.                                                                                                                        
                                                      Error: release kb-addon-mysql failed, and has been uninstalled due to atomic being set: 2 errors occurred:                 
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
➜  ~ kbcli addon describe postgresql
Name:               postgresql
Description:        PostgreSQL (Postgres) is an open source object-relational database known for reliability and data integrity. ACID-compliant, it supports foreign keys, joins, views, triggers and stored procedures.
Labels:             addon.kubeblocks.io/version=0.9.0,addon.kubeblocks.io/model=RDBMS,addon.kubeblocks.io/name=postgresql,addon.kubeblocks.io/provider=community
Type:               Helm
Status:             Failed
Auto-install:       true

Default install selector: NONE	
NAME   REPLICAS   STORAGE   CPU (REQ/LIMIT)   MEMORY (REQ/LIMIT)   STORAGE-CLASS   TOLERATIONS   PV-ENABLED   
main                        /                 /                                                               

Failed Message
TIME                         REASON                   MESSAGE                                                                                                                    
Sep 11,2024 19:18 UTC+0800   InstallationFailedLogs   Release "kb-addon-postgresql" does not exist. Installing it now.                                                           
                                                      W0911 11:18:30.651127       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.653000       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.654769       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.656318       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.658175       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.660396       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.661689       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.838428       1 warnings.go:70] unknown field "spec.backupPolicies[0].backupMethods[3].target.fallBackRole   
                                                      "                                                                                                                          
                                                      W0911 11:18:30.838590       1 warnings.go:70] unknown field "spec.backupPolicies[0].target.fallBackRole"                   
                                                      W0911 11:18:30.838598       1 warnings.go:70] unknown field "spec.backupPolicies[1].backupMethods[3].target.fallBackRole   
                                                      "                                                                                                                          
                                                      W0911 11:18:30.838636       1 warnings.go:70] unknown field "spec.backupPolicies[1].target.fallBackRole"                   
                                                      W0911 11:18:30.871940       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.876686       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.876740       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.876762       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.876786       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.878432       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:30.883386       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:31.562921       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:31.575556       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:31.575658       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:31.576273       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:31.576365       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:31.576376       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:31.576592       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      Error: release kb-addon-postgresql failed, and has been uninstalled due to atomic being set: 4 errors occurred:            
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
➜  ~ kbcli addon describe pulsar    
Name:               pulsar
Description:        Apache® Pulsar™ is an open-source, distributed messaging and streaming platform built for the cloud.
Labels:             addon.kubeblocks.io/version=0.9.1,addon.kubeblocks.io/model=streaming,addon.kubeblocks.io/name=pulsar,addon.kubeblocks.io/provider=community
Type:               Helm
Status:             Failed
Auto-install:       true

Default install selector: NONE	
NAME   REPLICAS   STORAGE   CPU (REQ/LIMIT)   MEMORY (REQ/LIMIT)   STORAGE-CLASS   TOLERATIONS   PV-ENABLED   
main                        /                 /                                                               

Failed Message
TIME                         REASON                   MESSAGE                                                                                                                    
Sep 11,2024 19:18 UTC+0800   InstallationFailedLogs   Release "kb-addon-pulsar" does not exist. Installing it now.                                                               
                                                      W0911 11:18:45.268632       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:45.271059       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:45.487612       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:45.490350       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:46.036386       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:46.037221       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      Error: release kb-addon-pulsar failed, and has been uninstalled due to atomic being set: 8 errors occurred:                
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
➜  ~ kbcli addon describe redis 
Name:               redis
Description:        Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.
Labels:             addon.kubeblocks.io/version=0.9.0,addon.kubeblocks.io/model=key-value,addon.kubeblocks.io/name=redis,addon.kubeblocks.io/provider=community
Type:               Helm
Status:             Failed
Auto-install:       true

Default install selector: NONE	
NAME   REPLICAS   STORAGE   CPU (REQ/LIMIT)   MEMORY (REQ/LIMIT)   STORAGE-CLASS   TOLERATIONS   PV-ENABLED   
main                        /                 /                                                               

Failed Message
TIME                         REASON                   MESSAGE                                                                                                                    
Sep 11,2024 19:18 UTC+0800   InstallationFailedLogs   Release "kb-addon-redis" does not exist. Installing it now.                                                                
                                                      W0911 11:18:50.867668       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:50.869085       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:50.991248       1 warnings.go:70] unknown field "spec.backupPolicies[0].target.fallBackRole"                   
                                                      W0911 11:18:50.991271       1 warnings.go:70] unknown field "spec.backupPolicies[1].target.fallBackRole"                   
                                                      W0911 11:18:50.991274       1 warnings.go:70] unknown field "spec.backupPolicies[2].target.fallBackRole"                   
                                                      W0911 11:18:51.016813       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:51.018696       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:51.426438       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      W0911 11:18:51.427219       1 warnings.go:70] The ClusterVersion CRD has been deprecated since 0.9.0                       
                                                      Error: release kb-addon-redis failed, and has been uninstalled due to atomic being set: 2 errors occurred:                 
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                          * Internal error occurred: failed calling webhook "vconfigconstraint.kb.io": failed to call webhook: the server coul   
                                                      d not find the requested resource                                                                                          
                                                                                                                                                                                 
                                                                                                                                                                                 
             

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.

@JashBook JashBook added the kind/bug Something isn't working label Sep 11, 2024
@JashBook JashBook changed the title [BUG] [BUG] kubeblocks install failed: failed calling webhook "vconfigconstraint.kb.io" Sep 11, 2024
@JashBook JashBook added this to the Release 0.9.1 milestone Sep 11, 2024
@sophon-zt sophon-zt linked a pull request Sep 11, 2024 that will close this issue
@shanshanying
Copy link
Contributor

admission webhook "vclusterversion.kb.io" denied the request: ClusterVersion.apps.kubeblocks.io/v1alpha1 "mongodb-sharding-5.0" is invalid: spec.clusterDefinitionRef: Invalid value: "mongodb-sharding": ClusterDefinition.apps.kubeblocks.io "mongodb-sharding" not found

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

Successfully merging a pull request may close this issue.

3 participants