Closed JashBook closed 8 months ago
It can be repeated when do hscale
kbcli version
Kubernetes: v1.26.6-gke.1700
KubeBlocks: 0.8.0-beta.29
kbcli: 0.8.0-beta.29
kbcli cluster create etcdo-vutgji --termination-policy=WipeOut --monitoring-interval=0 --cluster-definition=etcd --enable-all-logs=false --set cpu=100m,memory=0.5Gi,replicas=3,storage=1Gi --namespace default
kbcli cluster create orioledb-vutgji --termination-policy=Delete --monitoring-interval=0 --cluster-definition=orioledb --enable-all-logs=false --cluster-version=orioledb-beta1 --set cpu=100m,memory=0.5Gi,replicas=1,storage=1Gi --service-reference name=etcdService,cluster=etcdo-vutgji --namespace default
kbcli cluster hscale orioledb-vutgji --auto-approve --components orioledb --replicas 3 --namespace default
kubectl get pod
NAME READY STATUS RESTARTS AGE
etcdo-vutgji-etcd-0 3/3 Running 0 14m
etcdo-vutgji-etcd-1 3/3 Running 0 14m
etcdo-vutgji-etcd-2 3/3 Running 0 14m
orioledb-vutgji-orioledb-0 5/5 Running 0 8m44s
orioledb-vutgji-orioledb-1 4/5 CrashLoopBackOff 6 (17s ago) 6m23s
orioledb-vutgji-orioledb-2 4/5 Error 6 (2m57s ago) 6m23s
kubectl logs orioledb-vutgji-orioledb-1 postgresql
chmod: /home/postgres/pgdata/pgroot/data: No such file or directory
orioledb-vutgji-orioledb-0.orioledb-vutgji-orioledb-headless:5432 - accepting connections
PostgreSQL is ready!
/kb-scripts/setup.sh: line 37: python3: command not found
chmod: /var/lib/postgresql/tmp_patroni.yaml: No such file or directory
-sh: patroni: not found
not recurrence
Describe the bug orioledb cluster create CrashLoopBackOff: python3: command not found.
To Reproduce Steps to reproduce the behavior:
log CrashLoopBackOff pod
Expected behavior orioledb cluster create success.
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.