相关文章推荐
爱笑的草稿纸  ·  Script for size ...·  7 月前    · 
酷酷的冲锋衣  ·  Download genshin ...·  7 月前    · 
完美的苦瓜  ·  JsonConvert.Deserializ ...·  1 年前    · 

"layer not known" after powering off VM with CRI-O #4285

@jomeier

Description

Hi,

CRI-O seems to have a problem if a Host VM is powered off.

On OKD 4.5 (and also on OKD 4.6 nightlies) we get this error very often, if we power off worker VMs:

Failed to create pod sandbox: rpc error: code = Unknown desc = error creating pod sandbox with name "k8s_virt-operator-74745fbc9c-xknls_openshift-cnv_6c53d52d-af4b-4bca-800d-4eccc0b0ee64_0": layer not known

If we ssh into the worker VM and do a

sudo podman images

we get lots of "layer not known" error messages.

sudo crictl ps -a

does not show any running containers.

The workaround to get that running again is to remove the overlay-images storage directory:

rm -rf /var/lib/containers/storage/overlay-images

Thanks and greetings,

Josef