Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): Kubelet can call the NodePublishVolume function of a CSI driver without calling NodeStageVolume. How reproducible: Sometimes This has been fixed already in https://github.com/kubernetes/kubernetes/issues/100182 but and integrated in OpenShift 4.9 but it makes sense to backport the fix for 4.8 since this is an EUS release.
This is the same bug as https://bugzilla.redhat.com/show_bug.cgi?id=1936408, only for 4.8
Upstream cherry-pick: https://github.com/kubernetes/kubernetes/pull/107014
This behaviour can potentially cause a worker node outage under the following condition: if NodePublishVolume is called while the mount point which should have been created by NodeStageVolume is not there, the pod using the volume will write on the root partition of the worker node. If you write a lot of data you will fillup the root partition, making the node unschedulable.
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 (OpenShift Container Platform 4.8.31 bug fix 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. https://access.redhat.com/errata/RHBA-2022:0484