-
Bug
-
Resolution: Done-Errata
-
Minor
-
4.12
-
Quality / Stability / Reliability
-
False
-
-
None
-
Low
-
No
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In order to use hostPath volumes, containers in kubernetes must be started with the privileged flag set. This is because this flag toggles an SELinux boolean that cannot be toggled by enabling any particular capability. (Empirical testing shows the same restriction does not apply to emptyDir volumes.)
Since the baremetal components rely on a hostPath volumes for an number of purposes, this prevents many of them from running unprivileged.
However, there are a number of containers that do not use any hostPath volumes and need only an added capability, if anything. These should be specified explicitly instead of just setting privileged mode to enable everything.
- causes
-
OCPBUGS-32304 [4.17] metal3-ironic-inspector CrashLoopBackOff - /certs/ca/ironic permission denied
-
- Closed
-
-
OCPBUGS-63417 ironic-inspector can't write on the shared volume
-
- Closed
-
- links to
-
RHEA-2024:0041
OpenShift Container Platform 4.16.z bug fix update