-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
.fleet-actions-results
data stream cannot be restored via the fleet
feature state
#89261
Comments
Pinging @elastic/es-distributed (Team:Distributed) |
When restoring system indices (not data streams) from a snapshot, the user isn't able to close or delete the system index, so we delete the existing system indices as we restore. It looks like we need to do the same thing for system data streams (or, if it's something we're already supposed to do, hunt for a bug or race condition that could be causing the problem). Since core/infra added this logic as part of the system indices project, it's fine with me if this issue is assigned to us. |
I believe the pull request is related (#75860). We probably have missed something in the restore logic. |
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Based on comment above, I've relabeled this to
|
Elasticsearch Version
8.3.3
Installed Plugins
No response
Java Version
bundled
OS Version
Deployment in ESS
Problem Description
.fleet-actions-results
data stream cannot be restored via thefleet
feature state.Consider the following scenario (observed in the field in ESS):
fleet
feature state using the following restore snapshot API:fleet
feature state, it seems that theSystemIndexDescriptor
(c.f code) does contain the.fleet-actions-results-*
pattern. A couple of guesses about the reported problem:Steps to Reproduce
.fleet-actions-results
data stream is created with the respective backing indices.fleet
feature state using the restore snapshot API and observe the same error as above.Workaround
fleet_superuser
roletemp_user
user withsuperuser
,fleet_superuser
roles:.fleet-actions-results
backing indices using the below cURL command:Note: for users running the cURL command on Windows, make sure to use double quotes instead for the header:
"x-elastic-product-origin:fleet"
temp_user
userfleet_superuser
roleLogs (if relevant)
No response
The text was updated successfully, but these errors were encountered: