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

[Bug] Not supporting the CRI v1 API for Image Service #810

Closed
ollypom opened this issue Aug 30, 2023 · 0 comments · Fixed by #843
Closed

[Bug] Not supporting the CRI v1 API for Image Service #810

ollypom opened this issue Aug 30, 2023 · 0 comments · Fixed by #843
Labels
bug Something isn't working kubernetes

Comments

@ollypom
Copy link

ollypom commented Aug 30, 2023

Description

When attempting to run with Kubernetes 1.28 and the cri-based authentication discussed here I was seeing the follow error in the kubelet:

Aug 30 13:39:00 ip-10-1-134-90.eu-west-1.compute.internal kubelet[15710]: E0830 13:39:00.786802   15710 run.go:74] "command failed" err="failed to run Kubelet: validate service connection: validate CRI v1 image API for endpoint \"unix:///run/soci-snapshotter-grpc/soci-snapshotter-grpc.sock\": rpc error: code = Unimplemented desc = unknown service runtime.v1.ImageService"

On further inspection it looks like we are still importing the CRI v1alpha2 API here. Kubernetes has deprecated this API in Kubernetes 1.26. The stargz project bumped to the v1 CPI here

Steps to reproduce the bug

No response

Describe the results you expected

I was hoping to be able to use the cri-based authentication for Kubernetes 1.28.

Host information

  1. OS: Amazon Linux 2
  2. Snapshotter Version: v0.4.0
  3. Containerd Version: v1.6.19

Any additional context or information about the bug

No response

@ollypom ollypom added the bug Something isn't working label Aug 30, 2023
@github-project-automation github-project-automation bot moved this to ❓ Ungroomed in soci-snapshotter Aug 30, 2023
@Kern-- Kern-- moved this from ❓ Ungroomed to 📋 Backlog in soci-snapshotter Aug 30, 2023
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in soci-snapshotter Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working kubernetes
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants