Skip to content

Agents remains in UPG_SCHEDULED state when upgrade action is cancelled #8778

@juliaElastic

Description

@juliaElastic

Bug discovered in scale tests: https://github.com/elastic/ingest-dev/issues/5774

There is a testcase that cancels upgrade action, which leaves agents in UPG_SCHEDULED state.
This causes the next testcase auto upgrade agents fail as auto upgrade doesn't pick up agents with upgrade details in non-terminal state.

This can be reproduced by starting an upgrade action with a rollout duration (e.g. 10m) and then cancelling the action.
The agents are stuck in scheduled state.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions