You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup/upgrade/resolving-migration-failures.asciidoc
+6-24Lines changed: 6 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,24 +18,6 @@ When you address the root cause for the migration failure,
18
18
{kib} automatically retries the migration.
19
19
If you're unable to resolve a failed migration, contact Support.
20
20
21
-
22
-
[float]
23
-
==== Known issues with {fleet} beta
24
-
If you see a`timeout_exception` or `receive_timeout_transport_exception` error,
25
-
it might be from a known known issue in 7.12.0 if you tried the {fleet} beta.
26
-
Upgrade migrations fail because of a large number of documents in the `.kibana` index,
27
-
which causes {kib} to log errors such as:
28
-
29
-
[source,sh]
30
-
--------------------------------------------
31
-
Error: Unable to complete saved object migrations for the [.kibana] index. Please check the health of your Elasticsearch cluster and try again. Error: [receive_timeout_transport_exception]: [instance-0000000002][10.32.1.112:19541][cluster:monitor/task/get] request_id [2648] timed out after [59940ms]
32
-
33
-
Error: Unable to complete saved object migrations for the [.kibana] index. Please check the health of your Elasticsearch cluster and try again. Error: [timeout_exception]: Timed out waiting for completion of [org.elasticsearch.index.reindex.BulkByScrollTask@6a74c54]
34
-
--------------------------------------------
35
-
36
-
For instructions on how to mitigate the known issue, refer to https://github.com/elastic/kibana/issues/95321[the GitHub issue].
37
-
38
-
39
21
[float]
40
22
==== Corrupt saved objects
41
23
To find and remedy problems caused by corrupt documents, we highly recommend testing your {kib} upgrade in a development cluster,
@@ -56,7 +38,7 @@ To delete the documents that cause migrations to fail, take the following steps:
56
38
57
39
. Create a role as follows:
58
40
+
59
-
[source,sh]
41
+
[source,console]
60
42
--------------------------------------------
61
43
PUT _security/role/grant_kibana_system_indices
62
44
{
@@ -76,7 +58,7 @@ PUT _security/role/grant_kibana_system_indices
76
58
77
59
. Create a user with the role above and `superuser` built-in role:
78
60
+
79
-
[source,sh]
61
+
[source,console]
80
62
--------------------------------------------
81
63
POST /_security/user/temporarykibanasuperuser
82
64
{
@@ -87,7 +69,7 @@ POST /_security/user/temporarykibanasuperuser
87
69
88
70
. Remove the write block which the migration system has placed on the previous index:
89
71
+
90
-
[source,sh]
72
+
[source,console]
91
73
--------------------------------------------
92
74
PUT .kibana_7.12.1_001/_settings
93
75
{
@@ -99,7 +81,7 @@ PUT .kibana_7.12.1_001/_settings
@@ -185,7 +167,7 @@ The process is waiting for a yellow index status. There are two known causes:
185
167
186
168
Before retrying the migration, inspect the output of the `_cluster/allocation/explain?index=${targetIndex}` API to identify why the index isn't yellow:
187
169
188
-
[source,sh]
170
+
[source,console]
189
171
--------------------------------------------
190
172
GET _cluster/allocation/explain
191
173
{
@@ -220,7 +202,7 @@ Unable to complete saved object migrations for the [.kibana] index: [incompatibl
220
202
--------------------------------------------
221
203
222
204
To get around the issue, remove the transient and persisted routing allocation settings:
0 commit comments