Skip to content
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

Fix sandbox-upgrade-happy-path #1006

Merged
merged 3 commits into from
Dec 16, 2024
Merged

Fix sandbox-upgrade-happy-path #1006

merged 3 commits into from
Dec 16, 2024

Conversation

roypaulin
Copy link
Collaborator

A bug was found in sandbox-upgrade-happy-path test case. The sandbox is upgraded and then removed (unsandboxed). After unsandboxing, we restart all the pods of the former sandbox. The issue is that the subcluster that joins the main cluster is not running the same image, so we get stuck for a while in startnode(HTTPSPollNodeStateIndirectOp) until the timeout(1200s). After timeout expires, it will requeue and run UnsandboxImageVersionReconciler which will recreate the pods with the correct image and next the next startnode attempt will succeed. The solution consists in calling UnsandboxImageVersionReconciler just before the restart reconciler.

@roypaulin
Copy link
Collaborator Author

roypaulin commented Dec 13, 2024

I have tried more than 5 times locally and it works every time. Increasing the timeout of step55 to give it more time to pass on github actions.

Feel free to try it too.

@roypaulin roypaulin merged commit 537e56d into main Dec 16, 2024
40 checks passed
@roypaulin roypaulin deleted the roypaulin/bug branch December 16, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants