Skip to content
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

[8.12] Update release notes with upgrade issues (backport #775) #777

Merged
merged 1 commit into from
Dec 19, 2023
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 @@ -31,6 +31,81 @@ Also see:

Review important information about {fleet-server} and {agent} for the 8.11.3 release.

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

[[known-issue-169825-8.11.3]]
.Current stack version is not in the list of {agent} versions in {kib} {fleet} UI
[%collapsible]
====

*Details*

On the {fleet} UI in {kib}:

* When adding a new {agent}, the user interface shows a previous version instead of the current version.
* When you attempt an upgrade, the modal window shows an earlier version as the latest version.

*Impact* +

You can use the following steps as a workaround:

*When upgrading {agent} currently on versions 8.10.3 or earlier (simpler)*

. Open the {fleet} UI. Under the *Agents* tab select *Upgrade agent* from the actions menu. The version field in the *Upgrade agent* UI allows you to enter any version.
. Enter `8.11.0` or whichever version you want to upgrade the {agents} to. Do not choose a version later than the version of {kib} or {fleet-server} that you're running.

*When upgrading {agent} currently on any version (more complex, requires API)*

. Open {kib} and navigate to *Management -> Dev Tools*.
. Choose one of the API requests below and submit it through the console. Each of the requests uses version `8.11.0` as an example, but this can be changed to any available version.
+
* To upgrade a single {agent} to any version, run:
+
[source,console]
----
POST kbn:/api/fleet/agents/<Elastic Agent ID>/upgrade
{"version":"8.11.0"}
----
+
* To upgrade a set of {agents} based on a known set of agent IDs, run:
+
[source,console]
----
POST kbn:/api/fleet/agents/bulk_upgrade
{
"version":"8.11.0",
"agents":["<Elastic Agent ID>","<Another Elastic Agent ID>"],
"start_time":"2023-11-10T09:41:39.850Z"
}
----
* To upgrade a set of {agents} running a specific policy, and below a specific version (for example, `8.11.0`), run:
+
[source,console]
----
POST kbn:/api/fleet/agents/bulk_upgrade
{
"agents": "fleet-agents.policy_id:<Elastic Fleet Policy ID> and fleet-agents.agent.version<<VERSION>",
"version": "8.11.0"
}
----
+
[source,console]
----
POST kbn:/api/fleet/agents/bulk_upgrade
{
"agents": "fleet-agents.policy_id:uuid1-uuid2-uuid3-uuid4 and fleet-agents.agent.version<8.11.0",
"version": "8.11.0"
}
----

TIP: To find the ID for any {agent}, open the **Agents** tab in {fleet} and select **View agent** from the **Actions** menu. The agent ID and other details are shown.

To learn more about these requests, refer to the <<fleet-api-docs,{fleet} API documentation>>.

====

[discrete]
[[security-updates-8.11.3]]
=== Security updates
Expand All @@ -57,6 +132,24 @@ Review important information about {fleet-server} and {agent} for the 8.11.2 rel

IMPORTANT: The memory leak <<known-issue-115-8.11.1,known issue>> that affects Windows users running {agent} is resolved in this release. If you're currently on {agent} version 8.11.0 or 8.11.1, we strongly recommend upgrading to 8.11.2 or a later release to avoid the issue. If you're on an earlier version, avoid upgrading to version 8.11.0 or 8.11.1 and update directly to version 8.11.2 or later.

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

[[known-issue-169826-8.11.2]]
.Triggering {agent} upgrades from {kib} {fleet} UI in an air-gapped environment will fail
[%collapsible]
====

*Details*

When attempting to upgrade an {agent}, {kib} tries to access https://www.elastic.co/api/product_versions.
In an air-gapped environment, this call will be blocked and the upgrade flow will therefore be blocked too.

Upgrade {kib} to version 8.11.3 to solve the issue.

====

[discrete]
[[enhancements-8.11.2]]
=== Enhancements
Expand Down