kubesphere / ks-installer

Install KubeSphere on existing Kubernetes cluster
https://kubesphere.io
Apache License 2.0
527 stars 744 forks source link

failed to list *v2beta1.Config: StorageError: etcd cache not ready #2244

Open liuhaogui opened 11 months ago

liuhaogui commented 11 months ago

kubectl logs ks-apiserver-69c578c574-sjmd5 -n kubesphere-system

I1024 13:39:01.284035       1 interface.go:50] start helm repo informer
I1024 13:39:01.615615       1 apiserver.go:428] Start cache objects
W1024 13:39:01.623048       1 apiserver.go:405] group version autoscaling/v2 not exists in the cluster
W1024 13:39:12.792887       1 reflector.go:424] pkg/client/informers/externalversions/factory.go:129: failed to list *v2beta1.Receiver: StorageError: etcd cache not ready, Code: 6, Key: /notification.kubesphere.io/receivers, ResourceVersion: 0, AdditionalErrorMsg:
I1024 13:39:12.792976       1 trace.go:219] Trace[1807991000]: "Reflector ListAndWatch" name:pkg/client/informers/externalversions/factory.go:129 (24-Oct-2023 13:39:02.754) (total time: 10038ms):
Trace[1807991000]: ---"Objects listed" error:StorageError: etcd cache not ready, Code: 6, Key: /notification.kubesphere.io/receivers, ResourceVersion: 0, AdditionalErrorMsg:  10037ms (13:39:12.792)
Trace[1807991000]: [10.038007165s] [10.038007165s] END
E1024 13:39:12.792999       1 reflector.go:140] pkg/client/informers/externalversions/factory.go:129: Failed to watch *v2beta1.Receiver: failed to list *v2beta1.Receiver: StorageError: etcd cache not ready, Code: 6, Key: /notification.kubesphere.io/receivers, ResourceVersion: 0, AdditionalErrorMsg:
W1024 13:39:12.793758       1 reflector.go:424] pkg/client/informers/externalversions/factory.go:129: failed to list *v2beta1.Config: StorageError: etcd cache not ready, Code: 6, Key: /notification.kubesphere.io/configs, ResourceVersion: 0, AdditionalErrorMsg:
I1024 13:39:12.793812       1 trace.go:219] Trace[1667921828]: "Reflector ListAndWatch" name:pkg/client/informers/externalversions/factory.go:129 (24-Oct-2023 13:39:02.755) (total time: 10038ms):
Trace[1667921828]: ---"Objects listed" error:StorageError: etcd cache not ready, Code: 6, Key: /notification.kubesphere.io/configs, ResourceVersion: 0, AdditionalErrorMsg:  10038ms (13:39:12.793)
Trace[1667921828]: [10.038736203s] [10.038736203s] END
liuhaogui commented 11 months ago

https://github.com/kubesphere/ks-installer/tree/master/deploy master commitId ebaac47c7672922aafb206e559f674137a8e326f