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

[Ingest Manager] Add ability to upgrade the agent in Fleet #78469

Closed
neptunian opened this issue Sep 24, 2020 · 8 comments · Fixed by #78810
Closed

[Ingest Manager] Add ability to upgrade the agent in Fleet #78469

neptunian opened this issue Sep 24, 2020 · 8 comments · Fixed by #78810
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@neptunian
Copy link
Contributor

neptunian commented Sep 24, 2020

Design: #68310

  • Add UI for upgrading the agent
  • Add UI for bulk upgrading the agent
  • Add Bulk upgrade api

Agent Dependencies that need to be completed:

@neptunian neptunian added Team:Fleet Team label for Observability Data Collection Fleet team Ingest Management:beta2 labels Sep 24, 2020
@neptunian neptunian self-assigned this Sep 24, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@neptunian
Copy link
Contributor Author

neptunian commented Sep 24, 2020

@ph @ruflin @michalpristas I'm having some trouble getting the file for the agent when it's a snapshot, due to the hash in the url. Is there anyway for me to know this? https://snapshots.elastic.co/8.0.0-7e40d4e0/downloads/beats/elastic-agent/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz

Also I commented here elastic/beats#21285 (comment), if its possible to send the package type back as part of the local_metadata so I could get the file type for the url.

@ruflin
Copy link
Member

ruflin commented Sep 28, 2020

@neptunian Why is Fleet creating the URL?

@neptunian
Copy link
Contributor Author

@ruflin A requirement from the agent side that @michalpristas can explain. As discussed in email, for now, Fleet will not be creating the URL and the Agent will.

@jfsiii
Copy link
Contributor

jfsiii commented Sep 29, 2020

@neptunian I'm not sure if this helps long-term, but you can get a list from a URL like https://artifacts-api.elastic.co/v1/branches/master/builds/latest/projects/beats/ and use type and os to get find the entry and then use that url to download the image

@neptunian
Copy link
Contributor Author

neptunian commented Sep 30, 2020

@jfsiii thanks, aware of the artifacts api though it would be nice trying to avoid making a request (and i'm not sure we can do a CORS request, there seems to be no example of it elsewhere.). I also don't know the type (see my comment above). At the moment it's easier for the agent to get the url.

@jfsiii
Copy link
Contributor

jfsiii commented Sep 30, 2020

@neptunian 👍 I missed the type part and now see it's not happening in Fleet anyway. If it comes back up, LMK and I can help out with the network request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants