-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Error: no changes made in repo - misleading when image is already deployed, verbose option does not do anything #1395
Comments
Oh, I pushed a newer tag to that docker repo and fluxctl release is working now !
Did fluxctl compare that tag 1.0.0 and latest were pointing to the same image and refused to perform the release? ! So my initial issue is resolved but I still want to know how to troubleshoot fluxctl. Right now it's pretty much trial and error. Leaving this issue open for now. |
flux treats |
This causes me a lot of time frequently - at least during the workflow testing phase. It would be great to know what flux is doing under the hood by printing more details.
In this example, it was a new image and tag. |
I'm running into the same issue at the moment.
I can see, that the image has updated tags, but
|
The mistake was on my side. I had a wrong semver filter on the image tag. |
I support the idea of giving clearer explanations in addition or in place of I got this error when I tried releasing again the same version (releasing the currently running version). A better message could be |
Please let me know if you still need help with this. I apologize for the staleness of this reply, we are in the process of cleaning up stale issues from the Flux v1 repo now, this should be over soon. I will close the issue for now as it is stale. Flux v1 remains in maintenance mode. Although I can still review and accept some pull requests, there is little labor effort available to develop the Flux v1 codebase and are no new features being added to Flux v1 daemon and this is generally critical fixes only situation at this point. We can provide support to Flux v1 users especially with respect to migrating to the new Flux version, Flux v2, which has some breaking changes but is also a total rewrite and also brings many improvements. I'm closing the issue but you are most welcome to write back on this issue, or open another issue. Thanks for using Flux. |
This issue still exists, and I agree with @adrientardieu adding "this version is already running" would be immediately more helpful than the current "Error: no changes made in repo". I spent many hours yesterday digging elsewhere not realising the image was already running (and throwing errors), thinking that instead the new image simply was not being deployed. This error message is not helpful, and what's the point of an error message that's not helpful? Please re-open. |
The problem with changing the text, is that people have written automated pipelines around their We've had discussions before about issues that would require a change in the output of an existing workflow in order to fix them, and ruled these changes out for this reason - Flux v1 cannot have breaking changes, according to SemVer, without an increment in the major version number. If you'd like to change the text and compile a version that says something different, nothing should stop you, however in the Flux v1 project which has been in maintenance mode since #3320 we cannot merge such a change as the logging messages are considered as part of the public API which is governed by semver for stability. |
This project is in Migration and security support only, so unfortunately this issue won't be fixed. We recommend users to migrate to Flux 2 at their earliest convenience. More information about the Flux 2 transition timetable can be found at: https://fluxcd.io/docs/migration/timetable/. |
fluxctl list-images shows 2 image tags:
I want fluxctl release to update to the other image tag but it says "Error: no changes made in repo"
So I run again with -vv, no extra helpful verbose or debugging trace
--verbose=4 not better
So what are the recommanded ways to troubleshoot fluxctl errors because the verbose option is not helping at all.
We are using flux with helm support.
The text was updated successfully, but these errors were encountered: