Skip to content

Commit b480f94

Browse files
Add a known issue for Elastic Agents getting stuck in an upgrade scheduled state (#2324)
This PR adds a known issue for Elastic Agents getting stuck in an `upgrade scheduled` state. Contributes to closing #2285 Related to elastic/ingest-docs#1841 (PR for the 8.19 release) Related to elastic/ingest-docs#1842 (PR for the 8.18.x releases)
1 parent d95218b commit b480f94

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

release-notes/fleet-elastic-agent/known-issues.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,38 @@ Known issues are significant defects or limitations that may impact your impleme
1717

1818
% :::
1919

20+
:::{dropdown} {{agents}} remain in an "Upgrade scheduled" state
21+
22+
**Applies to: {{agent}} 8.18.0, 8.18.1, 8.18.2, 8.18.3, 8.18.4, 8.19.0, 9.0.0, 9.0.1, 9.0.2, 9.0.3, 9.1.0**
23+
24+
On July 2, 2025, a known issue was discovered where {{agent}} remains in an `Upgrade scheduled` state when a scheduled {{agent}} upgrade is cancelled. Attempting to restart the upgrade on the UI returns an error: `The selected agent is not upgradeable: agent is already being upgraded.`.
25+
26+
For more information, check [Issue #8778](https://github.com/elastic/elastic-agent/issues/8778).
27+
28+
**Workaround**
29+
30+
Call the [Upgrade an agent](https://www.elastic.co/docs/api/doc/kibana/operation/operation-post-fleet-agents-agentid-upgrade) endpoint of the Kibana Fleet API with the `force` parameter set to `true` to force-upgrade the {{agent}}:
31+
32+
```powershell
33+
curl --request POST \
34+
--url https://<KIBANA_HOST>/api/fleet/agents/<AGENT_ID>/upgrade \
35+
--user "<SUPERUSER_NAME>:<SUPERUSER_PASSWORD>" \
36+
--header 'Content-Type: application/json' \
37+
--header 'kbn-xsrf: true' \
38+
--data '{"version": "<VERSION>","force": true}'
39+
```
40+
41+
To force-upgrade multiple {{agents}}, call the [Bulk upgrade agents](https://www.elastic.co/docs/api/doc/kibana/operation/operation-post-fleet-agents-bulk-upgrade) endpoint of the Kibana Fleet API with the `force` parameter set to `true`:
42+
43+
```powershell
44+
curl --request POST \
45+
--url https://<KIBANA_HOST>/api/fleet/agents/bulk_upgrade \
46+
--user "<SUPERUSER_NAME>:<SUPERUSER_PASSWORD>" \
47+
--header 'Content-Type: application/json' \
48+
--header 'kbn-xsrf: true' \
49+
--data '{"version": "<VERSION>","force": true,"agents":["<AGENT_IDS>"]}'
50+
```
51+
:::
2052

2153
:::{dropdown} [Windows] {{agent}} is unable to re-enroll into {{fleet}}
2254

0 commit comments

Comments
 (0)