Skip to content

Commit 26b645b

Browse files
Add known issue for Elastic Agent failing to enroll into Fleet (#1801)
* Add known issue for Elastic Agent failing to enroll into Fleet --------- Co-authored-by: Colleen McGinnis <[email protected]>
1 parent 1177439 commit 26b645b

File tree

2 files changed

+277
-10
lines changed

2 files changed

+277
-10
lines changed

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

Lines changed: 193 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
This section summarizes the changes in each release.
1616

17+
* <<release-notes-8.17.7>>
1718
* <<release-notes-8.17.6>>
1819
* <<release-notes-8.17.5>>
1920
* <<release-notes-8.17.4>>
@@ -40,6 +41,34 @@ Review important information about the 8.17.7 release.
4041

4142
* Upgrade Go version to v1.24.3 in {{agent}}. {agent-pull}8109[https://github.com/elastic/elastic-agent/pull/8109]
4243

44+
[discrete]
45+
[[known-issues-8.17.7]]
46+
=== Known issues
47+
48+
[[known-issue-1800-8-17-7]]
49+
.On Windows, {agent} is unable to re-enroll into {fleet}
50+
[%collapsible]
51+
====
52+
53+
*Details* +
54+
There is a known issue where an {agent} installed on Windows and previously enrolled into {fleet} is unable to re-enroll. Attempting to enroll the {agent} fails with the following error:
55+
56+
[source,shell]
57+
----
58+
Error: the command is executed as root but the program files are not owned by the root user.
59+
----
60+
61+
*Impact* +
62+
The issue affects {agent} installed on Windows. Until a bug fix is available in a later release, you can temporarily resolve the issue by changing the ownership of the {agent} directory:
63+
64+
[source,shell]
65+
----
66+
icacls "C:\Program Files\Elastic\Agent" /setowner "NT AUTHORITY\SYSTEM" /t /l
67+
----
68+
69+
After the output confirms all files were successfully processed, run the `enroll` command again.
70+
71+
====
4372

4473
[discrete]
4574
[[bug-fixes-8.17.7]]
@@ -56,6 +85,35 @@ Review important information about the 8.17.7 release.
5685

5786
Review important information about the 8.17.6 release.
5887

88+
[discrete]
89+
[[known-issues-8.17.6]]
90+
=== Known issues
91+
92+
[[known-issue-1800-8-17-6]]
93+
.On Windows, {agent} is unable to re-enroll into {fleet}
94+
[%collapsible]
95+
====
96+
97+
*Details* +
98+
There is a known issue where an {agent} installed on Windows and previously enrolled into {fleet} is unable to re-enroll. Attempting to enroll the {agent} fails with the following error:
99+
100+
[source,shell]
101+
----
102+
Error: the command is executed as root but the program files are not owned by the root user.
103+
----
104+
105+
*Impact* +
106+
The issue affects {agent} installed on Windows. Until a bug fix is available in a later release, you can temporarily resolve the issue by changing the ownership of the {agent} directory:
107+
108+
[source,shell]
109+
----
110+
icacls "C:\Program Files\Elastic\Agent" /setowner "NT AUTHORITY\SYSTEM" /t /l
111+
----
112+
113+
After the output confirms all files were successfully processed, run the `enroll` command again.
114+
115+
====
116+
59117
[discrete]
60118
[[enhancements-8.17.6]]
61119
=== Enhancements
@@ -65,16 +123,42 @@ Review important information about the 8.17.6 release.
65123

66124
// end 8.17.6 relnotes
67125

68-
69-
70-
71126
// begin 8.17.5 relnotes
72127

73128
[[release-notes-8.17.5]]
74129
== {fleet} and {agent} 8.17.5
75130

76131
Review important information about the 8.17.5 release.
77132

133+
[discrete]
134+
[[known-issues-8.17.5]]
135+
=== Known issues
136+
137+
[[known-issue-1800-8-17-5]]
138+
.On Windows, {agent} is unable to re-enroll into {fleet}
139+
[%collapsible]
140+
====
141+
142+
*Details* +
143+
There is a known issue where an {agent} installed on Windows and previously enrolled into {fleet} is unable to re-enroll. Attempting to enroll the {agent} fails with the following error:
144+
145+
[source,shell]
146+
----
147+
Error: the command is executed as root but the program files are not owned by the root user.
148+
----
149+
150+
*Impact* +
151+
The issue affects {agent} installed on Windows. Until a bug fix is available in a later release, you can temporarily resolve the issue by changing the ownership of the {agent} directory:
152+
153+
[source,shell]
154+
----
155+
icacls "C:\Program Files\Elastic\Agent" /setowner "NT AUTHORITY\SYSTEM" /t /l
156+
----
157+
158+
After the output confirms all files were successfully processed, run the `enroll` command again.
159+
160+
====
161+
78162
[discrete]
79163
[[enhancements-8.17.5]]
80164
=== Enhancements
@@ -102,8 +186,6 @@ Review important information about the 8.17.5 release.
102186

103187
// end 8.17.5 relnotes
104188

105-
106-
107189
// begin 8.17.4 relnotes
108190

109191
[[release-notes-8.17.4]]
@@ -138,6 +220,31 @@ In the 9.x releases, the option that appears in the UI for an upgrade across a m
138220
139221
====
140222

223+
[[known-issue-1800-8-17-4]]
224+
.On Windows, {agent} is unable to re-enroll into {fleet}
225+
[%collapsible]
226+
====
227+
228+
*Details* +
229+
There is a known issue where an {agent} installed on Windows and previously enrolled into {fleet} is unable to re-enroll. Attempting to enroll the {agent} fails with the following error:
230+
231+
[source,shell]
232+
----
233+
Error: the command is executed as root but the program files are not owned by the root user.
234+
----
235+
236+
*Impact* +
237+
The issue affects {agent} installed on Windows. Until a bug fix is available in a later release, you can temporarily resolve the issue by changing the ownership of the {agent} directory:
238+
239+
[source,shell]
240+
----
241+
icacls "C:\Program Files\Elastic\Agent" /setowner "NT AUTHORITY\SYSTEM" /t /l
242+
----
243+
244+
After the output confirms all files were successfully processed, run the `enroll` command again.
245+
246+
====
247+
141248
[discrete]
142249
[[new-features-8.17.4]]
143250
=== New features
@@ -209,6 +316,31 @@ In the 9.x releases, the option that appears in the UI for an upgrade across a m
209316
210317
====
211318

319+
[[known-issue-1800-8-17-3]]
320+
.On Windows, {agent} is unable to re-enroll into {fleet}
321+
[%collapsible]
322+
====
323+
324+
*Details* +
325+
There is a known issue where an {agent} installed on Windows and previously enrolled into {fleet} is unable to re-enroll. Attempting to enroll the {agent} fails with the following error:
326+
327+
[source,shell]
328+
----
329+
Error: the command is executed as root but the program files are not owned by the root user.
330+
----
331+
332+
*Impact* +
333+
The issue affects {agent} installed on Windows. Until a bug fix is available in a later release, you can temporarily resolve the issue by changing the ownership of the {agent} directory:
334+
335+
[source,shell]
336+
----
337+
icacls "C:\Program Files\Elastic\Agent" /setowner "NT AUTHORITY\SYSTEM" /t /l
338+
----
339+
340+
After the output confirms all files were successfully processed, run the `enroll` command again.
341+
342+
====
343+
212344
[discrete]
213345
[[enhancements-8.17.3]]
214346
=== Enhancements
@@ -240,6 +372,34 @@ Review important information about the {fleet} and {agent} 8.17.2 release.
240372
{fleet-server}::
241373
* Upgrade `golang.org/x/net` to v0.34.0 and `golang.org/x/crypto` to v0.32.0. {fleet-server-pull}4405[#4405]
242374

375+
[discrete]
376+
[[known-issues-8.17.2]]
377+
=== Known issues
378+
379+
[[known-issue-1800-8-17-2]]
380+
.On Windows, {agent} is unable to re-enroll into {fleet}
381+
[%collapsible]
382+
====
383+
384+
*Details* +
385+
There is a known issue where an {agent} installed on Windows and previously enrolled into {fleet} is unable to re-enroll. Attempting to enroll the {agent} fails with the following error:
386+
387+
[source,shell]
388+
----
389+
Error: the command is executed as root but the program files are not owned by the root user.
390+
----
391+
392+
*Impact* +
393+
The issue affects {agent} installed on Windows. Until a bug fix is available in a later release, you can temporarily resolve the issue by changing the ownership of the {agent} directory:
394+
395+
[source,shell]
396+
----
397+
icacls "C:\Program Files\Elastic\Agent" /setowner "NT AUTHORITY\SYSTEM" /t /l
398+
----
399+
400+
After the output confirms all files were successfully processed, run the `enroll` command again.
401+
402+
====
243403

244404
[discrete]
245405
[[enhancements-8.17.2]]
@@ -296,6 +456,31 @@ As a workaround, you can upgrade your deployment to 8.17.1 in which this issue h
296456
297457
====
298458

459+
[[known-issue-1800-8-17-1]]
460+
.On Windows, {agent} is unable to re-enroll into {fleet}
461+
[%collapsible]
462+
====
463+
464+
*Details* +
465+
There is a known issue where an {agent} installed on Windows and previously enrolled into {fleet} is unable to re-enroll. Attempting to enroll the {agent} fails with the following error:
466+
467+
[source,shell]
468+
----
469+
Error: the command is executed as root but the program files are not owned by the root user.
470+
----
471+
472+
*Impact* +
473+
The issue affects {agent} installed on Windows. Until a bug fix is available in a later release, you can temporarily resolve the issue by changing the ownership of the {agent} directory:
474+
475+
[source,shell]
476+
----
477+
icacls "C:\Program Files\Elastic\Agent" /setowner "NT AUTHORITY\SYSTEM" /t /l
478+
----
479+
480+
After the output confirms all files were successfully processed, run the `enroll` command again.
481+
482+
====
483+
299484
[discrete]
300485
[[new-features-8.17.1]]
301486
=== New features
@@ -320,7 +505,7 @@ The 8.17.1 release added the following new and notable features.
320505

321506
{fleet-server}::
322507
* Do not set the `unenrolled_at` attribute when the audit/unenroll API is called. {fleet-server-pull}4221[#4221] {agent-issue}6213[#6213]
323-
* Remove PGP endpoint auth requirement so that air-gapped {agents} can retreive a PGP key from {fleet-server}. {fleet-server-pull}4256[#4256] {fleet-server-issue}4255[#4255]
508+
* Remove PGP endpoint auth requirement so that air-gapped {agents} can retrieve a PGP key from {fleet-server}. {fleet-server-pull}4256[#4256] {fleet-server-issue}4255[#4255]
324509

325510
{agent}::
326511
* During uninstall, call the audit or unenroll API before components are stopped, if {agent} is running a {fleet-server} instance. {agent-pull}6085[#6085] {agent-issue}5752[#5752]
@@ -357,12 +542,12 @@ impact to your application.
357542
[%collapsible]
358543
====
359544
*Details* +
360-
A known issue in the {agent} may prevent it from being targetted with an upgrade action for a future release.
545+
A known issue in the {agent} may prevent it from being targeted with an upgrade action for a future release.
361546
This may occur if the Defend integration is used and the agent is stopped on a running instance for too long.
362547
An agent may be stopped as part of an upgrade process.
363548
364549
*Impact* +
365-
A bug fix is present in the 8.17.1 release of {fleet} that will prevent this from occuring.
550+
A bug fix is present in the 8.17.1 release of {fleet} that will prevent this from occurring.
366551
367552
If you have agents that are affected, the workaround is as follows:
368553
[source,shell]

0 commit comments

Comments
 (0)