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

pod: atomix-runtime-controller always crash with latest version #1121

Open
wangzheng00 opened this issue Aug 3, 2023 · 1 comment
Open

Comments

@wangzheng00
Copy link

I deployed on host. (OS version: Ubuntu 22.04; kubectl version: v1.23.3; docker version: 20.10.23)
Deployed atomix using below commands:
go get github.com/atomix/go-sdk@latest
helm repo add atomix https://charts.atomix.io
helm repo update
helm install -n kube-system atomix-runtime atomix/atomix-runtime

Pods are as follows:
root@we-spr26:/usr/local/go/src# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
cert-manager cert-manager-779bc6bf59-rxw2g 1/1 Running 0 9d
cert-manager cert-manager-cainjector-55765d687b-wr5kn 1/1 Running 0 9d
cert-manager cert-manager-webhook-85d85f46c7-xws9k 1/1 Running 0 9d
kube-system atomix-runtime-consensus-controller-6796b7556d-q2q42 1/1 Running 0 29m
kube-system atomix-runtime-controller-686c9444b7-xlvnq 0/1 CrashLoopBackOff 7 (103s ago) 29m
kube-system atomix-runtime-pod-memory-controller-857b8dc557-cxqc9 1/1 Running 0 29m
kube-system atomix-runtime-shared-memory-controller-8565cd5f94-ql7pb 1/1 Running 0 29m
kube-system calico-kube-controllers-7b8458594b-847pf 1/1 Running 0 9d
kube-system calico-node-7z4j8 1/1 Running 0 9d
kube-system coredns-64897985d-czkqn 1/1 Running 0 9d
kube-system coredns-64897985d-mkwmc 1/1 Running 0 9d
kube-system etcd-we-spr26 1/1 Running 0 9d
kube-system kube-apiserver-we-spr26 1/1 Running 0 9d
kube-system kube-controller-manager-we-spr26 1/1 Running 0 9d
kube-system kube-proxy-j8wc2 1/1 Running 0 9d
kube-system kube-scheduler-we-spr26 1/1 Running 0 9d

there is some error in log:
kubectl logs -n kube-system atomix-runtime-controller-686c9444b7-xlvnq
...
2023-08-03T07:54:09.683Z INFO main/controller-runtime/certwatcher atomix-runtime-controller/main.go:114 Starting certificate watcher I0803 07:54:10.827030 1 request.go:601] Waited for 1.046597397s due to client-side throttling, not priority and fairness, request: GET:https://10.96.0.1:443/apis/networking.k8s.io/v1?timeout=32s
2023-08-03T07:54:12.131Z ERROR main/controller-runtime/source atomix-runtime-controller/main.go:118 no matches for kind "StorageProfile" in version "atomix.io/v3beta3"if kind is a CRD, it should be installed before calling Start {"kind": "StorageProfile.atomix.io"}
main.(*ControllerLogSink).Error
github.com/atomix/runtime/controller/cmd/atomix-runtime-controller/main.go:118
sigs.k8s.io/controller-runtime/pkg/log.(*DelegatingLogSink).Error
sigs.k8s.io/controller-runtime@v0.12.1/pkg/log/deleg.go:135
github.com/go-logr/logr.Logger.Error
github.com/go-logr/logr@v1.2.0/logr.go:265
sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1.1
sigs.k8s.io/controller-runtime@v0.12.1/pkg/source/source.go:139
k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext
k8s.io/apimachinery@v0.24.0/pkg/util/wait/wait.go:233
k8s.io/apimachinery/pkg/util/wait.poll
k8s.io/apimachinery@v0.24.0/pkg/util/wait/wait.go:580
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext
k8s.io/apimachinery@v0.24.0/pkg/util/wait/wait.go:545
sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1
sigs.k8s.io/controller-runtime@v0.12.1/pkg/source/source.go:132
...

BTW, It can be successfully installed using the following commands:
helm install atomix-controller atomix/atomix-controller -n kube-system --wait --version 0.6.9
helm install atomix-raft-storage atomix/atomix-raft-storage -n kube-system --wait --version 0.1.25

But an error is reported when deploying sd-ran:
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "StorageProfile" in version "atomix.io/v3beta4"

@wangzheng00
Copy link
Author

kernel: 5.15.0-78-generic
the info as below:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant