-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
System data streams are not being upgraded in the feature migration API #122949
Comments
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Hey team, wanted to check if there's any timeline for it already by any chance. Unfortunately the issue is stopping us from upgrading to 9.0. Thanks in advance for putting some priority on it :) cc: @dasansol92 @ferullo |
@tomsonpl I'm investigating the issue right now, but I can't provide an ETA yet. As soon as I have more information, I'll update you here |
Thanks 👍 |
@tomsonpl We've identified the problem - |
It seems the best way to fix #122949 is to use existing data stream reindex API. However, this API is located in the migrate x-pack plugin. This commit moves the system indices migration logic (REST handlers, transport actions, and task) to the migrate plugin.
It seems the best way to fix elastic#122949 is to use existing data stream reindex API. However, this API is located in the migrate x-pack plugin. This commit moves the system indices migration logic (REST handlers, transport actions, and task) to the migrate plugin. (cherry picked from commit 0a769c8)
…3934) * Move system indices migration to migrate plugin (#123551) It seems the best way to fix #122949 is to use existing data stream reindex API. However, this API is located in the migrate x-pack plugin. This commit moves the system indices migration logic (REST handlers, transport actions, and task) to the migrate plugin. (cherry picked from commit 0a769c8) * Restore tests
Hey @alexey-ivanov-es 👋 Wondering if I could run my tests again, and not face the |
Awesome, thank you 👍 |
It seems the best way to fix elastic#122949 is to use existing data stream reindex API. However, this API is located in the migrate x-pack plugin. This commit moves the system indices migration logic (REST handlers, transport actions, and task) to the migrate plugin. Port of elastic#123551
It seems the best way to fix elastic#122949 is to use existing data stream reindex API. However, this API is located in the migrate x-pack plugin. This commit moves the system indices migration logic (REST handlers, transport actions, and task) to the migrate plugin. Port of elastic#123551
Hey team, the issue seem partially resolved in my case - because initially the issue appeared when I tried to use the Upgrade Assistant, and Tested today with 8.18 - the blocker on Upgrade assistant does not exist 👍 ![]() ![]() Looking at the logs there seem to be an issue with the same index: To me it seems connected to the previous issue, but please share your thoughts. |
The exception is: 7.17.25-8.0.0 version looks suspicious to me, I'm investigating what it means and whether it might be a root cause of the problem |
Update: We debugged this with @alexey-ivanov-es , and apparently the fixes haven't gotten to 8.18 GA build yet. |
It seems the best way to fix elastic#122949 is to use existing data stream reindex API. However, this API is located in the migrate x-pack plugin. This commit moves the system indices migration logic (REST handlers, transport actions, and task) to the migrate plugin. Port of elastic#123551
Hi @alexey-ivanov-es, unfortunately another issue occurred with the above mentioned data stream. It was found on 9.0.0-rc1. Is this still in your ownership, or fleet now? ![]()
|
Does this seem to be causing the issue ?
|
Since it was closed and I reopened it - I am closing it again. The new issue: #125560 |
See elastic/kibana#211614 for an example of what this looks like to the end user. We have a system data stream,
.fleet-action-results
that has one or more old backing indices. The user calls the feature migration API (POST /_migration/system_features
), which is supposed to upgrade all system indices and data streams. That does not return any errors. Then the deprecation info API (GET /_migration/deprecations
) tells them that they need to reindex the.fleet-action-results
data stream (POST _data_stream/_modify
). Since it is a system data stream though, the user is not allowed to reindex it. They get stuck in a position where they cannot upgrade.The text was updated successfully, but these errors were encountered: