Description of problem
Firecracker toml result in failure to boot. Since proxy.kata section exists in resulting toml, our config handling will try to resolve path, regardless of vsock utilization.
See:
if err := updateRuntimeConfig(resolved, tomlConf, &config, builtIn); err != nil {
return "", config, err
}
config.DisableGuestSeccomp = tomlConf.Runtime.DisableGuestSeccomp
// use no proxy if HypervisorConfig.UseVSock is true
if config.HypervisorConfig.UseVSock {
kataUtilsLogger.Info("VSOCK supported, configure to not use proxy")
config.ProxyType = vc.NoProxyType
config.ProxyConfig = vc.ProxyConfig{}
}
https://github.com/kata-containers/runtime/blob/master/pkg/katautils/config.go#L942-L953
Expected result
proxy shouldn't be considered, since vsock is being used
Actual result
We check for proxy, based on existence of the table in toml, and fail
Suggestion
We can either augment updateRuntimeConfig to only check for proxy if !vsock, or update the default toml to remove the proxy section. I think just removing the proxy section in the toml.in makes most sense.