[Fleet] Add workaround for upgrade_status not updated to completed if client runs a FS old version #140290
Labels
bug
Fixes for quality problems that affect the customer experience
Project:FleetScaling
Team:Fleet
Team label for Observability Data Collection Fleet team
Related to #139704
Add fix for the edge case when clients might use the new kibana version with old FS version.
To avoid leaving the agent in
upgrade_status: started
state, kibana could do a check thatupgraded_at > upgrade_started_at
and updateupgrade_status: completed
as a fallback.We could do this as a scheduled task or some other place (maybe
/agent_status
API that is periodically called from UI).Alternatively the
agent_status
API could have its queries adjusted to include theupgraded_at > upgrade_started_at
condition as a fallback for healthy status.The text was updated successfully, but these errors were encountered: