-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clusterctl
upgrades fail if a component is branched but not released
#8966
Comments
/triage accepted The error: |
Q: Is this related to #7889 in any way? |
Indeed, using the following works:
However, it feels like that it should fall back automatically perhaps? In this case it's broken all of our CI and new deployments that test the Cluster API upgrades. |
Catching up on this thread, @killianmuldoon was the original fix put in place because we try to check goproxy tags before asking GitHub for a release? I assume this helps with rate limiting? |
Exactly - the original PR introducing go modules for this is here: #7192. And the issue covering github rate limiting is here: #3982. It comes down to a balance for the UX of clusterctl for users that aren't using a github token. Currently by default - with goproxy enabled - there's a window between a tag being created and a release being published where trying to run |
It sounds like it would make sense to try to retrieve the tag with goproxy=off/direct if there is one set? |
See similar reports in kubernetes-sigs/cluster-api-provider-azure#3679 |
This problem still occurs with 1.5-beta.0. The error reported in this issue is |
Ah I see. I somehow remembered that we fixed the issue by ignoring this release and picking another one instead. But if I look at the PR now we just changed the error message? (which is probably why @chrischdi wrote "Partially fixing #7889" in the PR description) So basically we never implemented:
|
Yeah - I didn't think there was any consensus on that fix, but the bug seems common enough that someone might want to fix it. I reopened the original issue and added help wanted. I think we should close this issue as a duplicate. /close In favor of the re-opened issue at #7889 |
@killianmuldoon: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Yup makes sense, thx. I'm mostly just trying to figure out how it all fits together :) |
What steps did you take and what happened?
It seems that the upgrade process is failing for checking a new release if there is a component that has been branched but not released yet. You can reproduce with the following steps:
Setup:
Error:
There was a suggestion by @mdbooth that it mgiht have been fixed in #8253 however I ugpraded
clusterctl
to 1.5 which should include this fix:and alas:
What did you expect to happen?
The
clusterctl
command should not fail even in the circumstance that a project is branched but not released yetCluster API version
Tried both:
Kubernetes version
No response
Anything else you would like to add?
No response
Label(s) to be applied
/kind bug
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.
The text was updated successfully, but these errors were encountered: