-
Notifications
You must be signed in to change notification settings - Fork 195
Closed
Labels
Team:Elastic-Agent-Control-PlaneLabel for the Agent Control Plane teamLabel for the Agent Control Plane team
Description
Elastic Agent will write a new desired_outcome
field in the upgrade marker to indicate if the ongoing upgrade is to be completed or rolled back as requested by the user.
The values for desired_outcome
can be:
- UPGRADE
- ROLLBACK
The initial value UPGRADE
is written when the marker is created first and it will be changed to ROLLBACK
when the agent receives a manual rollback request.
Elastic Agent watcher must proceed to rollback and cleanup the new agent installation as soon as the desired_outcome
is set to ROLLBACK
.
Definition of done:
- When a new upgrade marker is created, it contains a
desired_outcome
with valueUPGRADE
- Include support for
ROLLBACK
value ofdesired_outcome
needed for implementing Handle rollback command/action in upgrade flow #6889
Metadata
Metadata
Assignees
Labels
Team:Elastic-Agent-Control-PlaneLabel for the Agent Control Plane teamLabel for the Agent Control Plane team