Skip to content

Commit 73d88fc

Browse files
michel-latermanmergify[bot]
authored andcommitted
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)
1 parent 3b085ba commit 73d88fc

File tree

2 files changed

+112
-4
lines changed

2 files changed

+112
-4
lines changed

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

+82-2
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]

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

+30-2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,34 @@ impact to your application.
3939
{agent}::
4040
* {agent} is now compiled using Debian 11 and linked against glibc 2.31 instead of 2.19. Drops support for Debian 10. {agent-pull}5847[#5847]
4141

42+
[discrete]
43+
[[known-issues-8.17.0]]
44+
=== Known Issues
45+
46+
[discrete]
47+
[[known-issue-6213-8-17-0]]
48+
.An {agent} with the Defend integration may report an Orphaned status and will not be able to be issued an upgrade action through {fleet}.
49+
[%collapsible]
50+
====
51+
*Details* +
52+
A known issue in the {agent} may prevent it from being targetted with an upgrade action for a future release.
53+
This may occur if the Defend integration is used and the agent is stopped on a running instance for too long.
54+
An agent may be stopped as part of an upgrade process.
55+
56+
*Impact* +
57+
A bug fix is present in the 8.17.1 release of {fleet} that will prevent this from occuring.
58+
59+
If you have agents that are affected, the workaround is as follows:
60+
[source,shell]
61+
----
62+
# Get a Token to issue an update_by_query request:
63+
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"
64+
65+
# Issue an update_by_query request that targets effected agents:
66+
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"}}'
67+
----
68+
====
69+
4270
[discrete]
4371
[[new-features-8.17.0]]
4472
=== New features
@@ -50,7 +78,7 @@ The 8.17.0 release Added the following new and notable features.
5078

5179
{agent}::
5280
* Add support for running as a pre-existing user when installing in unprivileged mode, with technical preview support for pre-existing Windows Active Directory users. {agent-pull}5988[#5988] {agent-issue}4585[#4585]
53-
* Add a new custom link:https://github.com/elastic/integrations/tree/main/packages/filestream[Filestream logs integration]. This will enable migration from the custom log integration which is based on a log input that is planned for deprecation. https://github.com/elastic/integrations/pull/11332[#11332].
81+
* Add a new custom link:https://github.com/elastic/integrations/tree/main/packages/filestream[Filestream logs integration]. This will enable migration from the custom log integration which is based on a log input that is planned for deprecation. https://github.com/elastic/integrations/pull/11332[#11332].
5482

5583
[discrete]
5684
[[enhancements-8.17.0]]
@@ -67,7 +95,7 @@ The 8.17.0 release Added the following new and notable features.
6795
* Enable persistence in the configuration provided with our OTel Collector distribution. {agent-pull}5549[#5549]
6896
* Restrict using the CLI to upgrade for {fleet}-managed {agents}. {agent-pull}5864[#5864] {agent-issue}4890[#4890]
6997
* Add `os_family`, `os_platform` and `os_version` to the {agent} host provider, enabling differentiating Linux distributions. This is required to support Debian 12 and other distributions that are moving away from traditional log files in favour of Journald. {agent-pull}5941[#5941] https://github.com/elastic/integrations/issues/10797[10797] https://github.com/elastic/integrations/pull/11618[11618]
70-
* Emit Pod data only for Pods that are running in the Kubernetes provider. {agent-pull}6011[#6011] {agent-issue}5835[#5835] {agent-issue}5991[#5991]
98+
* Emit Pod data only for Pods that are running in the Kubernetes provider. {agent-pull}6011[#6011] {agent-issue}5835[#5835] {agent-issue}5991[#5991]
7199
* Remove {endpoint-sec} from Linux container images. {endpoint-sec} cannot run in containers since it has a systemd dependency. {agent-pull}6016[#6016] {agent-issue}5495[#5495]
72100
* Update OTel components to v0.114.0. {agent-pull}6113[#6113]
73101
* Redact common secrets like API keys and passwords in the output from `elastic-agent inspect` command. {agent-pull}6224[#6224]

0 commit comments

Comments
 (0)