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
Note the scheduled start time of 2023-11-24T19:15:00Z UTC but the current time showing 02:17:09 PM EST as my local time or 2023-11-24T19:17:09Z UTC which is 2 minutes past when the upgrade should have started.
The current implementation sets the start time of the upgrade to the start time of the dispatcher so this may be an artifact of the dispatcher implementation.
Adding how to handle expired upgrades from a Slack discussion on what to do about expired upgrades:
It would be nice to know if this happened. I think moving to UPG_FAILED if this happens might be best so this shows up in telemetry, all the cases I know of where an upgrade action expired were treated as a bug or a surprise by the user. The other options are to stay in the UPG_SCHEDULED state but with the details indicating it expired, or to introduce a new state just for this but I think that’s probably too much work at this point since you’d have to change Fleet as well.
I currently think we should consider expired upgrades as failed upgrades to make sure they are flagged. This would have allowed us to more easily detect and fix elastic/kibana#170322
When scheduling an agent upgrade the agent will remain in the UPG_SCHEDULED state past the scheduled start time.
Note the scheduled start time of
2023-11-24T19:15:00Z
UTC but the current time showing02:17:09 PM EST
as my local time or2023-11-24T19:17:09Z
UTC which is 2 minutes past when the upgrade should have started.The current implementation sets the start time of the upgrade to the start time of the dispatcher so this may be an artifact of the dispatcher implementation.
elastic-agent/internal/pkg/agent/application/dispatcher/dispatcher.go
Lines 322 to 324 in 97e8217
The text was updated successfully, but these errors were encountered: