Skip to content

Commit 5612cb1

Browse files
Backport fleet-server#5515 (#1858)
* Backport fleet-server#5515 * use tagged region --------- Co-authored-by: Colleen McGinnis <[email protected]>
1 parent c0e4a9a commit 5612cb1

File tree

1 file changed

+71
-5
lines changed

1 file changed

+71
-5
lines changed

docs/en/ingest-management/release-notes/release-notes-8.19.asciidoc

Lines changed: 71 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Also see:
3535
=== New features and enhancements
3636

3737
Elastic Agent::
38-
* Bump kube-stack Helm Chart to 0.9.1 and enable the cluster collector. link:https://github.com/elastic/elastic-agent/pull/9535[#9535]
38+
* Bump kube-stack Helm Chart to 0.9.1 and enable the cluster collector. link:https://github.com/elastic/elastic-agent/pull/9535[#9535]
3939
* Enhanced loggers for easier debugging of upgrade related issues. link:https://github.com/elastic/elastic-agent/pull/9689[#9689] link:https://github.com/elastic/elastic-agent/issues/9536[#9536]
4040

4141

@@ -44,13 +44,13 @@ Elastic Agent::
4444
=== Bug fixes
4545

4646
Elastic Agent::
47-
* Redact secrets from pre-config, computed-config, components-expected, and components-actual files in diagnostics archive. link:https://github.com/elastic/elastic-agent/pull/9560[#9560]
48-
* Retry service start command upon failure with 30-second delay. link:https://github.com/elastic/elastic-agent/pull/9313[#9313]
47+
* Redact secrets from pre-config, computed-config, components-expected, and components-actual files in diagnostics archive. link:https://github.com/elastic/elastic-agent/pull/9560[#9560]
48+
* Retry service start command upon failure with 30-second delay. link:https://github.com/elastic/elastic-agent/pull/9313[#9313]
4949
* Fix reporting of scheduled upgrade details across restarts and cancels. link:https://github.com/elastic/elastic-agent/pull/9562[#9562] link:https://github.com/elastic/elastic-agent/issues/8778[#8778]
5050
* Enable root user to re-enroll unprivileged agent for mac and linux. link:https://github.com/elastic/elastic-agent/pull/9603[#9603] link:https://github.com/elastic/elastic-agent/issues/8544[#8544]
5151
* Fix missing liveness healthcheck during container enrollment. link:https://github.com/elastic/elastic-agent/pull/9612[#9612] link:https://github.com/elastic/elastic-agent/issues/9611[#9611]
5252
* Enable admin user to re-enroll unprivileged agent for windows. link:https://github.com/elastic/elastic-agent/pull/9623[#9623] link:https://github.com/elastic/elastic-agent/issues/8544[#8544]
53-
* Treat exit code 284 from Endpoint binary as non-fatal. link:https://github.com/elastic/elastic-agent/pull/9687[#9687]
53+
* Treat exit code 284 from Endpoint binary as non-fatal. link:https://github.com/elastic/elastic-agent/pull/9687[#9687]
5454
* Ensure failed upgrade actions are removed from queue and details are set. link:https://github.com/elastic/elastic-agent/pull/9634[#9634] link:https://github.com/elastic/elastic-agent/issues/9629[#9629]
5555

5656

@@ -59,7 +59,7 @@ Fleet Server::
5959
+
6060
Restore connection level limiter to prevent OOM incidents. This limiter is used in addition to the request-level throttle so that once our in-flight requests reaches max_connections a 429 is returned, but if the total connections the server uses is over max_connections*1.1 the server dropsthe connection before the TLS handshake.
6161
* Build fleet-server as fully static binary to restore OS matrix compatibility. link:https://github.com/elastic/fleet-server/pull/5392[#5392] link:https://github.com/elastic/fleet-server/issues/5262[#5262]
62-
62+
6363
// end 8.19.4 relnotes
6464

6565
// begin 8.19.3 relnotes
@@ -69,6 +69,17 @@ Restore connection level limiter to prevent OOM incidents. This limiter is used
6969

7070
Review important information about the 8.19.3 release.
7171

72+
[discrete]
73+
[[known-issues-8.19.3]]
74+
=== Known issues
75+
76+
[[known-issue-5515-8.19.3]]
77+
.fleet-agents template is missing mappings
78+
[%collapsible]
79+
====
80+
include::release-notes-8.19.asciidoc[tag=known-issue-5515-8.19]
81+
====
82+
7283
[discrete]
7384
[[security-updates-8.19.3]]
7485
=== Security updates
@@ -123,6 +134,17 @@ Fleet Server::
123134

124135
Review important information about the 8.19.2 release.
125136

137+
[discrete]
138+
[[known-issues-8.19.2]]
139+
=== Known issues
140+
141+
[[known-issue-5515-8.19.2]]
142+
.fleet-agents template is missing mappings
143+
[%collapsible]
144+
====
145+
include::release-notes-8.19.asciidoc[tag=known-issue-5515-8.19]
146+
====
147+
126148
[discrete]
127149
[[bug-fixes-8.19.2]]
128150
=== Bug fixes
@@ -140,6 +162,17 @@ Fleet Server::
140162

141163
Review important information about the 8.19.1 release.
142164

165+
[discrete]
166+
[[known-issues-8.19.1]]
167+
=== Known issues
168+
169+
[[known-issue-5515-8.19.1]]
170+
.fleet-agents template is missing mappings
171+
[%collapsible]
172+
====
173+
include::release-notes-8.19.asciidoc[tag=known-issue-5515-8.19]
174+
====
175+
143176
[discrete]
144177
[[new-features-8.19.1]]
145178
=== New features
@@ -266,6 +299,39 @@ curl --request POST \
266299
267300
====
268301

302+
[[known-issue-5515-8.19.0]]
303+
.fleet-agents template is missing mappings
304+
[%collapsible]
305+
====
306+
// tag::known-issue-5515-8.19[]
307+
*Details* +
308+
309+
On May 2, 2025 a known issue was discovered that the `.fleet-agents` index template was missing a mapping for the `local_metadata.complete` attribute. This may cause agent checkins to be rejected and the agents to appear as offline.
310+
311+
In this {fleet}'s logs this will appear as:
312+
[source,shell]
313+
----
314+
elastic fail 400: document_parsing_exception: [1:209] object mapping for [local_metadata] tried to parse field [local_metadata] as object, but found a concrete value
315+
Eat bulk checkin error; Keep on truckin'
316+
----
317+
And in the {agent} logs it will appear as:
318+
[source,shell]
319+
----
320+
"log.level":"error","@timestamp":"2025-04-22:12:35:25.295Z","message":"Eat bulk checkin error; Keep on truckin'","component":{"binary":"fleet-server","dataset":"elastic_agent.fleet_server","id":"fleet-server-es-containerhost","type":"fleet-server"},"log":{"source":"fleet-server-es-containerhost"},"service.type":"fleet-server","error.message":"elastic fail 400: document_parsing_exception: [1:209] object mapping for [local_metadata] tried to parse field [local_metadata] as object, but found a concrete value","ecs.version":"1.6.0","service.name":"fleet-server","ecs.version":"1.6.0"
321+
----
322+
This attribute was added to the template in versions: 8.17.11 8.18.3, and 8.19.3.
323+
324+
Further investigation revealed that the `.fleet-agents` index template was not correctly applied due to an unchanged `_meta.managed_index_mappings_version` number.
325+
This change also affects other attributes as well, such as `upgrade_attempts`, `namespaces`, `unprivileged`, and `unhealthy_reason`.
326+
If there is an error related to any of these attributes, there will be a similar error message in the logs.
327+
328+
*Impact* +
329+
330+
Updating to a version with a fixed `_meta.managed_index_mappings_version` will correctly apply the new index template.
331+
The fixed versions are 8.18.8, 8.19.4, 9.0.8, 9.1.4.
332+
// end::known-issue-5515-8.19[]
333+
====
334+
269335
[discrete]
270336
[[new-features-8.19.0]]
271337
=== New features

0 commit comments

Comments
 (0)