You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://bugzilla.mozilla.org/show_bug.cgi?id=1646061 shows an instance with powerStates ['ProvisioningState/creating'] which should probably be considered transitional. Also, it seems that vmInfo.provisioningState is redundant with the power states?
Now that we have registrationTimeout and reregistrationTimeout, the state recognition can be a little more conservative about killing instances -- if it misses an instance that has failed to start up, that instance's registrationTimeout will expire and it will be terminated anyway. And if it misses an instance that has failed after startup, reregistrationTimeout will expire and it will be terminated. So the worker scan's responsibilities are:
in state REQUESTED
detect failed startup conditions and remove the worker
in state RUNNING
detect instance stopping or deallocation and remove the worker
Since the documentation on lifecycles is next to useless, let's just look for known, observed situations, and treat everything else as OK (with debug logging for anything that's not known and observed to be good).
The text was updated successfully, but these errors were encountered:
https://bugzilla.mozilla.org/show_bug.cgi?id=1646061 shows an instance with powerStates
['ProvisioningState/creating']
which should probably be considered transitional. Also, it seems thatvmInfo.provisioningState
is redundant with the power states?Now that we have registrationTimeout and reregistrationTimeout, the state recognition can be a little more conservative about killing instances -- if it misses an instance that has failed to start up, that instance's registrationTimeout will expire and it will be terminated anyway. And if it misses an instance that has failed after startup, reregistrationTimeout will expire and it will be terminated. So the worker scan's responsibilities are:
Since the documentation on lifecycles is next to useless, let's just look for known, observed situations, and treat everything else as OK (with debug logging for anything that's not known and observed to be good).
The text was updated successfully, but these errors were encountered: