You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
k get cluster -A
NAMESPACE NAME CLUSTER-DEFINITION TERMINATION-POLICY STATUS AGE
default mysqlc02 mysql Delete Failed 16m
k get pod
NAME READY STATUS RESTARTS AGE
mysqlc02-mysql-0 3/4 CrashLoopBackOff 8 (41s ago) 17m
k describe pod mysqlc02-mysql-0
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 17m default-scheduler Successfully assigned default/mysqlc02-mysql-0 to cn-zhangjiakou.10.0.0.128
Normal SuccessfulAttachVolume 17m attachdetach-controller AttachVolume.Attach succeeded for volume "d-8vb9k9qiyn9pxnkrqbb9"
Normal AllocIPSucceed 17m terway-daemon Alloc IP 10.0.0.78/24 took 32.87738ms
Normal Pulled 17m kubelet Container image "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/mysql_audit_log:8.0.33" already present on machine
Normal Created 17m kubelet Created container init-data
Normal Started 17m kubelet Started container init-data
Normal Pulled 17m kubelet Container image "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/xtrabackup:8.0" already present on machine
Normal Created 17m kubelet Created container init-xtrabackup
Normal Started 17m kubelet Started container init-xtrabackup
Normal Pulled 17m kubelet Container image "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/jemalloc:5.3.0" already present on machine
Normal Created 17m kubelet Created container init-jemalloc
Normal Started 17m kubelet Started container init-jemalloc
Normal Pulled 17m kubelet Container image "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/syncer:0.3.8" already present on machine
Normal Created 17m kubelet Created container init-syncer
Normal Started 17m kubelet Started container init-syncer
Normal Pulled 17m kubelet Container image "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/dbctl:0.1.5" already present on machine
Normal Created 17m kubelet Created container init-dbctl
Normal Started 17m kubelet Started container init-dbctl
Normal Pulled 17m kubelet Container image "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/kubeblocks-tools:1.0.0-beta.18" already present on machine
Normal Created 17m kubelet Created container kbagent-worker
Normal Started 17m kubelet Started container kbagent-worker
Normal Pulled 17m kubelet Container image "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/mysql:8.0.39" already present on machine
Normal Created 17m kubelet Created container mysql
Normal Started 17m kubelet Started container mysql
Normal Pulled 17m kubelet Container image "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/mysqld-exporter:0.15.1" already present on machine
Normal Created 17m kubelet Created container mysql-exporter
Normal Started 17m kubelet Started container mysql-exporter
Normal Pulled 17m kubelet Container image "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/kubeblocks-tools:1.0.0-beta.18" already present on machine
Warning BackOff 2m25s (x72 over 17m) kubelet Back-off restarting failed container mysql in pod mysqlc02-mysql-0_default(b39e3de8-68c8-4eea-a44e-4ecbced4ab85)
Pod logs:
2024-12-19T05:16:01Z DEBUG Starting syncer {"version": "63a1b2d644fed9116141acb54260394dd730909b"}
2024-12-19T05:16:01Z INFO Initialize DB manager
2024-12-19T05:16:01Z DEBUG KB_WORKLOAD_TYPE ENV not set
panic: DCS initialize failed: KB_CLUSTER_NAME must be set
Describe the env
Kubernetes: v1.31.1-aliyun.1
KubeBlocks: 1.0.0-beta.18
kbcli: 1.0.0-beta.7
To Reproduce
Steps to reproduce the behavior:
Pod logs:
2024-12-19T05:16:01Z DEBUG Starting syncer {"version": "63a1b2d644fed9116141acb54260394dd730909b"}
2024-12-19T05:16:01Z INFO Initialize DB manager
2024-12-19T05:16:01Z DEBUG KB_WORKLOAD_TYPE ENV not set
panic: DCS initialize failed: KB_CLUSTER_NAME must be set
goroutine 1 [running]:
main.main()
/src/cmd/syncer/main.go:51 +0x2e5
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):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: