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

Image registry pruner job fails when cluster was installed without DeploymentConfig capability

    XMLWordPrintable

Details

    • Moderate
    • No
    • Sprint 241
    • 1
    • Approved
    • False
    • Hide

      Regression

      Show
      Regression
    • NA

    Description

      Description of problem:

      Image registry pruner job fails when cluster was installed without DeploymentConfig capability. 
      
      Cluster was installed only with the following capapbilities:
      {\"capabilities\":{\"baselineCapabilitySet\": \"None\", \"additionalEnabledCapabilities\": [ \"marketplace\", \"NodeTuning\" ] }}"
      
      image-pruner pods are failing with the following error:
      
          state:
            terminated:
              containerID: cri-o://69562d80cafb23a07b9f1d020e1943448916558986092d8540b9a0e1fc3731a1
              exitCode: 1
              finishedAt: "2023-08-21T00:07:37Z"
              message: |
                Error from server (NotFound): the server could not find the requested resource (get deploymentconfigs.apps.openshift.io)
                attempt #1 has failed (exit code 1), going to make another attempt...
                Error from server (NotFound): the server could not find the requested resource (get deploymentconfigs.apps.openshift.io)
                attempt #2 has failed (exit code 1), going to make another attempt...
                Error from server (NotFound): the server could not find the requested resource (get deploymentconfigs.apps.openshift.io)
                attempt #3 has failed (exit code 1), going to make another attempt...
                Error from server (NotFound): the server could not find the requested resource (get deploymentconfigs.apps.openshift.io)
                attempt #4 has failed (exit code 1), going to make another attempt...
                Error from server (NotFound): the server could not find the requested resource (get deploymentconfigs.apps.openshift.io)
                attempt #5 has failed (exit code 1), going to make another attempt...
                Error from server (NotFound): the server could not find the requested resource (get deploymentconfigs.apps.openshift.io)
              reason: Error
              startedAt: "2023-08-21T00:00:05Z"
      

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

      4.14.0-0.nightly-2023-08-16-114741

      How reproducible:

      100%

      Steps to Reproduce:

      1. Install SNO cluster withou DeploymentConfig capability
      2. Check image pruner jobs status
      

      Actual results:

      Image pruner jobs do not complete because deploymentconfigs.apps.openshift.io api is not available.

      Expected results:

      Image pruner jobs can run without deploymentconfigs api

      Additional info:

       

      Attachments

        Activity

          People

            fmissi Flavian Missi
            mcornea@redhat.com Marius Cornea
            xiujuan wang xiujuan wang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: