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] Implement UI for configuring custom agent binary download sources #133828

Closed
10 tasks done
kpollich opened this issue Jun 7, 2022 · 6 comments
Closed
10 tasks done
Assignees
Labels
QA:Validated Issue has been validated by QA Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@kpollich
Copy link
Member

kpollich commented Jun 7, 2022

Summary

In environments where Kibana has internet access, but agents do not, it's common to point agents to an alternative network location to download upgraded binaries via the agent.download.sourceURI setting in agent.yml. Today, this is a manual process that doesn't scale.

What we'd like to do here is create a UI in Fleet to manage a set of custom agent binary download sources and apply those sources either globally or on a per-policy basis. The implementation and patterns here will be very similar to Fleet's outputs concepts.

Implementation

Follow up

Design mockups

Show mockups

image

image

@kpollich kpollich added the Team:Fleet Team label for Observability Data Collection Fleet team label Jun 7, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@ghost
Copy link

ghost commented Jul 20, 2022

Hi @kpollich
We have revalidated this feature on the latest 8.4 Snapshot Kibana Cloud environment and found it working fine.

  • The other host can be added under agent binary download section other than default host.
  • The added host is visible under the same section in policy settings.

Build Details:
BUILD: 54585
COMMIT: f9e2ed4

Screenshots:
1
2

Please let us know if we are missing anything.
Thanks

@jen-huang
Copy link
Contributor

As everything except the testing task for elastic/elastic-agent#686 is complete, I will close this issue. Thanks @criamico!

@ghost
Copy link

ghost commented Aug 3, 2022

Hi @criamico
Currently, we have created 08 UI test cases for this feature in the testrail.

  • Agent Binaries

  • Further, we will validate the feature according to the testing guidelines provided by you and will be adding more test cases after validation in the testrail.

Thanks

@ghost
Copy link

ghost commented Sep 7, 2022

Hi @criamico
We have validated this feature on 8.4.1 Release build and 8.5 latest Kibana cloud environment.

Observations:
Curently, we have found that appropriate url is selected under Agent logs form 'Agent Binary Download Sources'.

  • Further, we will revalidate the same scenario on 8.5 BC.

Build Details:
VERSION: 8.4.1
BUILD: 55434
COMMIT: 415cecc

VERSION: 8.5.0
BUILD: 56016
COMMIT: a93f5d9

Screenshots:
1

2

3

Thanks

@amolnater-qasource
Copy link

Hi Team
We have revalidated this feature on latest 8.5 BC3 Kibana cloud environment by upgrading 8.4.3 agents and found it working fine.

Observations:

  • We are successfully able to upgrade Windows, Linux and MAC agents to latest versions(8.4.3>8.5.0) using agent binary.

Build details:
BUILD: 56932
COMMIT: 1bb0d05

Screenshots:
9
10

Hence marking this feature as QA:Validated.

Thanks

@amolnater-qasource amolnater-qasource added QA:Validated Issue has been validated by QA and removed QA:Needs Validation Issue needs to be validated by QA labels Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA:Validated Issue has been validated by QA Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

5 participants