-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Agent doesn't uninstall Endpoint when it is uninstalled from the Agent's command line #21870
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
This issue doesn't have a |
I think we need to determine if an uninstall should also perform an unenroll and in that case should we also have an The reason I mention those questions is because if we implement client-side unenroll. We can have the To handle unenroll/uninstall the |
@blakerouse Can you lead that discussion it seems a mix of technical and pm @ruflin @mostlyjason. |
I like the idea of an "unenroll" command on the Agent. |
hi. we discussed in the team weekly meeting and I don't have any concerns now with this knowing the good news that it should work fine to uninstall Endpoint if a user does an ‘unenroll’ via the Fleet ui. The problem only shows when the 'uninstall' command is done via the Agent command line first. |
+1 on an unenroll command on the agent. otherwise, we leave a bunch of junk on the fleet page that users have to force unenroll. I think its lower priority because the UI works, but would still be nice to clean up on uninstall. |
FYI - I am seeing that if you uninstall from the Agent on the host first, and then uninstall the Endpoint, you don't get any feedback that it didn't work immediately. And the current state can block the user from doing subsequent re-installs of Agent (like if they want to start over for some reason). Dan mentions you can do this to uninstall Endpoint once in this state:
I think the situation is a little messy, and is something we'll run into with more usage for sure. I'm going to bump it to 'high' priority. But even as i encounter it now, I think the design change / discussion is too impactful for 7.11 so I'm bumping to 7.12. I have pinged Dan / PH / Blake in chat. |
I am finishing up testing on this and can cite I was tripped up by the Agent 'upgrade' watcher process hanging around and being protected by Endpoint (new in 7.11+) and it all combined to leave me in a bad state. but it actually is likely not a common scenario - and after avoiding that (by waiting 10 minutes for upgrade 'watcher' to close out) then this work-around worked just fine. And Agent could be deleted / removed too, so it was not a problem. putting this back to the normal urgency we had on this. It remains a feature we need to design and one that may not be prioritized high unless the work-around is bad, which isn't the case as I had thought it was |
can this be priorized for 7.13? |
@michalpristas Can add an e2e for this? |
looks like it is in PR for 7.13 / 8.0 - woo! we'll test it as soon as the 7.12 cycle relaxes. nice! |
@EricDavisX was this verified as fixed and can this issue be closed |
Hi @EricDavisX We have validated this issue on 8.0 build and found fixed for Mac and Linux agents with Endpoint.
We are blocked to validate same on Windows due to defect elastic/kibana#93910. Thanks |
We have seen Windows working and testable, apart from the noted issue above - if you are seeing it we should follow through to see if we can resolve it sooner as opposed to later. We can add it to the urgent-issues list. |
Hi @EricDavisX All agents were installed with policy having System and Endpoint Security.
Please let us know if anything else is required from our end. Thanks |
Hello... My FireEye license has expired. And I was not able to uninstall the agents from my dashboard. Now I cannot login the portal... I can do a manual uninstallation on the machines, but my problem is all of those are under on Production.... Is there a Major Impact if I just leave the agent installed on the nodes?.. I cant do a reboot after uninstallation of the agents... |
I was using 7.10.0 BC2 and I ran the following commands. They show that Endpoint was not uninstalled when Agent was uninstalled. Agent installed Endpoint because of I had an Endpoint Security integration enabled. I tested this on Linux (Ubuntu 18.04 x86_64), I didn't try other OSes.
I was manually able to uninstall Endpoint after uninstall Agentt so I don't think that Endpoint refused to uninstall when Agent tried.
The text was updated successfully, but these errors were encountered: