mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
kata-monitor: warn when unable to retrive the lower level runtime
this is an unexpected event (likely a change in how containerd/cri-o record the lower level runtime in the pod) and should be more visible: raise the log level to "warning". Signed-off-by: Francesco Giudici <fgiudici@redhat.com>
This commit is contained in:
parent
53ec4df953
commit
fc067d61d4
@ -186,7 +186,7 @@ func (km *KataMonitor) getSandboxes() (map[string]struct{}, error) {
|
||||
// Safest options is to add the POD in the list: we will be able to connect to the shim to retrieve the actual info
|
||||
// only for kata PODs.
|
||||
if lowRuntime == "" {
|
||||
monitorLog.WithField("pod", r).Info("unable to retrieve the runtime type")
|
||||
monitorLog.WithField("pod", r).Warning("unable to retrieve the runtime type")
|
||||
sandboxMap[pod.Id] = struct{}{}
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user