Monday, 2021-09-06

kata-irc-bot<bergwolf> @escita you need `--cni` option to enable networking with the `ctr` tool02:42
kata-irc-bot<escita> hi, @bergwolf what should be passed to `--cni` ?  I couldn't find any description in the man page. Do you have a link i can refer to? :slightly_smiling_face:02:51
kata-irc-bot<bergwolf> I've never used it either. Just found it via `ctr run --help| grep network`02:52
kata-irc-bot<escita> Yeah the only option available is  `--net-host`  which is not supported in Kata. :slightly_smiling_face:02:56
kata-irc-bot<escita> oh by the way which version of `ctr` are you using?02:57
kata-irc-bot<bergwolf> `ctr github.com/containerd/containerd v1.5.0-140-g9aed0d67a`04:00
kata-irc-bot<escita> Thanks @bergwolf :slightly_smiling_face:, I just discovered that like `--cni`  is not available in older version like `v1.4.9`    I upgraded to the newest one, it created the link and it looks good to me, but `apt update` still doesn't work.  :sleepy: Do you have any suggestions ?  `sudo ip netns exec cnitest-ae928515-4d93-a1b1-82e9-0324e88cf93f ifconfig` `eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500`         `inet06:36
kata-irc-bot10.88.0.8  netmask 255.255.0.0  broadcast 10.88.255.255`         `inet6 fe80::2072:86ff:fe71:85ef  prefixlen 64  scopeid 0x20<link>`         `inet6 2001:4860:4860::8  prefixlen 64  scopeid 0x0<global>`         `ether 22:72:86:71:85:ef  txqueuelen 0  (Ethernet)`         `RX packets 7  bytes 746 (746.0 B)`         `RX errors 0  dropped 0  overruns 0  frame 0`         `TX packets 13  bytes 1094 (1.0 KB)`         `TX errors 0  dropped 0 overruns 006:36
kata-irc-bot carrier 0  collisions 0`06:36
kata-irc-bot<liubin0329> hi @escita do you running in a node with Docker installed and running? If so, maybe there are some conflicts with Docker, clear all iptables and try again.06:51
kata-irc-bot<tim.rice> Hi again! Testing kata-containers 2.2 still. It doesnt seem that linkerd service mesh is working, connections are not being intercepted by the linkerd-proxy sidecar. Is this a known issue? I dont see any mention of any special steps needed here: https://github.com/kata-containers/kata-containers/blob/main/docs/how-to/service-mesh.md09:04
kata-irc-bot<escita> @liubin0329 @bergwolf @archana.m.shinde Hi, I think I just have found the problem, there was not  network interface created inside of the container.   However, creating a standard `runc` container works, I guess this is a bug in `Kata runtime.`  `root@clr-62e18cc2acf44633833f890d3bf793bd:/# ip link` `1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000`     `link/loopback09:50
kata-irc-bot00:00:00:00:00:00 brd 00:00:00:00:00:00`09:50
kata-irc-bot<liubin0329> Hi @escita, can you set all enable_debug to true in configuration.toml and get a full log?09:52
kata-irc-bot<escita> Hi here is the full kernel log :slightly_smiling_face: `Sep 06 18:59:05 sd-rocks00 containerd[8994]: time="2021-09-06T18:59:05.385128523+09:00" level=warning msg="failed to get OOM event from >` `Sep 06 18:59:05 sd-rocks00 containerd[8994]: time="2021-09-06T18:59:05.386229281+09:00" level=error msg="Failed to read guest console lo>` `Sep 06 18:59:05 sd-rocks00 containerd[8994]: time="2021-09-06T18:59:05.392848895+09:00" level=warning10:00
kata-irc-botmsg="sandbox cgroups path is empty>` `Sep 06 18:59:05 sd-rocks00 containerd[8994]: time="2021-09-06T18:59:05.840991600+09:00" level=info msg="shim disconnected" id=test2` `Sep 06 18:59:05 sd-rocks00 containerd[8994]: time="2021-09-06T18:59:05.841125126+09:00" level=warning msg="cleaning up after shim discon>` `Sep 06 18:59:05 sd-rocks00 containerd[8994]: time="2021-09-06T18:59:05.841151502+09:00" level=info msg="cleaning up dead shim"` `Sep 0610:00
kata-irc-bot18:59:05 sd-rocks00 containerd[8994]: time="2021-09-06T18:59:05.894901809+09:00" level=error msg="failed to delete" cmd="/usr/loc>` `Sep 06 18:59:05 sd-rocks00 containerd[8994]: time="2021-09-06T18:59:05.895062274+09:00" level=warning msg="failed to clean up after shim>` `Sep 06 18:59:28 sd-rocks00 containerd[8994]: time="2021-09-06T18:59:28.371517149+09:00" level=warning msg="sandbox's cgroup won't be u`10:00
kata-irc-bot<liubin0329> Is this all? Normally there should be many logs including debug level.10:30
kata-irc-bot<escita> @liubin0329 Hi, I just copied the full log.10:39
kata-irc-bot<escita> @liubin0329 Hi bin, I just created an issue here with the full log collected by kata-collect script. it's better formatted. https://github.com/kata-containers/kata-containers/issues/2580 :slightly_smiling_face:19:48

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!