-
Notifications
You must be signed in to change notification settings - Fork 826
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
Can't apply fleetautoscaler on 1.17.0 #2253
Comments
Thanks for the bug report. I've been able to reproduce the bug locally. |
@roberthbailey are you able to replicate it in an e2e test? I'm struggling to work out why this wasn't picked up in e2e testing 🤔 |
The stack trace is pointing to https://github.com/googleforgames/agones/blob/main/pkg/apis/autoscaling/v1/fleetautoscaler.go#L207 which is the line that was changed in #2246 /cc @lambertwang |
@lambertwang / @cindy52 - did either of you do a smoke test with the yaml install after #2246 was merged? |
If this is blocking people creating |
I think it likely does.... That's a pretty major issue. |
I just created a second cluster and did a helm install... and it works without issue. That explains why e2e didn't catch it - e2e doesn't test via the yaml install. |
Did you helm install with feature flags enabled or disabled? |
So I'm noticing that the install.yaml for 1.17.0 - still all points to 1.17.0-rc https://raw.githubusercontent.com/googleforgames/agones/release-1.17.0/install/yaml/install.yaml |
I was just about to point that out.... |
Whereas the tag doesn't: https://raw.githubusercontent.com/googleforgames/agones/v1.17.0/install/yaml/install.yaml Something went wrong with pushing the release branch. We can manually fix this I think at least. |
I installed helm following the instructions: https://agones.dev/site/docs/installation/install-agones/helm/#helm-3:
|
Sorry, if I wasn't clear before: The 1.17.0 tag of install.yaml is correct, whereas the release branch isn't correct. @cindy52 I'm assuming you didn't manually push the release branch? Or maybe run I expect we can fix this by manually bringing the release branch inline with the tag -- but we should triple check that that will fix the issue. Worth noting: will need to disable the protection on the release branch temporarily to do this. |
Before we do any branch shenanigans, I'm re-running the test with the yaml file from the tag to make sure that fixes the issue. |
|
Ok, now I feel ok moving the branch pointer. |
Looking at git history, here's what I see for 1.16:
But for 1.17 I see tags but not branches:
|
https://github.com/googleforgames/agones/tree/release-1.16.0-rc shows "This branch is 38 commits behind main." whereas https://github.com/googleforgames/agones/tree/release-1.17.0-rc shows "This branch is 1 commit ahead, 7 commits behind main." https://github.com/googleforgames/agones/tree/release-1.17.0 says "This branch is 1 commit ahead, 6 commits behind main" |
It looks like there may have been a rebase issue or a local commit that hadn't been merged that got picked up when pushing the release branch. |
That's probably why I don't see them in my git history. |
Moving the branch to align with the tag looks like it makes the most sense. |
Ok, here's a view of the diff between the tag & branch for the RC: v1.17.0-rc...release-1.17.0-rc |
@markmandel - do you want to tinker with the branches? |
Erk, looks like there are a few issues in there. There's some stuff that's tagged a |
@roberthbailey I don't mind. I can't get to it for a few hours yet. Might also be worth doing a post-mortem after the fact as well, see if we can identify where things in our release process we can improve things. |
Do you know how to drop branch protections? I think we just need to run:
to update the branch pointers. |
I should have done the |
I've got it. Pushing up a fix shortly. 👍🏻 |
Branch has been updated, verifying fix. |
Everything looks to be working for me now. I've put the branch protections back in place, but if someone could double check the fix, I think that would be ideal 👍🏻 |
I can see it's pointing to 1.17.0 now. |
The release branch looks fixed but the release candidate branch is still not pointing at the correct commit. |
This should be fixed now 👍🏻 I'd love someone to confirm the install.yaml works for them from 1.17.0, and then I think we can close this issue. |
I've verified (on a fresh cluster) that the getting started guide for the fleet autoscaler is now working using the 1.17 release branch. |
Awesome! I'm happy to close this ticket. If you're happy, let's close it! 😃 |
@karamaru-alpha - any concerns with closing this out? |
Thank you for your quick and polite response. |
What happened:
Can't apply fleetautoscaler on 1.17.0 agones.
How to reproduce it (as minimally and precisely as possible):
reproduce guide
Anything else we need to know?:
Environment:
kubectl version
): 1.20+This issue from disscussion on slack
The text was updated successfully, but these errors were encountered: