From 426a9dafcc9d58a4abbf89c1d61cc63b0ae19744 Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Mon, 18 Nov 2024 16:31:27 -0500 Subject: [PATCH 1/7] Add known issue for 'no agent found' --- .../release-notes/release-notes-8.16.asciidoc | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc index 0bf7228f9..18c28d5e0 100644 --- a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc +++ b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc @@ -46,6 +46,27 @@ impact to your application. {agent}:: * When using the System integration, uppercase characters in the `host.hostname` are being converted to lowercase in {agent} output. This can possibly result in duplicated host entries appearing in {kib}. {beats-issue}39993[#3993] +[discrete] +[[known-issues-8.16.0]] +=== Known issues + +[[known-issue-191661]] +.{fleet} UI listing shows "No agent found" +[%collapsible] +==== + +*Details* + +In the {fleet} UI in {kib}, the listing {agents} might show "No agent found" with a toast message "Error fetching agents" or "Agent policy ... not found". + +This error can happen if the {agents} being searched and listed in the UI are using an {agent} policy which doesn't exist. + +*Impact* + + +To resolve this issue, upgrade your {stack} to verion 8.16.1 in which the problem is fixed. + +==== + [discrete] [[new-features-8.16.0]] === New features From 8050bf17be825c33639bbf0e5a7e253294b1f127 Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Mon, 18 Nov 2024 17:06:38 -0500 Subject: [PATCH 2/7] add agent uninstall issue --- .../release-notes/release-notes-8.16.asciidoc | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc index 18c28d5e0..96ed890bf 100644 --- a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc +++ b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc @@ -67,6 +67,52 @@ To resolve this issue, upgrade your {stack} to verion 8.16.1 in which the proble ==== +[[known-issue-5952]] +.{agent} throws exception when uninstalling on Windows +[%collapsible] +==== + +*Details* + +{agent} sometimes throws an exception when uninstalling on Microsoft Windows systems. + +For example: + +[source,shell] +---- +C:\>"C:\Program Files\Elastic\Agent\elastic-agent.exe" uninstall +Elastic Agent will be uninstalled from your system at C:\Program Files\Elastic\Agent. Do you want to continue? [Y/n]:y +[====] Attempting to notify Fleet of uninstall [37s] unexpected fault address 0x18000473ef1 +fatal error: fault +[signal 0xc0000005 code=0x1 addr=0x18000473ef1 pc=0x9f3004] + +goroutine 1 gp=0xc00007c000 m=5 mp=0xc000116008 [running]: +runtime.throw({0x207a4ba?, 0xa2d986?}) + runtime/panic.go:1023 +0x65 fp=0xc000067588 sp=0xc000067558 pc=0xcf8c5 +runtime.sigpanic() + runtime/signal_windows.go:414 +0xd0 fp=0xc0000675d0 sp=0xc000067588 pc=0xe6a10 +(...) + github.com/elastic/elastic-agent/internal/pkg/agent/errors/generators.go:23 +github.com/elastic/elastic-agent/internal/pkg/fleetapi.(*AuditUnenrollCmd).Execute(0xc00073f998, {0x4, 0x23cf148}, 0x0) + github.com/elastic/elastic-agent/internal/pkg/fleetapi/audit_unenroll_cmd.go:74 +0x324 fp=0xc000067738 sp=0xc0000675d0 pc=0x9f3004 +runtime: g 1: unexpected return pc for github.com/elastic/elastic-agent/internal/pkg/fleetapi.(*AuditUnenrollCmd).Execute called from 0xc0006817a0 +stack: frame={sp:0xc0000675d0, fp:0xc000067738} stack=[0xc000064000,0xc000068000) +0x000000c0000674d0: 0x000000c000067508 0x00000000000d14af +0x000000c0000674e0: 0x00000000023c9c90 0x0000000000000001 +0x000000c0000674f0: 0x0000000000000001 0x000000c00006756b +(...) +---- + +For other examples, refer to {agent} link:https://github.com/elastic/elastic-agent/issues/5952#issuecomment-2475044465[issue #5952]. + +This problem occurs when {agent} notifies {fleet} to audit the uninstall process. + +*Impact* + + +TBD + +==== + [discrete] [[new-features-8.16.0]] === New features From d9fbbf48cd3d5d2fdde49968dcb011c004184f12 Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Tue, 19 Nov 2024 10:33:42 -0500 Subject: [PATCH 3/7] Fixup --- .../release-notes/release-notes-8.16.asciidoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc index 96ed890bf..0e82f6f45 100644 --- a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc +++ b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc @@ -63,7 +63,7 @@ This error can happen if the {agents} being searched and listed in the UI are us *Impact* + -To resolve this issue, upgrade your {stack} to verion 8.16.1 in which the problem is fixed. +As a workaround for the issue, you can upgrade your {stack} to verion 8.16.1. The issue has been resolved by {kibana} link:https://github.com/elastic/kibana/pull/199325[#199325]. ==== @@ -109,7 +109,12 @@ This problem occurs when {agent} notifies {fleet} to audit the uninstall process *Impact* + -TBD +This issue prevents {agent} from being uninstalled on Windows systems. + +As a workaround you can... + +//* Upgrade your {stack}? +//* Force uninstall the agent using a command? ==== From cfaf90e9a67e48a512b1182f2f4139401dbff6ae Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Tue, 19 Nov 2024 10:47:49 -0500 Subject: [PATCH 4/7] Add 'Fleet-managed' to second issue --- .../ingest-management/release-notes/release-notes-8.16.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc index 0e82f6f45..f62725f6c 100644 --- a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc +++ b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc @@ -74,7 +74,7 @@ As a workaround for the issue, you can upgrade your {stack} to verion 8.16.1. Th *Details* -{agent} sometimes throws an exception when uninstalling on Microsoft Windows systems. +{fleet}-managed {agent} sometimes throws an exception when uninstalling on Microsoft Windows systems. For example: From 530b7b110a19ded3a6bfe323d12a74daeaa895b0 Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Mon, 2 Dec 2024 14:35:36 -0500 Subject: [PATCH 5/7] Indicate that workaround is pending --- .../release-notes/release-notes-8.16.asciidoc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc index f62725f6c..fe34d4c1e 100644 --- a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc +++ b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc @@ -111,10 +111,7 @@ This problem occurs when {agent} notifies {fleet} to audit the uninstall process This issue prevents {agent} from being uninstalled on Windows systems. -As a workaround you can... - -//* Upgrade your {stack}? -//* Force uninstall the agent using a command? +We're currently investigating the issue and will update this page when a workaround becomes available. ==== From 135e6e40d1770899f948e011abbabd10f391b2bd Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Mon, 2 Dec 2024 15:13:24 -0500 Subject: [PATCH 6/7] Update workaround --- .../release-notes/release-notes-8.16.asciidoc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc index fe34d4c1e..3eace344f 100644 --- a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc +++ b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc @@ -109,9 +109,7 @@ This problem occurs when {agent} notifies {fleet} to audit the uninstall process *Impact* + -This issue prevents {agent} from being uninstalled on Windows systems. - -We're currently investigating the issue and will update this page when a workaround becomes available. +As a workaround, we recommend trying again to uninstall the agent. ==== From 79375c388f53dad32e4ab375a78761397306082b Mon Sep 17 00:00:00 2001 From: David Kilfoyle Date: Mon, 2 Dec 2024 15:17:47 -0500 Subject: [PATCH 7/7] fix Kibana attribute --- .../ingest-management/release-notes/release-notes-8.16.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc index 3eace344f..e02c2460d 100644 --- a/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc +++ b/docs/en/ingest-management/release-notes/release-notes-8.16.asciidoc @@ -63,7 +63,7 @@ This error can happen if the {agents} being searched and listed in the UI are us *Impact* + -As a workaround for the issue, you can upgrade your {stack} to verion 8.16.1. The issue has been resolved by {kibana} link:https://github.com/elastic/kibana/pull/199325[#199325]. +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]. ====