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

IBU: [upstream] LCA operator bundle fails to deploy in cluster's with workload-partitioning enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.16.0
    • LCA operator
    • No
    • CNF RAN Sprint 250
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When deploying the LCA operator using OLM in a cluster with workload-partitioning enabled, it fails to deploy successfully (see the error below).

       

      -> oc get deployment.apps/lifecycle-agent-controller-manager -ojson | jq .status
      {
        "conditions": [
          {
            "lastTransitionTime": "2024-02-22T09:25:04Z",
            "lastUpdateTime": "2024-02-22T09:25:04Z",
            "message": "Found new replica set \"lifecycle-agent-controller-manager-67cfb4965d\"",
            "reason": "FoundNewReplicaSet",
            "status": "True",
            "type": "Progressing"
          },
          {
            "lastTransitionTime": "2024-02-22T09:25:04Z",
            "lastUpdateTime": "2024-02-22T09:25:04Z",
            "message": "Deployment does not have minimum availability.",
            "reason": "MinimumReplicasUnavailable",
            "status": "False",
            "type": "Available"
          },
          {
            "lastTransitionTime": "2024-02-22T09:25:04Z",
            "lastUpdateTime": "2024-02-22T09:25:04Z",
            "message": "pods \"lifecycle-agent-controller-manager-67cfb4965d-\" is forbidden: autoscaling.openshift.io/ManagementCPUsOverride the pod namespace \"openshift-lifecycle-agent\" does not allow the workload type management",
            "reason": "FailedCreate",
            "status": "True",
            "type": "ReplicaFailure"
          }
        ],
        "observedGeneration": 2,
        "unavailableReplicas": 1
      }
      

      The sub,csv, and ip objects get created properly thou.

      -> oc get sub,csv,ip
      NAME                                                PACKAGE           SOURCE          CHANNEL
      subscription.operators.coreos.com/lifecycle-agent   lifecycle-agent   ibu-operators   alphaNAME                                                                 DISPLAY                     VERSION   REPLACES   PHASE
      clusterserviceversion.operators.coreos.com/lifecycle-agent.v4.15.0   Openshift Lifecycle Agent   4.15.0               InstallingNAME                                             CSV                       APPROVAL    APPROVED
      installplan.operators.coreos.com/install-hmfpg   lifecycle-agent.v4.15.0   Automatic   true 

       

              lochoa@redhat.com Leo Ochoa
              lochoa@redhat.com Leo Ochoa
              Yang Liu Yang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: