In one of the case, I got the same error while restoring the ETCD backup.
tar: *restore-etcd-pod/pod.yaml: Not found in archive
tar: Exiting with failure status due to previous errors
After that the ETCD is completely down and due to that we can't even follow the below workaround.
$ oc debug node/master-0.example.com
sh-4.2# chroot /host
sh-4.4# touch $(crictl inspect $(crictl ps --name etcd$ -q) | jq -r '.status.mounts | . | select (.containerPath=="/etc/kubernetes/static-pod-resources") | .hostPath')
Is there any method or steps to fix this now? Will it work if we manually untar the backup and create the missing file with proper contents?
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.