Replies: 2 comments 13 replies
-
In the last release or very recent release, we moved from libgit2 to go-git. This is a major change and it will help to know what version of Flux you are running (please paste the entire output of The change was in the release on November 22, that's Flux (If you're upgrading, we recommend to go with the latest version, some other issues that were reported have been fixed in 0.37) |
Beta Was this translation helpful? Give feedback.
-
@kingdonb I am experiencing the same issue from time to time on my cluster. Here is the output of the ► checking prerequisites
✗ flux 0.36.0 <2.4.0 (new version is available, please upgrade)
✔ Kubernetes 1.30.5-gke.1699000 >=1.20.6-0
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v1.1.0
✔ image-automation-controller: deployment ready
► ghcr.io/fluxcd/image-automation-controller:v0.39.0
✔ image-reflector-controller: deployment ready
► ghcr.io/fluxcd/image-reflector-controller:v0.33.0
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v1.4.0
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v1.4.0
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v1.4.1
► checking crds
✔ alerts.notification.toolkit.fluxcd.io/v1beta1
✔ buckets.source.toolkit.fluxcd.io/v1beta2
✔ gitrepositories.source.toolkit.fluxcd.io/v1beta2
✔ helmcharts.source.toolkit.fluxcd.io/v1beta2
✔ helmreleases.helm.toolkit.fluxcd.io/v2beta1
✔ helmrepositories.source.toolkit.fluxcd.io/v1beta2
✔ imagepolicies.image.toolkit.fluxcd.io/v1beta1
✔ imagerepositories.image.toolkit.fluxcd.io/v1beta1
✔ imageupdateautomations.image.toolkit.fluxcd.io/v1beta1
✔ kustomizations.kustomize.toolkit.fluxcd.io/v1beta2
✔ ocirepositories.source.toolkit.fluxcd.io/v1beta2
✔ providers.notification.toolkit.fluxcd.io/v1beta1
✔ receivers.notification.toolkit.fluxcd.io/v1beta1
✔ all checks passed
|
Beta Was this translation helpful? Give feedback.
-
This isn't quite a bug because I'm sure it's something I'm either doing wrong or can fix in my setup rather than a problem with flux itself so I'm asking here.
I get the following error when an imageUpdateAutomation triggers an update on my repo:
command error on refs/heads/main: cannot lock ref ''refs/heads/main'': is at 6162cc076f884b804a018cf5b8a098c1307db330 but expected fc7f071ffce40b73b736876914be4ca907b03586'
It pops up for a handful of different imageUpdateAutomations each time and I only see it happen when another object's tag gets updated by an automation. Nothing breaks, everything works fine but it's messy and I want to know if there's anything I can do to resolve it.
I'm quite new to git and research online shows a prune can fix this if you're using git as an individual and you get this but I don't know if flux works the same way.
Any help appreciated.
Beta Was this translation helpful? Give feedback.
All reactions