Skip to content

Commit f8bd341

Browse files
backport fleet-server#5515 to 8.18 (#1859)
1 parent ac8532b commit f8bd341

File tree

1 file changed

+93
-3
lines changed

1 file changed

+93
-3
lines changed

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

Lines changed: 93 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ This issue is triggered if the upgrade fails during one of the early checks insi
5757
**Symptoms**
5858
5959
- {fleet} shows the upgrade action in progress, even though the upgrade remains stuck
60-
- No further upgrade attempts succeed
61-
- Elastic Agent status shows an override state indicating upgrade
60+
- No further upgrade attempts succeed
61+
- Elastic Agent status shows an override state indicating upgrade
6262
6363
**Workaround**
6464
@@ -72,9 +72,16 @@ The fix is included in versions 9.1.4 and 8.19.4, and planned for versions 9.0.8
7272
7373
====
7474

75+
[[known-issue-5515-8.18.7]]
76+
.fleet-agents template is missing mappings
77+
[%collapsible]
78+
====
79+
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
80+
====
81+
7582
[discrete]
7683
[[features-enhancements-8.18.7]]
77-
=== New features and enhancements
84+
=== New features and enhancements
7885

7986
Elastic Agent::
8087
* Bump kube-stack Helm Chart to 0.9.1 and enable the cluster collector. link:https://github.com/elastic/elastic-agent/pull/9535[#9535]
@@ -114,6 +121,17 @@ the connection before the TLS handshake.
114121

115122
Review important information about the 8.18.6 release.
116123

124+
[discrete]
125+
[[known-issues-8.18.6]]
126+
=== Known issues
127+
128+
[[known-issue-5515-8.18.6]]
129+
.fleet-agents template is missing mappings
130+
[%collapsible]
131+
====
132+
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
133+
====
134+
117135
[discrete]
118136
[[security-updates-8.18.6]]
119137
=== Security updates
@@ -159,6 +177,17 @@ Fleet Server::
159177

160178
Review important information about the 8.18.5 release.
161179

180+
[discrete]
181+
[[known-issues-8.18.5]]
182+
=== Known issues
183+
184+
[[known-issue-5515-8.18.5]]
185+
.fleet-agents template is missing mappings
186+
[%collapsible]
187+
====
188+
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
189+
====
190+
162191
[discrete]
163192
[[bug-fixes-8.18.5]]
164193
=== Bug fixes
@@ -217,6 +246,13 @@ curl --request POST \
217246
218247
====
219248

249+
[[known-issue-5515-8.18.4]]
250+
.fleet-agents template is missing mappings
251+
[%collapsible]
252+
====
253+
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
254+
====
255+
220256
[discrete]
221257
[[bug-fixes-8.18.4]]
222258
=== Bug fixes
@@ -282,6 +318,13 @@ curl --request POST \
282318
283319
====
284320

321+
[[known-issue-5515-8.18.3]]
322+
.fleet-agents template is missing mappings
323+
[%collapsible]
324+
====
325+
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
326+
====
327+
285328
[discrete]
286329
[[new-features-8.18.3]]
287330
=== New features
@@ -392,6 +435,13 @@ curl --request POST \
392435
393436
====
394437

438+
[[known-issue-5515-8.18.2]]
439+
.fleet-agents template is missing mappings
440+
[%collapsible]
441+
====
442+
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
443+
====
444+
395445
// end 8.18.2 relnotes
396446

397447
// begin 8.18.1 relnotes
@@ -467,6 +517,13 @@ curl --request POST \
467517
468518
====
469519

520+
[[known-issue-5515-8.18.1]]
521+
.fleet-agents template is missing mappings
522+
[%collapsible]
523+
====
524+
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
525+
====
526+
470527
[discrete]
471528
[[bug-fixes-8.18.1]]
472529
=== Bug fixes
@@ -572,6 +629,39 @@ curl --request POST \
572629
573630
====
574631

632+
[[known-issue-5515-8.18.0]]
633+
.fleet-agents template is missing mappings
634+
[%collapsible]
635+
====
636+
// tag::known-issue-5515-8.18[]
637+
*Details* +
638+
639+
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.
640+
641+
In this {fleet}'s logs this will appear as:
642+
[source,shell]
643+
----
644+
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
645+
Eat bulk checkin error; Keep on truckin'
646+
----
647+
And in the {agent} logs it will appear as:
648+
[source,shell]
649+
----
650+
"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"
651+
----
652+
This attribute was added to the template in versions: 8.17.11 8.18.3, and 8.19.3.
653+
654+
Further investigation revealed that the `.fleet-agents` index template was not correctly applied due to an unchanged `_meta.managed_index_mappings_version` number.
655+
This change also affects other attributes as well, such as `upgrade_attempts`, `namespaces`, `unprivileged`, and `unhealthy_reason`.
656+
If there is an error related to any of these attributes, there will be a similar error message in the logs.
657+
658+
*Impact* +
659+
660+
Updating to a version with a fixed `_meta.managed_index_mappings_version` will correctly apply the new index template.
661+
The fixed versions are 8.18.8, 8.19.4, 9.0.8, 9.1.4.
662+
// end::known-issue-5515-8.18[]
663+
====
664+
575665
[discrete]
576666
[[new-features-8.18.0]]
577667
=== New features

0 commit comments

Comments
 (0)