I've just update a cluster from 7.17 to 8.0.0 and the Fleet app in Kibana doesn't work anymore.
I'm running OnPrem on Linux/aarch64.
Is this a known issue?
Logs below:
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-11T11:34:08.907+01:00","message":"There is already an integration policy with the same name","log":{"level":"ERROR","logger":"plugins.fleet"},"process":{"pid":3542038}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-11T11:34:09.211+01:00","message":"Fleet setup failed","log":{"level":"WARN","logger":"plugins.fleet"},"process":{"pid":3542038}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-11T11:34:09.212+01:00","message":"elasticsearch not found","error":{"message":"elasticsearch not found","type":"PackageNotFoundError","stack_trace":"PackageNotFoundError: elasticsearch not found\n at Object.fetchFindLatestPackage (/usr/share/kibana/x-pack/plugins/fleet/server/services/epm/registry/index.js:86:11)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async Promise.all (index 1)\n at getPackageInfo (/usr/share/kibana/x-pack/plugins/fleet/server/services/epm/packages/get.js:167:40)\n at upgradeManagedPackagePolicies (/usr/share/kibana/x-pack/plugins/fleet/server/services/managed_package_policies.js:41:25)\n at ensurePreconfiguredPackagesAndPolicies (/usr/share/kibana/x-pack/plugins/fleet/server/services/preconfiguration.js:339:39)\n at createSetupSideEffects (/usr/share/kibana/x-pack/plugins/fleet/server/services/setup.js:88:7)\n at awaitIfPending (/usr/share/kibana/x-pack/plugins/fleet/server/services/setup_utils.js:38:20)\n at /usr/share/kibana/x-pack/plugins/fleet/server/plugin.js:243:9"},"log":{"level":"WARN","logger":"plugins.fleet"},"process":{"pid":3542038}}
I am having the same problem but with docker integration.
It seems that some integrations are not yet ready for 8.0.0, and Kibana just can't setup Fleet server! Any way to uninstall non-updated integrations?
Logs:
[2022-02-11T18:06:22.508+00:00][INFO ][plugins.fleet] Beginning fleet setup
[2022-02-11T18:06:25.724+00:00][ERROR][plugins.fleet] docker not found
Resolved it by finding out the Packages ID's for Elasticsearch, Logstash and Kibana... the ones at fault and then deleting them, checking if they existed in other policies by checking the stat to be 100% sure those integrations were deleted.
Always seems to be the case with new releases, seen this happen too often, an integration or build for a particular platform architecture coming days or weeks after, which break an previously working environment.
Thanks for being such early adopters of the 8.0 major version!
We did have an issue with some packages not being released in time, and I want to give an update here for clarity:
The docker package was not released for 8.0 until late on Friday, Feb 11. If you were seeing errors like docker not found try again and things should be working now.
Some other packages have not been released for 8.0 and this is intentional. Some were deprecated or still experimental and we decided to not yet release those. Examples are cyberark, microsoft (been replaced by more discrete packages), elasticsearch and logstash. To get around the issue with these packages you'd need to use our API (see zx8086's post) to delete any package policies that reference them and then delete the package. Alternatively, we're working on a fix that we'll try to get into a patch release here shortly.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.