Skip to content

Commit a148ef0

Browse files
mergify[bot]michel-latermancolleenmcginnis
authored
Add a known-issues entry for missing attributes (#5515) (#5560)
* Add a known-issues entry for the missing attribute * fix note * Apply suggestions from code review --------- (cherry picked from commit e81fbdb) Co-authored-by: Michel Laterman <[email protected]> Co-authored-by: Colleen McGinnis <[email protected]>
1 parent 9fd0c29 commit a148ef0

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/release-notes/known-issues.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,37 @@ Until a bug fix is available in a later release, you can resolve the issue tempo
8282
2. After the output confirms all files were successfully processed, run the `enroll` command again.
8383

8484
:::
85+
86+
:::{dropdown} .fleet-agents template is missing mappings
87+
88+
**Applies to** {{fleet}} versions:
89+
* 8.17.x (all patch versions)
90+
* 8.18.0 to 8.18.7
91+
* 8.19.0 to 8.19.3
92+
* 9.0.0 to 9.0.7
93+
* 9.1.0 to 9.1.3
94+
95+
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.
96+
97+
In this {{fleet}}'s logs this will appear as:
98+
```shell
99+
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
100+
Eat bulk checkin error; Keep on truckin'
101+
```
102+
103+
And in the {{agent}} logs it will appear as:
104+
```shell
105+
"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"
106+
```
107+
108+
This attribute was added to the template in versions: 8.17.11 8.18.3, 8.19.3, 9.0.3, 9.1.0.
109+
110+
Further investigation revealed that the `.fleet-agents` index template was not correctly applied due to an unchanged `_meta.managed_index_mappings_version` number.
111+
This change also affects other attributes as well, such as `upgrade_attempts`, `namespaces`, `unprivileged`, and `unhealthy_reason`.
112+
If there is an error related to any of these attributes, there will be a similar error message in the logs.
113+
114+
**Workaround**
115+
Updating to a version with a fixed `_meta.managed_index_mappings_version` will correctly apply the new index template.
116+
The fixed versions are 8.18.8, 8.19.4, 9.0.8, 9.1.4.
117+
118+
:::

0 commit comments

Comments
 (0)