Skip to content

Commit 271cfc2

Browse files
[8.19] Add a known issue for Elastic Agents getting stuck in an upgrade scheduled state (#1841)
* Add a known issue for agents getting stuck in a scheduled state
1 parent 0a65551 commit 271cfc2

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

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

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,47 @@ Review important information about the {fleet} and {agent} 8.19.0 release.
3838
{fleet-server}::
3939
* Upgrade golang.org/x/net to v0.34.0 and golang.org/x/crypto to v0.32.0. {fleet-server-pull}4405[#4405]
4040

41+
[discrete]
42+
[[known-issues-8.19.0]]
43+
=== Known issues
44+
45+
[[known-issue-2285-8.19.0]]
46+
.{agents} remain in an "Upgrade scheduled" state
47+
[%collapsible]
48+
====
49+
50+
*Details* +
51+
52+
There is a known issue 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.`.
53+
54+
*Impact* +
55+
56+
Until this issue is fixed in a later patch version, you can call the https://www.elastic.co/docs/api/doc/kibana/operation/operation-post-fleet-agents-agentid-upgrade[Upgrade an agent] endpoint of the Kibana Fleet API with the `force` parameter set to `true` to force-upgrade the {agent}:
57+
58+
[source,shell]
59+
----
60+
curl --request POST \
61+
--url https://<KIBANA_HOST>/api/fleet/agents/<AGENT_ID>/upgrade \
62+
--user "<SUPERUSER_NAME>:<SUPERUSER_PASSWORD>" \
63+
--header 'Content-Type: application/json' \
64+
--header 'kbn-xsrf: true' \
65+
--data '{"version": "<VERSION>","force": true}'
66+
----
67+
68+
To force-upgrade multiple {agents}, call the https://www.elastic.co/docs/api/doc/kibana/operation/operation-post-fleet-agents-bulk-upgrade[Bulk upgrade agents] endpoint of the Kibana Fleet API with the `force` parameter set to `true`:
69+
70+
[source,shell]
71+
----
72+
curl --request POST \
73+
--url https://<KIBANA_HOST>/api/fleet/agents/bulk_upgrade \
74+
--user "<SUPERUSER_NAME>:<SUPERUSER_PASSWORD>" \
75+
--header 'Content-Type: application/json' \
76+
--header 'kbn-xsrf: true' \
77+
--data '{"version": "<VERSION>","force": true,"agents":["<AGENT_IDS>"]}'
78+
----
79+
80+
====
81+
4182
[discrete]
4283
[[new-features-8.19.0]]
4384
=== New features

0 commit comments

Comments
 (0)