Skip to content

[Agent Upgrade]: Agent upgrade fails on upgrade from 8.2.0>8.3.0-Snapshot and goes Unhealthy on all OS's. #526

@ghost

Description

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:

  1. Elastic 8.3.0-Snapshot environment should be deployed.

Steps to Reproduce:

  1. Login to Kibana environment.
  2. Navigate to Fleet>Agents tab.
  3. Upgrade lower version agents from the Agents tab.
  4. 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:
image

Logs:
logs.zip

Metadata

Metadata

Assignees

Labels

Team:Elastic-Agent-Control-PlaneLabel for the Agent Control Plane teambugSomething isn't workingimpact:highShort-term priority; add to current release, or definitely next.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions