Open
Description
For confirmed bugs, please report:
- Version: 8.12/main
- Operating System: all
- Discuss Forum URL: N/A
- Steps to Reproduce:
- schedule and upgrade on fleet for 2 min form now
- check the agent report the upgrade is scheduled
- restart the agent
- the status will not show upgrade details
UPG_SCHEDULED
anymore - then after the 2 min has passed, the upgrade will start and fail due to this bug
The logic to set the upgrade details for scheduled upgrades is on the action dispatcher:
elastic-agent/internal/pkg/agent/application/dispatcher/dispatcher.go
Lines 101 to 120 in d394481
However it does not take into account the actions loaded from disk when the agent starts