Skip to content

Commit 4fcf6f2

Browse files
mergify[bot]michel-latermankilfoyle
authored
[8.16] Add known issue for orphaned status blocking upgrades (backport #1566) (#1569)
* Add known issue for orphaned status blocking upgrades (#1566) * Add known issue for orphaned status blocking upgrades * Update docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc * Update docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc * Update docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc * Update docs/en/ingest-management/release-notes/release-notes-8.17.asciidoc --------- Co-authored-by: David Kilfoyle <[email protected]> (cherry picked from commit 241d839) # Conflicts: # docs/en/ingest-management/release-notes/release-notes-8.17.asciidoc * Remove 8.17 release notes file --------- Co-authored-by: Michel Laterman <[email protected]> Co-authored-by: David Kilfoyle <[email protected]>
1 parent 89f03b4 commit 4fcf6f2

File tree

1 file changed

+82
-2
lines changed

1 file changed

+82
-2
lines changed

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

Lines changed: 82 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,34 @@ Also see:
3030

3131
Review important information about the {fleet} and {agent} 8.16.2 release.
3232

33+
[discrete]
34+
[[known-issues-8.16.2]]
35+
=== Known Issues
36+
37+
[discrete]
38+
[[known-issue-6213-8-16-2]]
39+
.An {agent} with the Defend integration may report an Orphaned status and will not be able to be issued an upgrade action through {fleet}.
40+
[%collapsible]
41+
====
42+
*Details* +
43+
A known issue in the {agent} may prevent it from being targetted with an upgrade action for a future release.
44+
This may occur if the Defend integration is used and the agent is stopped on a running instance for too long.
45+
An agent may be stopped as part of an upgrade process.
46+
47+
*Impact* +
48+
A bug fix is present in the 8.16.3 and 8.17.1 releases of {fleet} that will prevent this from occuring.
49+
50+
If you have agents that are affected, the workaround is as follows:
51+
[source,shell]
52+
----
53+
# Get a Token to issue an update_by_query request:
54+
curl -XPOST --user elastic:${SUPERUSER_PASS} -H 'x-elastic-product-origin:fleet' -H'content-type:application/json' "https://${ELASTICSEARCH_HOST}/_security/service/elastic/fleet-server/credential/token/fix-unenrolled"
55+
56+
# Issue an update_by_query request that targets effected agents:
57+
curl -XPOST -H 'Authorization: Bearer ${TOKEN}' -H 'x-elastic-product-origin:fleet' -H 'content-type:application/json' "https://${ELASTICSEARCH_HOST}/.fleet-agents/_update_by_query" -d '{"query": {"bool": {"must": [{ "exists": { "field": "unenrolled_at" } }],"must_not": [{ "term": { "active": "false" } }]}},"script": {"source": "ctx._source.unenrolled_at = null;","lang": "painless"}}'
58+
----
59+
====
60+
3361
[discrete]
3462
[[enhancements-8.16.2]]
3563
=== Enhancements
@@ -51,6 +79,34 @@ In this release we've introduced an image based on the hardened link:https://git
5179

5280
Review important information about the {fleet} and {agent} 8.16.1 release.
5381

82+
[discrete]
83+
[[known-issues-8.16.1]]
84+
=== Known Issues
85+
86+
[discrete]
87+
[[known-issue-6213-8-16-1]]
88+
.An {agent} with the Defend integration may report an Orphaned status and will not be able to be issued an upgrade action through {fleet}.
89+
[%collapsible]
90+
====
91+
*Details* +
92+
A known issue in the {agent} may prevent it from being targetted with an upgrade action for a future release.
93+
This may occur if the Defend integration is used and the agent is stopped on a running instance for too long.
94+
An agent may be stopped as part of an upgrade process.
95+
96+
*Impact* +
97+
A bug fix is present in the 8.16.3 and 8.17.1 releases of the {fleet} that will prevent this from occuring.
98+
99+
If you have agents that are affected, the workaround is as follows:
100+
[source,shell]
101+
----
102+
# Get a Token to issue an update_by_query request:
103+
curl -XPOST --user elastic:${SUPERUSER_PASS} -H 'x-elastic-product-origin:fleet' -H'content-type:application/json' "https://${ELASTICSEARCH_HOST}/_security/service/elastic/fleet-server/credential/token/fix-unenrolled"
104+
105+
# Issue an update_by_query request that targets effected agents:
106+
curl -XPOST -H 'Authorization: Bearer ${TOKEN}' -H 'x-elastic-product-origin:fleet' -H 'content-type:application/json' "https://${ELASTICSEARCH_HOST}/.fleet-agents/_update_by_query" -d '{"query": {"bool": {"must": [{ "exists": { "field": "unenrolled_at" } }],"must_not": [{ "term": { "active": "false" } }]}},"script": {"source": "ctx._source.unenrolled_at = null;","lang": "painless"}}'
107+
----
108+
====
109+
54110
[discrete]
55111
[[bug-fixes-8.16.1]]
56112
=== Bug fixes
@@ -104,7 +160,7 @@ This error can happen if the {agents} being searched and listed in the UI are us
104160
105161
*Impact* +
106162
107-
As a workaround for the issue, you can upgrade your {stack} to verion 8.16.1. The issue has been resolved by {kib} link:https://github.com/elastic/kibana/pull/199325[#199325].
163+
As a workaround for the issue, you can upgrade your {stack} to verion 8.16.1. The issue has been resolved by {kib} link:https://github.com/elastic/kibana/pull/199325[#199325].
108164
109165
====
110166

@@ -154,6 +210,30 @@ As a workaround, we recommend trying again to uninstall the agent.
154210
155211
====
156212

213+
[discrete]
214+
[[known-issue-6213-8-16-0]]
215+
.An {agent} with the Defend integration may report an Orphaned status and will not be able to be issued an upgrade action through {fleet}.
216+
[%collapsible]
217+
====
218+
*Details* +
219+
A known issue in the {agent} may prevent it from being targetted with an upgrade action for a future release.
220+
This may occur if the Defend integration is used and the agent is stopped on a running instance for too long.
221+
An agent may be stopped as part of an upgrade process.
222+
223+
*Impact* +
224+
A bug fix is present in the 8.16.3 and 8.17.1 releases of {fleet} that will prevent this from occuring.
225+
226+
If you have agents that are affected, the workaround is as follows:
227+
[source,shell]
228+
----
229+
# Get a Token to issue an update_by_query request:
230+
curl -XPOST --user elastic:${SUPERUSER_PASS} -H 'x-elastic-product-origin:fleet' -H'content-type:application/json' "https://${ELASTICSEARCH_HOST}/_security/service/elastic/fleet-server/credential/token/fix-unenrolled"
231+
232+
# Issue an update_by_query request that targets effected agents:
233+
curl -XPOST -H 'Authorization: Bearer ${TOKEN}' -H 'x-elastic-product-origin:fleet' -H 'content-type:application/json' "https://${ELASTICSEARCH_HOST}/.fleet-agents/_update_by_query" -d '{"query": {"bool": {"must": [{ "exists": { "field": "unenrolled_at" } }],"must_not": [{ "term": { "active": "false" } }]}},"script": {"source": "ctx._source.unenrolled_at = null;","lang": "painless"}}'
234+
----
235+
====
236+
157237
[discrete]
158238
[[new-features-8.16.0]]
159239
=== New features
@@ -172,7 +252,7 @@ The 8.16.0 release Added the following new and notable features.
172252

173253
{fleet-server}::
174254
* Add `/api/fleet/agents/:id/audit/unenroll` API that an {agent} or Endpoint process may use to report that an agent was uninstalled or unenrolled to {fleet}. {fleet-server-pull}3818[#3818] {agent-issue}484[#484]
175-
* Add a `secret_paths` attribute to the policy data sent to agents. This attribute is a list of keys that {fleet-server} has replaced with a reference to a secret value. {fleet-server-pull}3908[#3908] {fleet-server-issue}3657[#3657]
255+
* Add a `secret_paths` attribute to the policy data sent to agents. This attribute is a list of keys that {fleet-server} has replaced with a reference to a secret value. {fleet-server-pull}3908[#3908] {fleet-server-issue}3657[#3657]
176256

177257
{agent}::
178258
* Uninstalling a {fleet}-managed {agent} instance will now do a best-effort attempt to notify {fleet-server} of the agent removal so the agent status appears correctly in the {fleet} UI (related to {fleet-server-pull}3818[#3818] above). {agent-pull}5302[#5302] {agent-issue}484[#484]

0 commit comments

Comments
 (0)