3.9. Troubleshooting the cluster upgrader


If you encounter problems when using the legacy installation method for the secured cluster and enabling the automated updates, you can try troubleshooting the problem. The following errors can be found in the clusters view when the upgrader fails.

3.9.1. Upgrader is missing permissions

Symptom

The following error is displayed in the cluster page:

Upgrader failed to execute PreflightStage of the roll-forward workflow: executing stage "Run preflight checks": preflight check "Kubernetes authorization" reported errors. This usually means that access is denied. Have you configured this Secured Cluster for automatically receiving upgrades?"

Procedure

  1. Ensure that the bundle for the secured cluster was generated with future upgrades enabled before clicking Download YAML file and keys.
  2. If possible, remove that secured cluster and generate a new bundle making sure that future upgrades are enabled.
  3. If you cannot re-create the cluster, you can take these actions:

    1. Ensure that the service account sensor-upgrader exists in the same namespace as Sensor.
    2. Ensure that a ClusterRoleBinding exists (default name: <namespace>:upgrade-sensors) that grants the cluster-admin ClusterRole to the sensor-upgrader service account.

3.9.2. Upgrader cannot start due to missing image

Symptom

The following error is displayed in the cluster page:

"Upgrade initialization error: The upgrader pods have trouble pulling the new image: Error pulling image: (...) (<image_reference:tag>: not found)"

Procedure

  1. Ensure that the Secured Cluster can access the registry and pull the image <image_reference:tag>.
  2. Ensure that the image pull secrets are configured correctly in the secured cluster.

3.9.3. Upgrader cannot start due to an unknown reason

Symptom

The following error is displayed in the cluster page:

"Upgrade initialization error: Pod terminated: (Error)"

Procedure

  1. Ensure that the upgrader has enough permissions for accessing the cluster objects. For more information, see "Upgrader is missing permissions".
  2. Check the upgrader logs for more insights.

3.9.3.1. Obtaining upgrader logs

The logs can be accessed by running the following command:

$ kubectl -n <namespace> logs deploy/sensor-upgrader

where:

<namespace>
Specifies the namespace in which Sensor is running.

Usually, the upgrader deployment is only running in the cluster for a short time while doing the upgrades. It is removed later, so accessing its logs using the orchestrator CLI can require proper timing.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部