FATA[0000] listing images: rpc error: code = Unknown desc = layer not known
Getting this?
[root@rhcpm03 ~]# crictl images
FATA[0000] listing images: rpc error: code = Unknown desc = layer not known
[root@rhcpm03 ~]#
Solve it with this:
mv /var/lib/containers/storage/overlay-images /root/
and reboot. Result:
[root@rhcpm03 ~]# crictl images
IMAGE TAG IMAGE ID SIZE
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256 <none> efffc0c0c9d49 272MB
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256 <none> cb6a3de089555 706MB
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256 <none> 6b15709214373 320MB
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256 <none> 91965ed632cd9 346MB
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256 <none> cf9a3590794c6 324MB
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256 <none> f93d86f4137d2 342MB
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256 <none> 1ca3399715bd7 325MB
[root@rhcpm03 ~]#
And all of a sudden, containers are listed as well:
[root@rhcpm03 member]# crictl ps -a
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID
3b15c78e27081 91965ed632cd91f053532cefc7d8b853a2bb5b8b6d1768c8ad473fe404b9338d 4 seconds ago Running etcd 3 173e01bafa268
da9cd9852082d 91965ed632cd91f053532cefc7d8b853a2bb5b8b6d1768c8ad473fe404b9338d 45 seconds ago Exited etcd 2 173e01bafa268
3690e2c6d4559 1ca3399715bd78d327040cdb7ab42b9a327f4d5fb051a82803530b0fad881688 55 seconds ago Exited kube-apiserver-check-endpoints 1 3acefe2582471
9622b9edb4c41 cb6a3de0895557add3a8c06853be26361d7986aa58c04c451d5f28cd606ea13a 56 seconds ago Exited kube-apiserver 1 3acefe2582471
45ec2a0aaa2b9 f93d86f4137d2ad194edecb73424a4ce373c6a1bd11e6b4588b5afe601c1553d About a minute ago Running kube-scheduler-recovery-controller 0 59483f323a340
9a4fa1095ef6c f93d86f4137d2ad194edecb73424a4ce373c6a1bd11e6b4588b5afe601c1553d About a minute ago Running kube-scheduler-cert-syncer 0 59483f323a340
cfa4fc1624ee4 cb6a3de0895557add3a8c06853be26361d7986aa58c04c451d5f28cd606ea13a About a minute ago Running kube-scheduler 0 59483f323a340
04dd78dbf1de3 91965ed632cd91f053532cefc7d8b853a2bb5b8b6d1768c8ad473fe404b9338d 2 minutes ago Running etcd-metrics 0 173e01bafa268
8c49f34fa26da 1ca3399715bd78d327040cdb7ab42b9a327f4d5fb051a82803530b0fad881688 2 minutes ago Running kube-apiserver-insecure-readyz 0 3acefe2582471
2d01ad7011aad 91965ed632cd91f053532cefc7d8b853a2bb5b8b6d1768c8ad473fe404b9338d 2 minutes ago Running etcdctl 0 173e01bafa268
2f6264de26076 1ca3399715bd78d327040cdb7ab42b9a327f4d5fb051a82803530b0fad881688 2 minutes ago Running kube-apiserver-cert-regeneration-controller 0 3acefe2582471
a632ca35c1e47 1ca3399715bd78d327040cdb7ab42b9a327f4d5fb051a82803530b0fad881688 2 minutes ago Running kube-apiserver-cert-syncer 0 3acefe2582471
6038ee56e440d cb6a3de0895557add3a8c06853be26361d7986aa58c04c451d5f28cd606ea13a 2 minutes ago Exited wait-for-host-port 0 59483f323a340
2f5afb3599e93 91965ed632cd91f053532cefc7d8b853a2bb5b8b6d1768c8ad473fe404b9338d 2 minutes ago Exited etcd-resources-copy 0 173e01bafa268
48b921c551021 cf9a3590794c69413a2d77f1c5fc3392f069412b310d522c27ad64a2fc53f2f7 2 minutes ago Running kube-controller-manager-recovery-controller 0 77ee601e357e5
ba1d1ccd4eac5 cf9a3590794c69413a2d77f1c5fc3392f069412b310d522c27ad64a2fc53f2f7 2 minutes ago Running kube-controller-manager-cert-syncer 0 77ee601e357e5
796bc713f02df 6b1570921437331098e754bec919e2682c1a2aff7aa54a25b56d1f9d3a282957 2 minutes ago Running cluster-policy-controller 0 77ee601e357e5
f1ea6c341b86c cb6a3de0895557add3a8c06853be26361d7986aa58c04c451d5f28cd606ea13a 2 minutes ago Running kube-controller-manager 0 77ee601e357e5
a4af04ce65cea cb6a3de0895557add3a8c06853be26361d7986aa58c04c451d5f28cd606ea13a 2 minutes ago Exited setup 0 3acefe2582471
3d3a45e580fc1 91965ed632cd91f053532cefc7d8b853a2bb5b8b6d1768c8ad473fe404b9338d 2 minutes ago Exited etcd-ensure-env-vars 0 173e01bafa268
[root@rhcpm03 member]#
Cheers,