-
Notifications
You must be signed in to change notification settings - Fork 525
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
7.17 standalone to 8.15 upgrade results in unmanaged indices #14565
Comments
@graphaelli Looking closer the issue is wider spread and is NOT just limited to standalone unfortunately, so this changes the scope of changes required as well as any interim fix. When I upgrade from 7.17 - 8.14.3 - 8.15.3 all the following policies exist and are used as data ages etc..etc... Test Path 1 OOTB 7.17.25 Standalone APM Server to 8.15.3 with Standalone Server the following ILM Policies are missing
Test Path 2 OOTB 7.17.25 with Managed APM Server (Agent) to 8.15.3 with Managed APM Server (Agent) Good before transition to managed apm server and still available in 8.15.3
Does Not Exists transition to managed apm server in 7.17.25 and still does not exist in 8.15.3
I see all these datastreams seeing I want all the default ILM behavior TBH honest I am not sure what is the epec When I look close at one of the data streams vs the actual index
This indicates that this index is look from ILM policy
And it does not exist ... as the others above
And
|
I conducted following tests with SNAPSHOT versions, where any rollover issues were fixed already and cannot find a functional problem in lifecycle management. However, I understand that the mix of Data Stream Lifecycle and Index Lifecycle Management introduced in The most important point to keep in mind is that any new datastreams will now be managed by the datastream lifecycle management (instead of index lifecycle management). The confusing part is that data management is now mixed (Datastream Lifecycle and Index Lifecycle Management) for upgraded deployments, as well as that an TestScenario A: Upgrade standalone from After ingesting data, the expected data streams are created. Looking at one of the examples, defined as problematic in the comment above, everything is as expected:
Highlighting that the result shows
results in
For traces the result is the same:
Data ingestion works as expected - I cannot see a functional problem with this setup. TestScenario B: Migrate standalone deployment on version After manually switching to managed mode, repeating the tests from Scenario A and confirming that everything works the same as before wrt data management. TestScenario B: Upgrade managed from
Querying the lifecycle:
For the
Being managed by Index Lifecycle Management, querying for:
|
@endorama @lahsivjar please update this after the testing results with the latest |
@bvader let me recap: what you primarily observed is that the ILM policies where not present after upgrade. From our tests we can confirm what @simitt found out and explained above: data streams created in 8.15+ will be managed only by DSL, unless We documented the Does this clarify your findings? If you query the lifecycle endpoint |
|
no objections here |
APM Server version (
apm-server version
):7.17.25 to 8.15.3. This does not manifest with managed 7.17.25 (integration server).
Description of the problem including expected versus actual behavior:
Steps to reproduce:
traces-apm-default
traces-apm-default
is not managed by ILMfor both setups,
GET traces-apm-default/_settings?filter_path=*.settings.index.lifecycle
returns:GET .ds-traces-apm-default-2024.11.06-000001/_ilm/explain
Got:
Expected:
GET _ilm/policy/traces-apm.traces-default_policy
Got:
Expected:
The missing
traces-apm.traces-default_policy
being the main issue.originally reported by @bvader
The text was updated successfully, but these errors were encountered: