SUSE Support

Here When You Need Us

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

- Rancher v2.6+
- A Rancher-managed RKE2 cluster
 

Situation

After upgrading the Kubernetes version for a downstream RKE2 cluster, there is a message in the Rancher UI:

"ManagedChart generation is X, but latest observed generation is Y ".





 

Resolution

To resolve the issue:
  1. 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
  2. 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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.