Open JashBook opened 3 weeks ago
https://github.com/apecloud/kubeblocks-addons/pull/951 update the code
apecloud/kubeblocks-addons#951 update the code
This pr cannot solve the problem of install kubeblocks apecloud-mysql addon enable failed
helm upgrade -i -n kb-system kb-addon-apecloud-mysql kb-addons/apecloud-mysql --version 1.0.0-alpha.0
Release "kb-addon-apecloud-mysql" does not exist. Installing it now.
Error: execution error at (apecloud-mysql/templates/cr-check.yaml:3:6): The ComponentDefinition etcd is required but does not exist in namespace kb-system.
try to update kb code? I try it in main kb code, it's ok
try to update kb code? I try it in main kb code, it's ok
The default addon installed by kubeblocks does not include etcd cmpd. I only installed KB, not etcd addon. https://github.com/apecloud/kubeblocks-addons/blob/main/addons/apecloud-mysql/templates/cr-check.yaml Whether it is a mandatory dependency check may need to be evaluated.
A similar case: installing the MySQL addon would require the Orchestrator addon to be installed as a dependency, correct? Of course, the MySQL addon likely doesn't enforce a strict dependency check.
@kubeJocker
A similar case: installing the MySQL addon would require the Orchestrator addon to be installed as a dependency, correct? Of course, the MySQL addon likely doesn't enforce a strict dependency check.
@kubeJocker
In the MySQL Addon, both the syncer and Orchestrator exist as high availability solutions. If there is a forced requirement for Orchestrator dependency, it will affect users who rely on the syncer. So should users who use the syncer also be forced to install the Orchestrator Addon?
Describe the bug
To Reproduce Steps to reproduce the behavior:
Failed addons: NAME TIME REASON MESSAGE
apecloud-mysql Aug 19,2024 15:31 UTC+0800 InstallationFailedLogs Release "kb-addon-apecloud-mysql" does not exist. Installing it now.
Error: execution error at (apecloud-mysql/templates/cr-check.yaml:3:6): The ComponentDefinition etcd-1.0.0-alpha.0 is re
quired but does not exist in namespace kb-system.
Enabling addons: postgresql, pulsar, snapshot-controller Please wait for a while and try to run "kbcli addon list" to check addons status. Failed to wait for auto-install addons to be enabled, run "kbcli kubeblocks status" to check the status error: some addons are failed to be enabled
kubectl get pod -n kb-system
NAME READY STATUS RESTARTS AGE install-apecloud-mysql-addon-bzf98 0/1 Error 0 3m27s install-apecloud-mysql-addon-kkcck 0/1 Error 0 2m46s install-apecloud-mysql-addon-llgbt 0/1 Error 0 3m47s install-apecloud-mysql-addon-rdhcn 0/1 Error 0 3m59s kb-addon-snapshot-controller-557f9cf454-fdzct 1/1 Running 0 9m14s kubeblocks-58b8cfc87f-bp7q2 1/1 Running 0 11m kubeblocks-dataprotection-75d7c6b96b-49tdr 1/1 Running 0 11m
kubectl logs -n kb-system install-apecloud-mysql-addon-bzf98 Defaulted container "helm" out of: helm, copy-charts (init) Release "kb-addon-apecloud-mysql" does not exist. Installing it now. Error: execution error at (apecloud-mysql/templates/cr-check.yaml:3:6): The ComponentDefinition etcd-1.0.0-alpha.0 is required but does not exist in namespace kb-system.