-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.10.z
Description of problem:
when fs full, update-dns-resolver fails to build a proper /etc/hosts, resulting in /etc/hosts only containing the openshift-generated-node-resolver lines, missing the localhost lines. This causes issues on pods having hostNetwork: true like openstack-cinder-csi-driver-controller
Version-Release number of selected component (if applicable):
OpenShift 4.10.39
How reproducible:
See: https://github.com/openshift/cluster-dns-operator/blob/a5ea3fcb7be49a12115bd6648403df3d65661542/assets/node-resolver/update-node-resolver.sh
Steps to Reproduce:
1. make sure the file system is full when running the cp at line 13 2. 3.
Actual results:
/etc/hosts is missing the localhost lines
Expected results:
/etc/hosts should contain the localhost lines
Additional info:
- blocks
-
OCPBUGS-19933 cluster-dns-operator corrupts /etc/hosts when fs full
- Closed
- is cloned by
-
OCPBUGS-19933 cluster-dns-operator corrupts /etc/hosts when fs full
- Closed
- relates to
-
OCPBUGS-19829 Check the feasibility to backport the bug OCPBUGS-4359 to older versions (4.12/4.11)
- Closed
- links to
(1 links to)