-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.16.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
No
-
None
-
None
-
CNF RAN Sprint 250
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
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