-
Bug
-
Resolution: Unresolved
-
Normal
-
4.18
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
Done
-
Bug Fix
-
Previously oc adm must-gather volume checker script assumes that the directory was empty. So if initially directory is not empty, it calculates the node disk size incorrectly. This patch always calculates the size of directory correctly.
-
None
-
None
-
None
-
None
Description of problem:
The --volume-percentage flag in must-gather is intended to prevent excessive disk usage by stopping the collection process if the volume usage exceeds a configured percentage. However, when the EmptyDir volume backing must-gather does not have a sizeLimit set, the volume effectively uses the entire node disk capacity.In this scenario, the --volume-percentage check does not correctly limit or prevent must-gather from filling the node disk, because it calculates usage against the node’s full disk space rather than a defined quota or limit. This can lead to the disk being filled up by the collection process, potentially impacting system stability and other workloads.
- blocks
-
OCPBUGS-64791 MustGather flag --volume-percentage does not enforce disk usage limits if EmptyDir sizeLimit is unset, risking filling up the node disk
-
- Closed
-
- is cloned by
-
OCPBUGS-64791 MustGather flag --volume-percentage does not enforce disk usage limits if EmptyDir sizeLimit is unset, risking filling up the node disk
-
- Closed
-
- links to
(2 links to)