I keep writing and re-writing this script, because I forgot to store it somewhere memorable ....
The problem to be solved is that the Kata Containers runtime, aka kata-runtime, will not start unless I remember to stop the VMware Tools service, aka open-vm-tools.service and unload a few dependent modules.
At present, I'm running Kata via a snap installation - I'm not terribly keen on that approach, as there seem to be too many fiddly configuration things to-do, but I'll look at that another day, and perhaps raise an issue in the Kata repo.
Meantime, this is what I have: -
kata-runtime : 2.1.0
commit : 0f822919268e4095dd9bdbbb2351248b53746501
OCI specs: 1.0.1-dev
The vhost_vsock module cannot be loaded, as evidenced by this: -
modprobe: ERROR: could not insert 'vhost_vsock': Device or resource busy
lsmod | grep vhost
tap 24576 1 vhost_net
vhost 49152 1 vhost_net
I've got a script for that: -
systemctl stop open-vm-tools.service