-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: endpoint is installed by default and cannot be removed #105985
Comments
Pinging @elastic/fleet (Team:Fleet) |
I believe the spec is such that the Endpoint package cannot be uninstalled once it is installed, but it should not be installed by default. I think something is installing it (if you are using Endpoint, then that would explain it, of course). @cavokz Dom, hi - can you expand on the setup for the problem here? I am also unsure of what the following kibana setting does: agentIdVerificationEnabled
I believe Dom is out on vacation, but @MadameSheema Glo knows the Cypress tests and can maybe speak to any questions we have. |
Pinging @elastic/security-solution (Team: SecuritySolution) |
Hi @jonathan-buttner @kevinlog, can you help triaging this as this was trigged on visiting the Security app? I wonder if this has anything to do with the fact that the Security app attempts to upgrade the endpoint package on load? |
I unassigned myself because this looks like a purely server side issue. @kevinlog let me know if you disagree. |
It's expected that the Endpoint package cannot be uninstalled after it's installed. The package will be installed automatically if the user visits the Security app or adds the Endpoint integration in Fleet. Since you visited the Alerts tab, I would expect that the package is installed. The error you're seeing regarding the alerts index is also a known issue right now until you generate alerts with the Endpoint. @peluja1012 @spong could speak more to that. Let us know if we can close this as a duplicate to some other related issue. In addition, beyond those logs, are there any other errors in the UI? Does anything in the app become unusable? |
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
I came across this issue today as well. In my case, I was initializing my local dev. environment (so fresh ES + kibana just started). My Browser was already displaying the Endpoint page from Security Solution (from earlier in the day). Soon after Kibana started, I refreshed that browser page (never visited Fleet section of the UI) and that's when I noticed the error come out on the Kibana log. In discussing with @kevinlog and @pzl, perhaps the issue here is that the check that Security Solution page does, anytime the app is loaded in the browser, to ensure the latest Endpoint Package is installed, might have been triggered prior to the Fleet setup being done. Will need to look into that further. |
@EricDavisX @kevinlog These errors show up as part of automated tests. The tests would pass if only a post test step would not grep for errors in the logs. Therefore as far as I can see the application works good enough. |
Does the endpoint app call the fleet setup API? I think it's required to do that call before being able to upgrade a package |
No, the endpoint app only calls the package upgrade api. We have this code https://github.com/elastic/kibana/blob/master/x-pack/plugins/security_solution/public/app/home/setup.tsx#L37 but I don't think it's referenced anywhere. |
@paul-tavares can you check with @jonathan-buttner about how critical this is ahead of FF? We should address the errors, but I want to know if we see any critical setup issues. |
Thanks @jonathan-buttner for that. |
Bug Conversion
Thanks! |
Kibana version:
Elasticsearch version:
Server OS version:
Browser version:
Browser OS version:
Original install method (e.g. download page, yum, from source, etc.):
Describe the bug:
Steps to reproduce:
app/security/alerts
Expected behavior:
Potential solution:
Additional context:
xpack.fleet.agentIdVerificationEnabled: false
in kibana.yml makes these errors go awayThe text was updated successfully, but these errors were encountered: