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

Spegel don't start in version >=0.0.25 #729

Open
morsik opened this issue Feb 7, 2025 · 2 comments
Open

Spegel don't start in version >=0.0.25 #729

morsik opened this issue Feb 7, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@morsik
Copy link

morsik commented Feb 7, 2025

Spegel version

>=0.0.25

Kubernetes distribution

kubeadm

Kubernetes version

1.30.8

CNI

flannel

Describe the bug

Hi, I've had Spegel running for few months without any issues on version 0.0.23. Today I decided to upgrade it, I upgraded Helm Chart to 0.0.24 and everything was fine. So then I tried update to 0.0.25 (or any hgher) and pods are crashing with very weird message I wasn't even able to find in Spegel's source code. No version since 0.0.25 works up until latest.

Update method:

$ helm upgrade --create-namespace -n spegel -i --version v0.0.25 spegel oci://ghcr.io/spegel-org/helm-charts/spegel -f spegel/spegel.values.yaml

just in case, this is what I have in my valuess:

resources:
  requests:
    cpu: 10m
    memory: 24Mi
  limits:
    cpu: 1
    memory: 64Mi

And pod logs:

$ k -n spegel logs -f pod/spegel-wj7d8
Defaulted container "registry" out of: registry, configuration (init)
{"time":"2025-02-07T22:32:06.08283206Z","level":"ERROR","source":{"function":"main.main","file":"/build/main.go","line":89},"msg":"run exit with error","err":"Invalid Semantic Version"}

My Helm version is:

version.BuildInfo{Version:"v3.16.4", GitCommit:"7877b45b63f95635153b29a42c0c2f4273ec45ca", GitTreeState:"dirty", GoVersion:"go1.23.4"}
@morsik morsik added the bug Something isn't working label Feb 7, 2025
@morsik morsik changed the title Can't update to >=0.0.25 Spegel don't start in version >=0.0.25 Feb 7, 2025
@phillebaba
Copy link
Member

The error is coming from the version check of Containerd. There is something going on with the reported version of Containerd. Could you check and share what version is being reported by the node?

@morsik
Copy link
Author

morsik commented Feb 8, 2025

@phillebaba

$ k get nodes -o wide
NAME     STATUS   ROLES           AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE                         KERNEL-VERSION   CONTAINER-RUNTIME
dhc-01   Ready    control-plane   41d   v1.30.8   10.19.11.21   <none>        Debian GNU/Linux 12 (bookworm)   6.1.0-28-amd64   containerd://1.6.20
dhc-02   Ready    control-plane   41d   v1.30.8   10.19.11.22   <none>        Debian GNU/Linux 12 (bookworm)   6.1.0-28-amd64   containerd://1.6.20
dhc-03   Ready    control-plane   41d   v1.30.8   10.19.11.23   <none>        Debian GNU/Linux 12 (bookworm)   6.1.0-28-amd64   containerd://1.6.20

But just to clarify: versions 0.0.23 and 0.0.24 works perfectly fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants