Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…5845) # Backport This will backport the following commits from `main` to `8.7`: - [[Fleet] always create agent upload write indices (#155729)](#155729) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julia Bardi","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-04-26T08:44:42Z","message":"[Fleet] always create agent upload write indices (#155729)\n\n## Summary\r\n\r\nFixes https://github.com/elastic/kibana/issues/155483\r\n\r\nAlways create file upload write indices for elastic_agent package, so\r\nthat Request diagnostics of a managed Fleet Server works before\r\ninstalling Elastic Agent package.\r\n\r\nTo verify:\r\n- Go to a fresh cloud deployment without Elastic Agent installed\r\n- Go to the managed Fleet Server and click Request Diagnostics on Agent\r\nDetails\r\n- Expect the action to work\r\n- Check in Stack Management that the `.fleet-files-agent-000001` index\r\nis created.\r\n\r\nVerified on pr link that the agent write index is created before Elastic\r\nAgent package is installed:\r\n\r\n\r\nhttps://kibana-pr-155729.kb.us-west2.gcp.elastic-cloud.com:9243/app/management/data/index_management/indices?includeHiddenIndices=true\r\n\r\n<img width=\"777\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502605-cd91bbc2-0938-41ef-8455-1700f139a3ee.png\">\r\n<img width=\"1538\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502727-74e84a2a-3126-4346-8328-cdb10ed26b8f.png\">\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"636674c2137bc38017f7a085f70b87d6a362308e","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","ci:cloud-deploy","v8.8.0","v8.7.2"],"number":155729,"url":"https://github.com/elastic/kibana/pull/155729","mergeCommit":{"message":"[Fleet] always create agent upload write indices (#155729)\n\n## Summary\r\n\r\nFixes https://github.com/elastic/kibana/issues/155483\r\n\r\nAlways create file upload write indices for elastic_agent package, so\r\nthat Request diagnostics of a managed Fleet Server works before\r\ninstalling Elastic Agent package.\r\n\r\nTo verify:\r\n- Go to a fresh cloud deployment without Elastic Agent installed\r\n- Go to the managed Fleet Server and click Request Diagnostics on Agent\r\nDetails\r\n- Expect the action to work\r\n- Check in Stack Management that the `.fleet-files-agent-000001` index\r\nis created.\r\n\r\nVerified on pr link that the agent write index is created before Elastic\r\nAgent package is installed:\r\n\r\n\r\nhttps://kibana-pr-155729.kb.us-west2.gcp.elastic-cloud.com:9243/app/management/data/index_management/indices?includeHiddenIndices=true\r\n\r\n<img width=\"777\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502605-cd91bbc2-0938-41ef-8455-1700f139a3ee.png\">\r\n<img width=\"1538\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502727-74e84a2a-3126-4346-8328-cdb10ed26b8f.png\">\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"636674c2137bc38017f7a085f70b87d6a362308e"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155729","number":155729,"mergeCommit":{"message":"[Fleet] always create agent upload write indices (#155729)\n\n## Summary\r\n\r\nFixes https://github.com/elastic/kibana/issues/155483\r\n\r\nAlways create file upload write indices for elastic_agent package, so\r\nthat Request diagnostics of a managed Fleet Server works before\r\ninstalling Elastic Agent package.\r\n\r\nTo verify:\r\n- Go to a fresh cloud deployment without Elastic Agent installed\r\n- Go to the managed Fleet Server and click Request Diagnostics on Agent\r\nDetails\r\n- Expect the action to work\r\n- Check in Stack Management that the `.fleet-files-agent-000001` index\r\nis created.\r\n\r\nVerified on pr link that the agent write index is created before Elastic\r\nAgent package is installed:\r\n\r\n\r\nhttps://kibana-pr-155729.kb.us-west2.gcp.elastic-cloud.com:9243/app/management/data/index_management/indices?includeHiddenIndices=true\r\n\r\n<img width=\"777\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502605-cd91bbc2-0938-41ef-8455-1700f139a3ee.png\">\r\n<img width=\"1538\" alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502727-74e84a2a-3126-4346-8328-cdb10ed26b8f.png\">\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"636674c2137bc38017f7a085f70b87d6a362308e"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Julia Bardi <[email protected]>
- Loading branch information