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

Error deleting image when defining containerd.sock path #188

Closed
EndangeredF1sh opened this issue Oct 23, 2022 · 1 comment
Closed

Error deleting image when defining containerd.sock path #188

EndangeredF1sh opened this issue Oct 23, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@EndangeredF1sh
Copy link

EndangeredF1sh commented Oct 23, 2022

E1023 12:38:30.121874       1 image_manager.go:492] error deleting image '<image>' from node '<node-name>': Job.batch "test-imagecache-q955z" is invalid: [spec.template.spec.volumes[0].hostPath.path: Required value, spec.template.spec.containers[0].volumeMounts[0].name: Not found: "runtime-sock", spec.template.spec.containers[0].volumeMounts[0].mountPath: Required value] 

I think it is because the socketPath is empty when criSocketPath is not empty. (The same goes for the following two if blocks)

if criSocketPath == "" {
socketPath = "/run/containerd/containerd.sock"
}

@EndangeredF1sh
Copy link
Author

A simple patch has been applied in PR #189

@senthilrch senthilrch self-assigned this Oct 25, 2022
@senthilrch senthilrch added the bug Something isn't working label Oct 25, 2022
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