Resolving a fleet-agent that is stuck in the Pending-Upgrade state

This document (000020859) is provided subject to the disclaimer at the end of this document.


The fleet-agent is stuck in a "Pending-Upgrade" state and showing the following error:
time="2022-07-19T16:12:08Z" level=info msg="preparing upgrade for fleet-agent-c-97hcq" time="2022-07-19T16:12:08Z" level=info msg="getting history for release fleet-agent-c-97hcq" time="2022-07-19T16:12:08Z" level=error msg="error syncing 'cluster-fleet-default-c-97hcq-86145229ab95/fleet-agent-c-97hcq': handler bundle-deploy: another operation (install/upgrade/rollback) is in progress, requeuing"


Run the following command against the cluster where the fleet-agent is running:
kubectl get secret -A -l status=pending-upgrade
It will show the output of a secret that is causing the pending-upgrade state as follows:
NAMESPACE             NAME                                        TYPE                 DATA   AGE
cattle-fleet-system   sh.helm.release.v1.fleet-agent-c-97hcq.v2   1      132d
Based on the above output above, run through the following steps:
1. Backup the yaml (and save it to a persistent location) for the fleet secret that is causing the pending-upgrade state:
kubectl get secret -n cattle-fleet-system sh.helm.release.v1.fleet-agent-c-97hcq.v2 -oyaml > fleet-agent-c-97hcq.yaml
2. Delete the secret:
kubectl delete secret -n cattle-fleet-system sh.helm.release.v1.fleet-agent-c-97hcq.v2
3. In the Rancher UI, go to Continuous Delivery and do a "Force Update" on the downstream cluster in question


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:000020859
  • Creation Date: 15-Nov-2022
  • Modified Date:21-Jan-2023
    • SUSE Rancher

< Back to Support Search

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

SUSE Support Forums

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

Join Our Community

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.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center