Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet]: Unable to uprade the elastic-agent from v8.12.0 to patch v8.12.1 #175766

Closed
harshitgupta-qasource opened this issue Jan 29, 2024 · 5 comments · Fixed by #175765
Closed
Assignees
Labels
bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@harshitgupta-qasource
Copy link

Kibana Build details:

VERSION: 8.12.0 SNAPSHOT
BUILD: 70123
COMMIT: f8ce81c4ea169e05f6a2ea137fa2d17d3e5459a3

Host OS and Browser version: All, All
Preconditions:

  1. 8.12.0-SNAPSHOT Kibana Cloud environment should be available.
  2. 8.12.0 SNAPSHOT agent should be installed

Steps to reproduce:

  1. Navigate to Fleet Tab.
  2. Select "Upgrade Agent" after clicking the action button of the agent.
  3. Observe that it is disabled.
  4. Navigates to Dev tools
  5. Upgrade the Elastic agent through API
  6. Observe unable to upgrade the agent from v8.12.0 to patch v8.12.1.

Expected:
User should be able to upgrade the elastic-agent from v8.12.0 to patch v8.12.1

Screenshot:
image (1)
image

Feature Ticket:
#168502

@harshitgupta-qasource harshitgupta-qasource added bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:Fleet Team label for Observability Data Collection Fleet team labels Jan 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@harshitgupta-qasource
Copy link
Author

@amolnater-qasource Kindly review

@amolnater-qasource
Copy link

Secondary Review for this ticket is Done.

@juliaElastic juliaElastic self-assigned this Jan 29, 2024
juliaElastic added a commit that referenced this issue Jan 29, 2024
… version differs only in patch (#175765)

Fixes #175766

[8.12][Fleet] Partial backport of
#175198

To verify:
- add a fleet-server version 8.12.0
- enroll an agent version 8.12.0-SNAPSHOT
- take the agent id and in console run this API request
```
POST kbn:/api/fleet/agents/6a56f865-a611-4921-9f24-87757259223e/upgrade
  {
    "version": "8.12.1-SNAPSHOT"
  }
```
- verify that the API returns 200 

Relates #168502
@juliaElastic
Copy link
Contributor

This should be fixed and available to test in the next snapshot.

@amolnater-qasource amolnater-qasource added the QA:Ready for Testing Code is merged and ready for QA to validate label Jan 30, 2024
@harshitgupta-qasource
Copy link
Author

Hi Team,

We have re-validated this issue on latest 8.12.1 release Kibana Cloud build and had below observations:

Observations:

  • User is able to upgrade the elastic-agent from v8.12.1 to patch v8.12.2 through API in Dev Tools

Screenshot:

  • Agent Upgrade.
    Agent Upgrade

  • Standalone Agent Upgrade
    image (1)

Build details:
VERSION: 8.12.1
BUILD: 70228
COMMIT: 3457f32
Artifacts: https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.12.1-windows-x86_64.zip

Hence we are marking as QA:Validated.

Thanks!

@harshitgupta-qasource harshitgupta-qasource added QA:Validated Issue has been validated by QA and removed QA:Ready for Testing Code is merged and ready for QA to validate labels Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
4 participants