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
With the automatic upgrades feature, we want to ensure that agents that try to upgrade and are rolled back multiple times can be identified and flagged to the users. In order to handle these rollbacks as retry attempts, we need to ensure that the agent keeps UPG_ROLLBACK state in upgrade_details after rollback is successful.
This is a non-blocker enhancement to the automatic upgrades feature.
The text was updated successfully, but these errors were encountered:
we need to ensure that the agent keeps UPG_ROLLBACK state in upgrade_details after rollback is successful.
Consider the following sequence of events:
User attempts to upgrade Agent from version X to Y.
Upgrade fails and Agent is rolled back to version X.
The user or system (due to automatic retries) once again attempts to upgrade Agent from version X to Y.
Upgrade fails and Agent is rolled back to version X.
The user or system (due to automatic retries) once again attempts to upgrade Agent from version X to Y.
Upgrade succeeds and Agent is now on version Y.
In this sequence, at the end of step 4, do we just want to know that the upgrade has been rolled back (regardless of how many times it has been rolled back) or do we want to know how many times the upgrade has been rolled back or do we want to keep a list of the times the upgrade was rolled back?
Yes, the idea is that the upgrade retry attempts will be increased when the agent was previously in rolled back state.
This is captured in this issue (the logic will be part of the async task in kibana fleet plugin).
Related to https://github.com/elastic/ingest-dev/issues/2878
With the automatic upgrades feature, we want to ensure that agents that try to upgrade and are rolled back multiple times can be identified and flagged to the users. In order to handle these rollbacks as retry attempts, we need to ensure that the agent keeps
UPG_ROLLBACK
state inupgrade_details
after rollback is successful.This is a non-blocker enhancement to the automatic upgrades feature.
The text was updated successfully, but these errors were encountered: