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] install kubeblocks dataprotection CrashLoopBackOff #4945

Closed
JashBook opened this issue Aug 31, 2023 · 0 comments · Fixed by #4946
Closed

[BUG] install kubeblocks dataprotection CrashLoopBackOff #4945

JashBook opened this issue Aug 31, 2023 · 0 comments · Fixed by #4946
Assignees
Labels
bug kind/bug Something isn't working
Milestone

Comments

@JashBook
Copy link
Collaborator

Describe the bug
install kubeblocks dataprotection CrashLoopBackOff.

kbcli version
Kubernetes: v1.23.8+k3s1
KubeBlocks: 0.7.0-alpha.3
kbcli: 0.7.0-alpha.3

To Reproduce
Steps to reproduce the behavior:

  1. kbcli kubeblocks install --create-namespace --version 0.7.0-alpha.3 --namespace default
  2. See error
kubectl get pod
NAME                                            READY   STATUS             RESTARTS     AGE
kubeblocks-5ddbc78c5f-xgc8h                     1/1     Running            0            60s
kb-addon-snapshot-controller-649f8b9949-7ptsq   1/1     Running            0            33s
kubeblocks-dataprotection-75bdc67785-kws4p      0/1     CrashLoopBackOff   3 (7s ago)   60s

logs pod

kubectl logs kubeblocks-dataprotection-75bdc67785-kws4p
Defaulted container "dataprotection" out of: dataprotection, tools (init)
2023-08-31T11:51:41.486Z	INFO	setup	config file: /etc/kubeblocks/config.yaml
2023-08-31T11:51:41.486Z	INFO	setup	config settings: map[alsologtostderr:false backup_pv_configmap_name: backup_pv_configmap_namespace: backup_pvc_create_policy: backup_pvc_init_capacity: backup_pvc_name: backup_pvc_storage_class: cert_dir:/tmp/k8s-webhook-server/serving-certs cm_namespace:default cm_recon_retry_duration_ms:1000 data_plane_affinity:{"nodeAffinity":{"preferredDuringSchedulingIgnoredDuringExecution":[{"preference":{"matchExpressions":[{"key":"kb-data","operator":"In","values":["true"]}]},"weight":100}]}} data_plane_tolerations:[{"effect":"NoSchedule","key":"kb-data","operator":"Equal","value":"true"}] default_storage_class: health_probe_bind_address::8081 kubeblocks_serviceaccount_name:kubeblocks kubeblocks_tools_image:registry.cn-hangzhou.aliyuncs.com/apecloud/kubeblocks-tools:0.7.0-alpha.3 kubeconfig: kubernetes_cluster_domain:cluster.local leader_elect:true leader_elect_id:abd03fda log_backtrace_at::0 log_dir: logtostderr:false maxconcurrentreconciles_dataprotection:12 metrics_bind_address::8080 stderrthreshold:2 v:0 vmodule: volumesnapshot:true volumesnapshot_api_beta:false zap_devel:false zap_encoder:console zap_log_level: zap_stacktrace_level: zap_time_encoding:iso8601]
2023-08-31T11:51:42.288Z	ERROR	setup	unable to start manager	{"error": "no kind is registered for the type v1alpha1.Cluster in scheme \"pkg/runtime/scheme.go:100\""}
main.main
	/src/cmd/dataprotection/main.go:194
runtime.main
	/usr/local/go/src/runtime/proc.go:250

Expected behavior
install kubeblocks dataprotection. success

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 Aug 31, 2023
@JashBook JashBook added this to the Release 0.7.0 milestone Aug 31, 2023
@JashBook JashBook linked a pull request Aug 31, 2023 that will close this issue
@ldming ldming closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants