etcd is showing "failed to lock file [..] fileutil: file already locked" warnings
Issue
-
On OpenShift Container Platform, the
etcdPod is showing messages like the following:2023-06-19T09:10:30.817918145Z {"level":"warn","ts":"2023-06-19T09:10:30.817Z","caller":"fileutil/purge.go:72","msg":"failed to lock file","path":"/var/lib/etcd/member/wal/000000000000bc4b-00000000183620a4.wal","error":"fileutil: file already locked"} 2023-06-19T09:11:00.818937158Z {"level":"warn","ts":"2023-06-19T09:11:00.818Z","caller":"fileutil/purge.go:72","msg":"failed to lock file","path":"/var/lib/etcd/member/wal/000000000000bc4b-00000000183620a4.wal","error":"fileutil: file already locked"} -
These messages may also be shown during or after an OpenShift Container Platform upgrade.
Environment
- Red Hat OpenShift Container Platform
- 4.11
- 4.12
- 4.13
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.