Skip to content

[8.19] Add a known issue for Elastic Agents getting stuck in an upgrade scheduled state #1841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 30, 2025
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 @@ -38,6 +38,47 @@ Review important information about the {fleet} and {agent} 8.19.0 release.
{fleet-server}::
* Upgrade golang.org/x/net to v0.34.0 and golang.org/x/crypto to v0.32.0. {fleet-server-pull}4405[#4405]

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

[[known-issue-2285-8.19.0]]
.{agents} remain in an "Upgrade scheduled" state
[%collapsible]
====

*Details* +

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.`.

*Impact* +

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}:

[source,shell]
----
curl --request POST \
--url https://<KIBANA_HOST>/api/fleet/agents/<AGENT_ID>/upgrade \
--user "<SUPERUSER_NAME>:<SUPERUSER_PASSWORD>" \
--header 'Content-Type: application/json' \
--header 'kbn-xsrf: true' \
--data '{"version": "<VERSION>","force": true}'
----

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`:

[source,shell]
----
curl --request POST \
--url https://<KIBANA_HOST>/api/fleet/agents/bulk_upgrade \
--user "<SUPERUSER_NAME>:<SUPERUSER_PASSWORD>" \
--header 'Content-Type: application/json' \
--header 'kbn-xsrf: true' \
--data '{"version": "<VERSION>","force": true,"agents":["<AGENT_IDS>"]}'
----

====

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