ManagedChart generation is X, but latest observed generation is Y
This document (000021469) is provided subject to the disclaimer at the end of this document.
Environment
- A Rancher-managed RKE2 cluster
Situation
"ManagedChart generation is X, but latest observed generation is Y ".
Resolution
- Delete the managed-system-upgrade-controller ManagedChart resource for the affected downstream cluster from the Rancher local cluster (replacing <cluster-name> with the downstream cluster name):
kubectl -n fleet-default delete ManagedChart <cluster-name>-managed-system-upgrade-controller
- After that, Rancher will automatically recreate it.
Cause
This could happen if a user accidentally deleted the "managed-system-upgrade-controller" bundle within Fleet.
Deleting the managed-system-upgrade-controller bundle for the cluster within the fleet-default workspace resets the "observedGeneration" of the managed-system-upgrade-controller ManagedChart.
This leads to a mismatch with the generation, and an error of the format "ManagedChart generation is X, but latest observed generation is Y".
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021469
- Creation Date: 19-Jun-2024
- Modified Date:06-Feb-2025
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com