-
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
[Fleet] Info popup for installing fleet server shows up even when fleet server is available #99574
Comments
Pinging @elastic/fleet (Team:Fleet) |
@mukeshelastic (cc @hbharding) We tried to avoid too much variation of the text here as In cloud
Should we remove On premise
Also the modal is show until you click on the do not "show the message again". |
Inactive agents (agents that are unenrolled) never disappear from the UI, we could eventually add a delete action that will permanently delete the record for cleanup purpose. |
Sounds good on the inactive agents part. But I'd expect us to not show up the message to install fleet-server when it is installed. And only tell users repeatedly that they'd need to re-enroll agents. @mostlyjason I'd consider changing this message based on that logic important for 7.13. Let me know if you think otherwise. |
Thanks for catching this @mukeshelastic! The original issue called for a title saying "Enroll your agents into Fleet Server" #95445. However, this changed in the Figma design. CC @hbharding. +1 on hiding it after the user enrolls an agent other than the fleet server. |
@dikshachauhan-qasource @amolnater-qasource can you please review this and the relating PR and adjust tests as needed when it is merged for 7.13 |
Just read some more and it sounds this was done to reduce the number of variations. A significant percentage of deployments do not have APM yet so they will need to add one. @nchaulet could we change the text for cloud deployments based on whether a fleet server is enrolled or not? This will allow us to provide more specific instructions. If they do have Fleet Server it should say:
If they don't have Fleet server it should say:
|
I think changing the title make sense for both case with Fleet Server setup or not We could add a new text variation, but this means more condition, more information to fetch, more surface to have bugs |
That is a tough tradeoff. We originally wanted this modal to be simple because we didn't want to invest a lot in the migration. How about this for a single variation on Cloud?
|
Good stuff @mostlyjason Why do we need to say you must use fleet server? Can we just say "To continue using Fleet, you must re-enroll the new version of Elastic Agent on each host" This requires the availability of fleet server so we don't need to necessarily call that explicitely. |
@mukeshelastic it used to say that Fleet server is required in the title, but we removed that. Saying that its required provides an explanation for why their agents have been unenrolled. If it were optional, they may expect their agents to continue running as before. I figured it'd be good to be explicit. |
Fleet server is an implementation detail to users unless it doesn't exist. When it exists, we just tell them to re-enroll the agents and hopefully the documentation link shows them how, just in case it isn't clear to them. |
Description of the problem including expected versus actual behavior:
The info popup shown below always appears until user checks do not show this again. The title of the pop up is you must install fleet-server, which on cloud is always installed unless user explcitely removes apm. I can see that in my case it was installed and I can see the elastic agent installed with elastic-cloud policy. The info message tells users that the existing agents are unenrolled and you'd need to re-enroll them, which is great. Unfortunately even after I re-enroll the agents, the message continues to stay there. Also the automatically un-enrolled agents continue to appear as inactive and there isn't a way to remove them from fleet UI.
Expected behavior:
Steps to reproduce:
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Describe the feature:
The text was updated successfully, but these errors were encountered: