[AMD Official Use Only - Internal Distribution Only] Thank you Fabiano, Will try the deployed version first, One more to check please - In my understanding - Docker doesn't yet support the containerd shimv2 architecture directly, Kata 2.0.0 won't work with Docker ? Is this correct ? Any workarounds. --Best Regards --Sandeep -----Original Message----- From: Fabiano FidĂȘncio <fidencio@redhat.com> Sent: Sunday, January 3, 2021 11:38 PM To: Gupta, Sandeep <Sandeep.Gupta@amd.com> Cc: kata-dev@lists.katacontainers.io Subject: Re: [kata-dev] Regarding, Kata 2.0.0, kata-runtime [CAUTION: External Email] Sandeep, [...]
Trying version-1 syntax: (for /usr/local/bin/containerd -config /etc/containerd/config.toml),
# cat /etc/containerd/config.toml [plugins.cri.containerd] no_pivot = false
[plugins.cri.containerd.runtimes] [plugins.cri.containerd.runtimes.runc] runtime_type = "io.containerd.runc.v1"
[plugins.cri.containerd.runtimes.runc.options] NoPivotRoot = false NoNewKeyring = false ShimCgroup = "" IoUid = 0 IoGid = 0 BinaryName = "runc" Root = "" CriuPath = "" SystemdCgroup = false
[plugins.cri.containerd.runtimes.kata] runtime_type = "io.containerd.kata.v2" [plugins.cri.containerd.runtimes.kata.options] ConfigPath = "/etc/kata-containers/configuration.toml"
[plugins.cri.containerd.runtimes.katacli] runtime_type = "io.containerd.runc.v1" [plugins.cri.containerd.runtimes.katacli.options] NoPivotRoot = false NoNewKeyring = false ShimCgroup = "" IoUid = 0 IoGid = 0 BinaryName = "/usr/local/bin/kata-runtime" Root = "" CriuPath = "" SystemdCgroup = false
[...]
/# ctr run --runtime io.containerd.run.kata.v2 -t --rm docker.io/library/busybox:latest sh
ctr: Failed to check if grpc server is working: unexpected EOF: unknown
I can discuss this Issue in, Kata AC call in 2021 on January 5th.
We can, but I think it may be easier to debug this via e-mail or Slack. So, I'd like to ask you a few questions that will help me (and hopefully others) to understand where the error is coming from. * When you're using 2.x, you're only replacing the runtime binary, but also the image and the agent inside it, right? - The reason I'm asking is because 2.x runtime doesn't speak the same language as the 1.x agent. * Is your agent built using musl or gnu libc? If you want to give it a quick try just to ensure kata 2.0 works for you before you start hacking the code, I'd suggest using https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com... I hope that helps! Best Regards, -- Fabiano FidĂȘncio