On Sat, Sep 07, 2019 at 09:10:45PM -0400, Cole Robinson wrote: Thanks for sharing your progress!
* agent-0001-*.patch: Make kata-agent.service run after systemd-udev-settle.service. At one point in my experimenting I needed this: kata would communicate with the agent, but networking in the guest didn't seem to be set up yet, and configuring eth0 was failing. However if I revert this now it doesn't seem to cause any failures. This may be due to /etc/modules-load.d/kata-modules.conf loading the necessary bits early enough, but that may still be race-y. I figured I'd mention it for posterity.
I hit the same issue when using a Fedora modular kernel, I think. kata-runtime is unhappy if kata-agent cannot respond with network configuration details.
* AGENT_INIT=no is the default, meaning /sbin/init == systemd, not /sbin/init == kata-agent. Is that generally the preferred config? When I was flailing around trying to get anything to work I tried AGENT_INIT=yes but didn't get anywhere
Could be monolithic (common with Kata) vs modular kernel issue. Have all drivers loaded before kata-agent runs? Stefan