[8.7] [Fleet] always create agent upload write indices (#155729)#155845
Merged
kibanamachine merged 1 commit intoelastic:8.7from Apr 26, 2023
Merged
[8.7] [Fleet] always create agent upload write indices (#155729)#155845kibanamachine merged 1 commit intoelastic:8.7from
kibanamachine merged 1 commit intoelastic:8.7from
Conversation
## Summary Fixes elastic#155483 Always create file upload write indices for elastic_agent package, so that Request diagnostics of a managed Fleet Server works before installing Elastic Agent package. To verify: - Go to a fresh cloud deployment without Elastic Agent installed - Go to the managed Fleet Server and click Request Diagnostics on Agent Details - Expect the action to work - Check in Stack Management that the `.fleet-files-agent-000001` index is created. Verified on pr link that the agent write index is created before Elastic Agent package is installed: https://kibana-pr-155729.kb.us-west2.gcp.elastic-cloud.com:9243/app/management/data/index_management/indices?includeHiddenIndices=true <img width="777" alt="image" src="https://user-images.githubusercontent.com/90178898/234502605-cd91bbc2-0938-41ef-8455-1700f139a3ee.png"> <img width="1538" alt="image" src="https://user-images.githubusercontent.com/90178898/234502727-74e84a2a-3126-4346-8328-cdb10ed26b8f.png"> ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 636674c)
1 task
Contributor
|
Pinging @elastic/fleet (Team:Fleet) |
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto8.7:Questions ?
Please refer to the Backport tool documentation