GNU bug report logs -
#64910
[PATCH 0/3] gnu: docker: Update to 20.10.25.
Previous Next
Reported by: Hilton Chain <hako <at> ultrarare.space>
Date: Fri, 28 Jul 2023 03:13:01 UTC
Severity: normal
Tags: patch
Done: Hilton Chain <hako <at> ultrarare.space>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
V1 -> V2:
- runc <at> 1.1.9
- Fix containerd starting issue.
`make check-system TESTS=docker' passes.
Details on the issue:
Error message:
--8<---------------cut here---------------start------------->8---
msg="failed to load plugin io.containerd.grpc.v1.cri"
error="invalid plugin config: no corresponding runtime configured in `containerd.runtimes` for `containerd` `default_runtime_name` = \"/gnu/store/...-runc-1.1.9/sbin/runc\""
--8<---------------cut here---------------end--------------->8---
The message comes from pkg/cri/config/config.go:
--8<---------------cut here---------------start------------->8---
if _, ok := c.ContainerdConfig.Runtimes[c.ContainerdConfig.DefaultRuntimeName]; !ok {
return fmt.Errorf("no corresponding runtime configured in `containerd.runtimes` for `containerd` `default_runtime_name = \"%s\"", c.ContainerdConfig.DefaultRuntimeName)
}
--8<---------------cut here---------------end--------------->8---
It expects there's `ContainerdConfig.DefaultRuntimeName' within
`ContainerdConfig.Runtimes'.
And from the relevant code in pkg/cri/config/config_unix.go and the
package definion, "runc" the `DefaultRuntimeName' was substituted to a
store path, but not "runc" in `Runtimes'.
So [...].Runtimes["/gnu/store/...-runc-1.1.9/sbin/runc"] fails.
--8<---------------cut here---------------start------------->8---
func DefaultConfig() PluginConfig {
[...]
return PluginConfig{
[...]
ContainerdConfig: ContainerdConfig{
[...]
DefaultRuntimeName: "runc",
Runtimes: map[string]Runtime{
"runc": {
[...]
},
},
[...]
},
[...]
}
}
--8<---------------cut here---------------end--------------->8---
There's no functional change in those two files between 1.6.6 and
1.6.22, I wonder why this wasn't an issue before...
Thanks
Hilton Chain (3):
gnu: runc: Update to 1.1.9.
gnu: containerd: Update to 1.6.22.
gnu: docker: Update to 20.10.25.
gnu/packages/docker.scm | 25 +++++++++++++++----------
gnu/packages/virtualization.scm | 4 ++--
2 files changed, 17 insertions(+), 12 deletions(-)
base-commit: ad4520b92662e42d7d0b1e648b2068300dbb95c8
--
2.41.0
This bug report was last modified 1 year and 266 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.