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

Image prune conditions should list jobs, cronjobs and statefulsets under 'images not currently referenced by' section

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • No
    • None
    • None
    • None
    • None
    • None
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      Description of problem:

      Document URL: https://docs.openshift.com/container-platform/4.13/applications/pruning-objects.html#pruning-images-conditions_pruning-objects
      
      Number and Name: Image prune conditions
      
      Describe the issue: As mentioned in the doc, the image prune conditions has a list of objects under 'images not currently referenced by' section. It should include jobs, cronjobs and statefulsets as well which were not supported earlier but came under support with the bug https://bugzilla.redhat.com/show_bug.cgi?id=1880068 in OCP 4.7 and above. The code that lists the mentioned objects is here: https://github.com/openshift/oc/blob/1e9c2f992e8dc18985d789ad4094af685f42d2db/pkg/cli/admin/prune/imageprune/prune.go#L403-L413
      
      Suggestions for improvement: Update the doc for OCP 4.13 and all lower versions adding jobs, cronjobs and statefulsets objects in the list

      Version-Release number of selected component (if applicable):

      4.13

      How reproducible:

      100%

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      Doc is not updated

      Expected results:

      Doc to be updated

      Additional info:

      See https://bugzilla.redhat.com/show_bug.cgi?id=2105682 which was raised earlier for OCP 4.7 and above but the version was not in support hence the bug was closed. But this bug is still valid for all versions of OCP post 4.7.

              kalexand@redhat.com Kathryn Alexander
              rhn-support-alosingh Alok Singh
              Wen Wang Wen Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: