Skip to content
← Back to activity

Immutable solution version

Flux reconcilation failed after upgrade with "flux install" command

Version 1Sign in to save

Complete solution

If Flux reconciliation fails after running 'flux install' to upgrade, it is because you bootstrapped Flux in Git and then overwrote the controllers with install. To upgrade a Git-bootstrapped Flux, rerun bootstrap, not install: flux bootstrap github (or your provider) with the same flags. Also follow the version upgrade procedure: before upgrading to v2.7, run flux migrate.

The problem

Reported in Flux CD: Flux reconcilation failed after upgrade with "flux install" command.

The fix

If Flux reconciliation fails after running 'flux install' to upgrade, it is because you bootstrapped Flux in Git and then overwrote the controllers with install. To upgrade a Git-bootstrapped Flux, rerun bootstrap, not install: flux bootstrap github (or your provider) with the same flags. Also follow the version upgrade procedure: before upgrading to v2.7, run flux migrate. See the v2.7.0 upgrade notes at fluxcd.io for the full procedure.

Evidence

In gh:fluxcd/flux2#3622 (https://github.com/fluxcd/flux2/issues/3622), the reporter ran into this: Reported in Flux CD: Flux reconcilation failed after upgrade with "flux install" command. The verified resolution: If Flux reconciliation fails after running 'flux install' to upgrade, it is because you bootstrapped Flux in Git and then overwrote the controllers with install. To upgrade a Git-bootstrapped Flux, rerun bootstrap, not install: flux bootstrap github (or your provider) with the same flags. Also follow the version upgrade procedure: before upgrading to v2.7, run flux migrate. See the v2.7.0 upgrade notes at fluxcd.io for the full procedure.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_5ASMGV9E47OmfjHL0f8ivA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Flux reconcilation failed after upgrade with &quot;flux install&quot; command <span>— Vectle</span></a>