-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security KB] Fix setup KB #201175
[Security KB] Fix setup KB #201175
Conversation
💚 Build Succeeded
Metrics [docs]
History |
Starting backport for target branches: 8.16, 8.17, 8.x https://github.com/elastic/kibana/actions/runs/11976827273 |
## Summary Fix an issue with auto-recovery of Knowledge Base setup. When the KB setup was initialized on an undersized cluster, the model failed to deploy correctly. This resulted in the KB ending up in a broken state, repeatedly displaying the Setup KB button. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 1cb56d7)
## Summary Fix an issue with auto-recovery of Knowledge Base setup. When the KB setup was initialized on an undersized cluster, the model failed to deploy correctly. This resulted in the KB ending up in a broken state, repeatedly displaying the Setup KB button. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 1cb56d7)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.17`: - [[Security KB] Fix setup KB (#201175)](#201175) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Patryk Kopyciński","email":"contact@patrykkopycinski.com"},"sourceCommit":{"committedDate":"2024-11-22T16:58:24Z","message":"[Security KB] Fix setup KB (#201175)\n\n## Summary\r\n\r\nFix an issue with auto-recovery of Knowledge Base setup. \r\n\r\nWhen the KB setup was initialized on an undersized cluster, the model\r\nfailed to deploy correctly. This resulted in the KB ending up in a\r\nbroken state, repeatedly displaying the Setup KB button.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1cb56d7196cf60b03cb539f32f6a466a17141e02","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","ci:cloud-deploy","Team:Security Generative AI","backport:version","v8.17.0","v8.18.0","v8.16.2"],"title":"[Security KB] Fix setup KB","number":201175,"url":"https://github.com/elastic/kibana/pull/201175","mergeCommit":{"message":"[Security KB] Fix setup KB (#201175)\n\n## Summary\r\n\r\nFix an issue with auto-recovery of Knowledge Base setup. \r\n\r\nWhen the KB setup was initialized on an undersized cluster, the model\r\nfailed to deploy correctly. This resulted in the KB ending up in a\r\nbroken state, repeatedly displaying the Setup KB button.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1cb56d7196cf60b03cb539f32f6a466a17141e02"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201175","number":201175,"mergeCommit":{"message":"[Security KB] Fix setup KB (#201175)\n\n## Summary\r\n\r\nFix an issue with auto-recovery of Knowledge Base setup. \r\n\r\nWhen the KB setup was initialized on an undersized cluster, the model\r\nfailed to deploy correctly. This resulted in the KB ending up in a\r\nbroken state, repeatedly displaying the Setup KB button.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1cb56d7196cf60b03cb539f32f6a466a17141e02"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
# Backport This will backport the following commits from `main` to `8.x`: - [[Security KB] Fix setup KB (#201175)](#201175) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Patryk Kopyciński","email":"contact@patrykkopycinski.com"},"sourceCommit":{"committedDate":"2024-11-22T16:58:24Z","message":"[Security KB] Fix setup KB (#201175)\n\n## Summary\r\n\r\nFix an issue with auto-recovery of Knowledge Base setup. \r\n\r\nWhen the KB setup was initialized on an undersized cluster, the model\r\nfailed to deploy correctly. This resulted in the KB ending up in a\r\nbroken state, repeatedly displaying the Setup KB button.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1cb56d7196cf60b03cb539f32f6a466a17141e02","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","ci:cloud-deploy","Team:Security Generative AI","backport:version","v8.17.0","v8.18.0","v8.16.2"],"title":"[Security KB] Fix setup KB","number":201175,"url":"https://github.com/elastic/kibana/pull/201175","mergeCommit":{"message":"[Security KB] Fix setup KB (#201175)\n\n## Summary\r\n\r\nFix an issue with auto-recovery of Knowledge Base setup. \r\n\r\nWhen the KB setup was initialized on an undersized cluster, the model\r\nfailed to deploy correctly. This resulted in the KB ending up in a\r\nbroken state, repeatedly displaying the Setup KB button.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1cb56d7196cf60b03cb539f32f6a466a17141e02"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201175","number":201175,"mergeCommit":{"message":"[Security KB] Fix setup KB (#201175)\n\n## Summary\r\n\r\nFix an issue with auto-recovery of Knowledge Base setup. \r\n\r\nWhen the KB setup was initialized on an undersized cluster, the model\r\nfailed to deploy correctly. This resulted in the KB ending up in a\r\nbroken state, repeatedly displaying the Setup KB button.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1cb56d7196cf60b03cb539f32f6a466a17141e02"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
## Summary Fix an issue with auto-recovery of Knowledge Base setup. When the KB setup was initialized on an undersized cluster, the model failed to deploy correctly. This resulted in the KB ending up in a broken state, repeatedly displaying the Setup KB button. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary Fix an issue with auto-recovery of Knowledge Base setup. When the KB setup was initialized on an undersized cluster, the model failed to deploy correctly. This resulted in the KB ending up in a broken state, repeatedly displaying the Setup KB button. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 1cb56d7) # Conflicts: # x-pack/plugins/elastic_assistant/server/ai_assistant_data_clients/knowledge_base/index.ts
# Backport This will backport the following commits from `main` to `8.16`: - [[Security KB] Fix setup KB (#201175)](#201175) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Patryk Kopyciński","email":"contact@patrykkopycinski.com"},"sourceCommit":{"committedDate":"2024-11-22T16:58:24Z","message":"[Security KB] Fix setup KB (#201175)\n\n## Summary\r\n\r\nFix an issue with auto-recovery of Knowledge Base setup. \r\n\r\nWhen the KB setup was initialized on an undersized cluster, the model\r\nfailed to deploy correctly. This resulted in the KB ending up in a\r\nbroken state, repeatedly displaying the Setup KB button.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1cb56d7196cf60b03cb539f32f6a466a17141e02","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","ci:cloud-deploy","Team:Security Generative AI","backport:version","v8.17.0","v8.18.0","v8.16.2"],"number":201175,"url":"https://github.com/elastic/kibana/pull/201175","mergeCommit":{"message":"[Security KB] Fix setup KB (#201175)\n\n## Summary\r\n\r\nFix an issue with auto-recovery of Knowledge Base setup. \r\n\r\nWhen the KB setup was initialized on an undersized cluster, the model\r\nfailed to deploy correctly. This resulted in the KB ending up in a\r\nbroken state, repeatedly displaying the Setup KB button.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1cb56d7196cf60b03cb539f32f6a466a17141e02"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201175","number":201175,"mergeCommit":{"message":"[Security KB] Fix setup KB (#201175)\n\n## Summary\r\n\r\nFix an issue with auto-recovery of Knowledge Base setup. \r\n\r\nWhen the KB setup was initialized on an undersized cluster, the model\r\nfailed to deploy correctly. This resulted in the KB ending up in a\r\nbroken state, repeatedly displaying the Setup KB button.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1cb56d7196cf60b03cb539f32f6a466a17141e02"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/201436","number":201436,"state":"MERGED","mergeCommit":{"sha":"252fbfd3de5279b450358e8ffa5c87c58a8767c6","message":"[8.17] [Security KB] Fix setup KB (#201175) (#201436)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.17`:\n- [[Security KB] Fix setup KB\n(#201175)](https://github.com/elastic/kibana/pull/201175)\n\n<!--- Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT [{\"author\":{\"name\":\"Patryk\nKopyciński\",\"email\":\"contact@patrykkopycinski.com\"},\"sourceCommit\":{\"committedDate\":\"2024-11-22T16:58:24Z\",\"message\":\"[Security\nKB] Fix setup KB (#201175)\\n\\n## Summary\\r\\n\\r\\nFix an issue with\nauto-recovery of Knowledge Base setup. \\r\\n\\r\\nWhen the KB setup was\ninitialized on an undersized cluster, the model\\r\\nfailed to deploy\ncorrectly. This resulted in the KB ending up in a\\r\\nbroken state,\nrepeatedly displaying the Setup KB\nbutton.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"1cb56d7196cf60b03cb539f32f6a466a17141e02\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"v9.0.0\",\"ci:cloud-deploy\",\"Team:Security\nGenerative\nAI\",\"backport:version\",\"v8.17.0\",\"v8.18.0\",\"v8.16.2\"],\"title\":\"[Security\nKB] Fix setup\nKB\",\"number\":201175,\"url\":\"https://github.com/elastic/kibana/pull/201175\",\"mergeCommit\":{\"message\":\"[Security\nKB] Fix setup KB (#201175)\\n\\n## Summary\\r\\n\\r\\nFix an issue with\nauto-recovery of Knowledge Base setup. \\r\\n\\r\\nWhen the KB setup was\ninitialized on an undersized cluster, the model\\r\\nfailed to deploy\ncorrectly. This resulted in the KB ending up in a\\r\\nbroken state,\nrepeatedly displaying the Setup KB\nbutton.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"1cb56d7196cf60b03cb539f32f6a466a17141e02\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.17\",\"8.x\",\"8.16\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/201175\",\"number\":201175,\"mergeCommit\":{\"message\":\"[Security\nKB] Fix setup KB (#201175)\\n\\n## Summary\\r\\n\\r\\nFix an issue with\nauto-recovery of Knowledge Base setup. \\r\\n\\r\\nWhen the KB setup was\ninitialized on an undersized cluster, the model\\r\\nfailed to deploy\ncorrectly. This resulted in the KB ending up in a\\r\\nbroken state,\nrepeatedly displaying the Setup KB\nbutton.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"1cb56d7196cf60b03cb539f32f6a466a17141e02\"}},{\"branch\":\"8.17\",\"label\":\"v8.17.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.x\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v8.18.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.16\",\"label\":\"v8.16.2\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/201437","number":201437,"state":"MERGED","mergeCommit":{"sha":"7d6c034e25e6d9158edd6c5b1ab905265abb2bdb","message":"[8.x] [Security KB] Fix setup KB (#201175) (#201437)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.x`:\n- [[Security KB] Fix setup KB\n(#201175)](https://github.com/elastic/kibana/pull/201175)\n\n<!--- Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT [{\"author\":{\"name\":\"Patryk\nKopyciński\",\"email\":\"contact@patrykkopycinski.com\"},\"sourceCommit\":{\"committedDate\":\"2024-11-22T16:58:24Z\",\"message\":\"[Security\nKB] Fix setup KB (#201175)\\n\\n## Summary\\r\\n\\r\\nFix an issue with\nauto-recovery of Knowledge Base setup. \\r\\n\\r\\nWhen the KB setup was\ninitialized on an undersized cluster, the model\\r\\nfailed to deploy\ncorrectly. This resulted in the KB ending up in a\\r\\nbroken state,\nrepeatedly displaying the Setup KB\nbutton.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"1cb56d7196cf60b03cb539f32f6a466a17141e02\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"v9.0.0\",\"ci:cloud-deploy\",\"Team:Security\nGenerative\nAI\",\"backport:version\",\"v8.17.0\",\"v8.18.0\",\"v8.16.2\"],\"title\":\"[Security\nKB] Fix setup\nKB\",\"number\":201175,\"url\":\"https://github.com/elastic/kibana/pull/201175\",\"mergeCommit\":{\"message\":\"[Security\nKB] Fix setup KB (#201175)\\n\\n## Summary\\r\\n\\r\\nFix an issue with\nauto-recovery of Knowledge Base setup. \\r\\n\\r\\nWhen the KB setup was\ninitialized on an undersized cluster, the model\\r\\nfailed to deploy\ncorrectly. This resulted in the KB ending up in a\\r\\nbroken state,\nrepeatedly displaying the Setup KB\nbutton.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"1cb56d7196cf60b03cb539f32f6a466a17141e02\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.17\",\"8.x\",\"8.16\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/201175\",\"number\":201175,\"mergeCommit\":{\"message\":\"[Security\nKB] Fix setup KB (#201175)\\n\\n## Summary\\r\\n\\r\\nFix an issue with\nauto-recovery of Knowledge Base setup. \\r\\n\\r\\nWhen the KB setup was\ninitialized on an undersized cluster, the model\\r\\nfailed to deploy\ncorrectly. This resulted in the KB ending up in a\\r\\nbroken state,\nrepeatedly displaying the Setup KB\nbutton.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"1cb56d7196cf60b03cb539f32f6a466a17141e02\"}},{\"branch\":\"8.17\",\"label\":\"v8.17.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.x\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v8.18.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.16\",\"label\":\"v8.16.2\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>"}},{"branch":"8.16","label":"v8.16.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
## Summary Fix an issue with auto-recovery of Knowledge Base setup. When the KB setup was initialized on an undersized cluster, the model failed to deploy correctly. This resulted in the KB ending up in a broken state, repeatedly displaying the Setup KB button. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
Fix an issue with auto-recovery of Knowledge Base setup.
When the KB setup was initialized on an undersized cluster, the model failed to deploy correctly. This resulted in the KB ending up in a broken state, repeatedly displaying the Setup KB button.