Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-56691

MustGather flag --volume-percentage does not enforce disk usage limits if EmptyDir sizeLimit is unset, risking filling up the node disk

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      Before this update, the oc adm must-gather volume checker script assumed that the directory was empty. As a consequence, if the directory was initially not empty, the node disk size was incorrectly calculated. With this release, the size of directory is always correctly calculated. (link:https://issues.redhat.com/browse/OCPBUGS-56691[OCPBUGS-56691])
      Show
      Before this update, the oc adm must-gather volume checker script assumed that the directory was empty. As a consequence, if the directory was initially not empty, the node disk size was incorrectly calculated. With this release, the size of directory is always correctly calculated. (link: https://issues.redhat.com/browse/OCPBUGS-56691 [ OCPBUGS-56691 ])
    • 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.

              aguclu@redhat.com Arda Guclu
              rh-ee-hoberger Hodaya Berger
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: