RHOCP: 在集群从 4.14 升级到 4.15 后,在 operator 升级过程中出现 couldn't find unpacked step (unknown) 错误
Issue
- 在集群从 4.14.y 升级到 4.15.z 后,当 operator 批准计划被设置为 manual 时,如果要安装新版本捆绑包,Operator 会在 operator 安装(升级)时失败。
- 在升级时,多个 operator 会面临相同的问题。
- RHACS operator 问题:
Below error can be seen in RHACS operator yaml:
lastTransitionTime: "2024-12-17T21:18:02Z"
message: 'couldn''t find unpacked step for rhacs-operator.v4.5.5: rhacs-operator.v4.5.5-rhacs-operator-controller-mana-6b98d855bf[rbac.authorization.k8s.io/v1/Role (redhat-operators/openshift-marketplace)] (Unknown)'
reason: InstallComponentFailed
status: "True"
type: InstallPlanFailed
- Elasticsearch operator 问题:
couldn't find unpacked step for elasticsearch-operator.v5.8.14: elasticsearch-operator.v5.8.14-5c868cd474[rbac.authorization.k8s.io/v1/ClusterRole (redhat-operators-416-2024-10-31/openshift-marketplace)] (Unknown)
- Service Mesh operator 无法从 2.5 升级到 2.6,即使安装计划被设置为 'Manual':
couldn't find unpacked step for jaeger-operator.v1.62.0-1: jaeger-operator.v1.62.0-1-jaeger-operator-77c968d4dc[rbac.authorization.k8s.io/v1/Role (redhat-operators/openshift-marketplace)] (Unknown)
- 将 Apache Kafka operator 的 Streams 从版本 2.7.0-6 升级到版本 2.7.0-7,它会停留在待处理状态:
message: 'couldn''t find unpacked step for amqstreams.v2.7.0-7: amqstreams.v2.7.0-7-strimzi-cluster-operator-57d69b97f4[rbac.authorization.k8s.io/v1/Role
(redhat-operators/openshift-marketplace)] (Unknown)'
reason: InstallComponentFailed
- 通过 OLM 更新 External-secerts Operator:
Failed
couldn't find unpacked step for external-secrets-operator.v0.10.5: external-secrets-operator.v0.10.5-external-secrets-o-78b595fbdf[rbac.authorization.k8s.io/v1/Role (community-operators/openshift-marketplace)] (Unknown)
- 无法升级 RHACM 及其依赖项 Operator 的 Operator
- lastTransitionTime: "2024-10-31T13:16:29Z"
message: 'couldn''t find unpacked step for advanced-cluster-management.v2.9.4:
advanced-cluster-management.v2.9.4-multiclusterhub-o-84948fcb65[rbac.authorization.k8s.io/v1/Role
(redhat-operator-index/openshift-marketplace)] (Unknown)'
reason: InstallComponentFailed
status: "True"
type: InstallPlanFailed
- 此问题几乎可在每个 operator 中看到。
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.15
- Red Hat Advanced Cluster Security for Kubernetes (RHACS)
- 4.5
- Red Hat Advanced Cluster Management for Kubernetes (RHACM)
- 2.8 及更高版本
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.