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
In some scenarios, users may want to cancel an Agent upgrade rollout and revert back to a previous version. For example, if there is a bug in a newer version of Agent that is affecting their configuration.
Downgrading the Agent in place is quite complex and may be hard to support. New features added in future versions may be impossible or very costly to support in a way that can be downgraded, for example:
Secret management and storage on the host
Encrypted disk queues
Schema of local state managed by inputs
An alternative approach could be to support downgrades via an unenroll and re-enroll flow, this could work like (very hand wave-y):
Fleet Server sends down a DOWNGRADE action that includes an enrollment token for the same policy
Agent "soft" unenrolls by emptying remaining data in the queues and then uninstalling itself
Agent then reinstalls itself on the older version with the enrollment token sent by Fleet Server
How this process happens is the most ambiguous aspect. Could we put a script into a tmp directory that gets executed after the uninstall completes?
We may also want to support preserving the agent.id during this flow for minimal disruption in ingest processing and data correlation.
The text was updated successfully, but these errors were encountered:
In some scenarios, users may want to cancel an Agent upgrade rollout and revert back to a previous version. For example, if there is a bug in a newer version of Agent that is affecting their configuration.
Downgrading the Agent in place is quite complex and may be hard to support. New features added in future versions may be impossible or very costly to support in a way that can be downgraded, for example:
An alternative approach could be to support downgrades via an unenroll and re-enroll flow, this could work like (very hand wave-y):
DOWNGRADE
action that includes an enrollment token for the same policyWe may also want to support preserving the agent.id during this flow for minimal disruption in ingest processing and data correlation.
The text was updated successfully, but these errors were encountered: