Description:
Agent upgrade fails on upgrade from 8.2.0>8.3.0-Snapshot and goes Unhealthy on all OS's.
Build Details:
VERSION: 8.3.0-Snapshot
BUILD: 53295
COMMIT: 6ef457053adce432a3b4d5b016997f92488d857d
ARTIFACT LINK OF 8.2.0 : https://www.elastic.co/downloads/past-releases/elastic-agent-8-2-0
Preconditions:
- Elastic 8.3.0-Snapshot environment should be deployed.
Steps to Reproduce:
- Login to Kibana environment.
- Navigate to Fleet>Agents tab.
- Upgrade lower version agents from the Agents tab.
- Observe that Agent upgrade fails on upgrade from 8.2.0>8.3.0-Snapshot and goes Unhealthy on all OS's.
Actual Result:
Agent upgrade fails on upgrade from 8.2.0>8.3.0-Snapshot and goes Unhealthy on all OS's.
Also, If agent is upgraded from 8.2.0>8.2.1 the agent gets upgraded to v8.2.1.
Further, if agent is upgraded from 8.2.1>8.3.0-Snapshot the agent fails to upgrade and rolls back to v8.2.0 and goes to unhealthy state.
Expected Result:
Agent upgrade should not fail on upgrade from 8.2.0>8.3.0-Snapshot and should not go to unhealthy state.
Screenshot:

Logs:
logs.zip
Description:
Agent upgrade fails on upgrade from 8.2.0>8.3.0-Snapshot and goes Unhealthy on all OS's.
Build Details:
VERSION: 8.3.0-Snapshot
BUILD: 53295
COMMIT: 6ef457053adce432a3b4d5b016997f92488d857d
ARTIFACT LINK OF 8.2.0 : https://www.elastic.co/downloads/past-releases/elastic-agent-8-2-0
Preconditions:
Steps to Reproduce:
Actual Result:
Agent upgrade fails on upgrade from 8.2.0>8.3.0-Snapshot and goes Unhealthy on all OS's.
Also, If agent is upgraded from 8.2.0>8.2.1 the agent gets upgraded to v8.2.1.
Further, if agent is upgraded from 8.2.1>8.3.0-Snapshot the agent fails to upgrade and rolls back to v8.2.0 and goes to unhealthy state.
Expected Result:
Agent upgrade should not fail on upgrade from 8.2.0>8.3.0-Snapshot and should not go to unhealthy state.
Screenshot:

Logs:
logs.zip