Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ This issue is triggered if the upgrade fails during one of the early checks insi
**Symptoms**

- {fleet} shows the upgrade action in progress, even though the upgrade remains stuck
- No further upgrade attempts succeed
- Elastic Agent status shows an override state indicating upgrade
- No further upgrade attempts succeed
- Elastic Agent status shows an override state indicating upgrade

**Workaround**

Expand All @@ -72,9 +72,16 @@ The fix is included in versions 9.1.4 and 8.19.4, and planned for versions 9.0.8

====

[[known-issue-5515-8.18.7]]
.fleet-agents template is missing mappings
[%collapsible]
====
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
====

[discrete]
[[features-enhancements-8.18.7]]
=== New features and enhancements
=== New features and enhancements

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

Review important information about the 8.18.6 release.

[discrete]
[[known-issues-8.18.6]]
=== Known issues

[[known-issue-5515-8.18.6]]
.fleet-agents template is missing mappings
[%collapsible]
====
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
====

[discrete]
[[security-updates-8.18.6]]
=== Security updates
Expand Down Expand Up @@ -159,6 +177,17 @@ Fleet Server::

Review important information about the 8.18.5 release.

[discrete]
[[known-issues-8.18.5]]
=== Known issues

[[known-issue-5515-8.18.5]]
.fleet-agents template is missing mappings
[%collapsible]
====
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
====

[discrete]
[[bug-fixes-8.18.5]]
=== Bug fixes
Expand Down Expand Up @@ -217,6 +246,13 @@ curl --request POST \

====

[[known-issue-5515-8.18.4]]
.fleet-agents template is missing mappings
[%collapsible]
====
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
====

[discrete]
[[bug-fixes-8.18.4]]
=== Bug fixes
Expand Down Expand Up @@ -282,6 +318,13 @@ curl --request POST \

====

[[known-issue-5515-8.18.3]]
.fleet-agents template is missing mappings
[%collapsible]
====
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
====

[discrete]
[[new-features-8.18.3]]
=== New features
Expand Down Expand Up @@ -392,6 +435,13 @@ curl --request POST \

====

[[known-issue-5515-8.18.2]]
.fleet-agents template is missing mappings
[%collapsible]
====
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
====

// end 8.18.2 relnotes

// begin 8.18.1 relnotes
Expand Down Expand Up @@ -467,6 +517,13 @@ curl --request POST \

====

[[known-issue-5515-8.18.1]]
.fleet-agents template is missing mappings
[%collapsible]
====
include::release-notes-8.18.asciidoc[tag=known-issue-5515-8.18]
====

[discrete]
[[bug-fixes-8.18.1]]
=== Bug fixes
Expand Down Expand Up @@ -572,6 +629,39 @@ curl --request POST \

====

[[known-issue-5515-8.18.0]]
.fleet-agents template is missing mappings
[%collapsible]
====
// tag::known-issue-5515-8.18[]
*Details* +

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.

In this {fleet}'s logs this will appear as:
[source,shell]
----
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
Eat bulk checkin error; Keep on truckin'
----
And in the {agent} logs it will appear as:
[source,shell]
----
"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"
----
This attribute was added to the template in versions: 8.17.11 8.18.3, and 8.19.3.

Further investigation revealed that the `.fleet-agents` index template was not correctly applied due to an unchanged `_meta.managed_index_mappings_version` number.
This change also affects other attributes as well, such as `upgrade_attempts`, `namespaces`, `unprivileged`, and `unhealthy_reason`.
If there is an error related to any of these attributes, there will be a similar error message in the logs.

*Impact* +

Updating to a version with a fixed `_meta.managed_index_mappings_version` will correctly apply the new index template.
The fixed versions are 8.18.8, 8.19.4, 9.0.8, 9.1.4.
// end::known-issue-5515-8.18[]
====

[discrete]
[[new-features-8.18.0]]
=== New features
Expand Down