Wednesday, 2021-09-15

kata-irc-bot<paleozogt> Can I customize the `-machine` parameters passed to qemu?  I'm seeing ```failed to launch qemu: qemu-kiwi: warning: global kvm-pit.lost_tick_policy has invalid class name qemu-kiwi: Firmware Assisted Non-Maskable Interrupts(FWNMI) not supported by KVM. Try appending -machine cap-fwnmi=off``` I can see from the logs that its passing ```-machine17:06
kata-irc-botpseries,accel=kvm,usb=off,cap-cfpc=broken,cap-sbbc=broken,cap-ibs=broken,cap-large-decr=off,cap-ccf-assist=off``` I'd like to try the suggestion of adding `cap-fwnmi=off`, but I'm not sure where that customization can be done.17:06
devimc@paleozogt https://github.com/kata-containers/kata-containers/blob/main/src/runtime/cli/config/configuration-qemu.toml.in#L54-L5717:08
kata-irc-bot<julio.montes> https://github.com/kata-containers/kata-containers/blob/main/src/runtime/cli/config/configuration-qemu.toml.in#L54-L5717:08
kata-irc-bot<paleozogt> aha thanks that's super useful17:13
kata-irc-bot<fidencio> @paleozogt, by the way, thanks for the issues opened!20:01
kata-irc-bot<fidencio> If you happen to face issues with the CentOS / Fedora packages (and I think you'll hit that), please, feel free to poke @christophe, who's one of the maintainers for the distro.20:02
kata-irc-bot<fidencio> For now I think we need to enforce `sandbox_cgroup_only=false` due to a regression that will be fixed by the package for the release coming next week.20:03
kata-irc-bot<paleozogt> Is networking one of the issues with CentOS?  I don't seem to be getting an `eth0` inside the container: ```$ sudo nerdctl run --runtime io.containerd.kata.v2 --rm -it busybox ifconfig lo        Link encap:Local Loopback           inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:0 errors:0 dropped:0 overruns:0 frame:0           TX23:43
kata-irc-botpackets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)``` Tho ordinary containers can: ```$ sudo nerdctl run --rm -it busybox ifconfig eth0      Link encap:Ethernet  HWaddr FE:8D:BD:18:F7:8E           inet addr:10.4.0.29  Bcast:10.4.0.255  Mask:255.255.255.0           inet6 addr: fe80::fc8d:bdff:fe18:f78e/64 Scope:Link           UP BROADCAST RUNNING MULTICAST 23:43
kata-irc-botMTU:1500  Metric:1           RX packets:5 errors:0 dropped:0 overruns:0 frame:0           TX packets:2 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0           RX bytes:422 (422.0 B)  TX bytes:132 (132.0 B)  lo        Link encap:Local Loopback           inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:0 errors:023:43
kata-irc-botdropped:0 overruns:0 frame:0           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)```23:43

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