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(MachinePool): use GET response to preliminary update vmssState even if long running operation running #4

Draft
wants to merge 1 commit into
base: release-1.17
Choose a base branch
from

Conversation

mweibel
Copy link
Member

@mweibel mweibel commented Nov 13, 2024

FYI what we use currently

@mweibel
Copy link
Member Author

mweibel commented Nov 14, 2024

currently not in use anymore - generates too many problems

@mweibel mweibel force-pushed the release-1.17-vmss-update-state branch 4 times, most recently from 3ff3b9f to 2b59219 Compare November 15, 2024 06:41
@mweibel
Copy link
Member Author

mweibel commented Nov 15, 2024

fixed the main issue, running it again

Updates ScaleSets service to always update the scope's vmss state with
the latest data.
Previously, a long running operation would cause the vmssState to not be
updated and delayed creation of AzureMachinePoolMachines until much
later when that long running operation completed.
This change avoids this and updates the vmssState to what is retrieved
from the API at all times.
The call does not make more API requests because the VMSS GET request
was done anyway but its result ignored.
@mweibel mweibel force-pushed the release-1.17-vmss-update-state branch from 2b59219 to fa6fbc3 Compare November 22, 2024 10:10
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.

1 participant