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

Descheduler operand fails to create with the latest v5.0.0 build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • 4.15
    • descheduler
    • None
    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Could not get descheduler operand up and running as it fails with error below
      E1207 16:08:27.906506 1 target_config_reconciler.go:677] key failed with : Deployment.apps "descheduler" is invalid: spec.template.spec.containers[0].image: Required value

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

      [knarra@knarra release]$ oc get clusterversion
      NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.15.0-0.nightly-2023-12-07-041003   True        False         5h20m   Cluster version is 4.15.0-0.nightly-2023-12-07-041003
      
      [knarra@knarra release]$ oc get csv -n openshift-kube-descheduler-operator
      NAME                                    DISPLAY                     VERSION   REPLACES   PHASE
      clusterkubedescheduleroperator.v5.0.0   Kube Descheduler Operator   5.0.0                Succeeded 

      How reproducible:

          Always

      Steps to Reproduce:

          1. Login to web console
          2. click on Adminstration -> Namespace -> Enter the name -> openshift-kube-descheduler-operator -> Add labels -> openshift.io/cluster-monitoring=true -> click create
          3. click on operatorhub -> search for kube-descheduler-operator -> Install openshift-kube-descheduler-operator
          4. Now try to create kubedescheduler operand
          

      Actual results:

      Could not see the operand getting created and upon checking descheduler logs below error is seen
      
      [knarra@knarra release]$ oc get pods -n openshift-kube-descheduler-operator
      NAME                                    READY   STATUS    RESTARTS   AGE
      descheduler-operator-6749d889cf-mtvph   1/1     Running   0          7m30s
      
      E1207 16:08:27.906506       1 target_config_reconciler.go:677] key failed with : Deployment.apps "descheduler" is invalid: spec.template.spec.containers[0].image: Required value
      I1207 16:08:27.906550       1 event.go:298] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"openshift-kube-descheduler-operator", Name:"descheduler-operator", UID:"b10357ef-2ae7-4a06-a205-9923896ec31c", APIVersion:"apps/v1", ResourceVersion:"", FieldPath:""}): type: 'Warning' reason: 'DeploymentCreateFailed' Failed to create Deployment.apps/descheduler -n openshift-kube-descheduler-operator: Deployment.apps "descheduler" is invalid: spec.template.spec.containers[0].image: Required value
       

      Expected results:

          

      Additional info:

          

              jchaloup@redhat.com Jan Chaloupka
              knarra@redhat.com Rama Kasturi Narra
              Rama Kasturi Narra Rama Kasturi Narra
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: