-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[Fleet] manage_ccr privilege to kibana_system #129915
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
Conversation
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading through elastic/kibana#221277, it seems like the conditions necessary to trigger this scenario are quite rare.
I am all for improving the UX in this scenario, but granting manage_ccr to the Kibana system user for the sole purpose of autocorrecting a rare condition does not feel like the right tradeoff.
What alternatives have we explored?
We have a knowledge article to advise users to fix this scenario manually: https://support.elastic.dev/knowledge/view/6efaa9e7 I'm not aware of a way to prevent this error altogether. I understand that it looks like an overkill to grant |
|
@juliaElastic @kpollich Could we instead present a screen to an administrator, asking them to click a button to repair this? With that approach, we can rely on the administrator's privileges, rather than augmenting our system privileges. |
+1 from me. The KB article is great, but we should document this publicly in a troubleshooting doc as well. I think this is rare enough that a manual workaround is acceptable.
This is a reasonable suggestion, but I think even putting a screen like this together is probably more effort that this rare edge case error requires. I'd rather start with public docs and revisit this with something more robust if we see support noise. |
|
Okay, thanks for the feedback. I'll close this pr for now. |
Relates elastic/kibana#221277
Fleet sync integrations feature might fail with retention leases error. To fix this automatically, Fleet needs
manage_ccrprivilege to recreate the follower index.gradle check? yes