-
Notifications
You must be signed in to change notification settings - Fork 131
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
[MAC-12 Agent]: Agent goes to offline state for more than 5 minutes and then gets back healthy when installed with --delay-enroll
#139
Comments
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
@manishgupta-qasource Please review. |
Reviewed & mention to @andresrc CC: @EricDavisX |
@amolnater-qasource Why is this a bug? Because it's offline too much time? What was the time validated before? |
@amolnater-qasource can you further elaborate... on steps 2 and 4/5? I think the --delay-enroll work-flow here is non-standard. Usually that option is used to install an Agent and the vm is shut-down and immediately saved off in that state (Agent has never ran). Then when it reboots the Agent comes alive. Right? For step 2: If you are seeing the Agent come alive before reboot it is a separate bug, I believe, but we should reference the product Docs or NIma's stance if none exist. For step 4/5
I think what you are saying is that the Agent show as Healthy after reboot (briefly) and then goes offline and then comes back after 5 minutes? If so, that timing is 2 minutes longer than a regular install without that option. Yes? Presuming so, I think is confusing but maybe not an impactful bug to worry about fixing just now, so long as Agent works when it comes up fully and so long as Agent works in the above 'golden image' type use case. Would you mind testing that for comparison please? As we confirm the usual 'delay-enroll' spec we can confirm the test cases match - It needs specific steps. Exploratory tests are capable of finding interesting bugs and confusing behavior, but we may not fix them all. Good for the team to be aware and decide after we've confirmed what's going on. I assume this doesn't happen on other Linux or macOS that we've tested with this Stack/Agent version? |
Hi @jlind23 We have revalidated this today with Default policy having only system integration on macOS 11 and macOS 12.
cc: @EricDavisX |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
@amolnater-qasource so the only difference is that on Macos 12 the delay-enroll increase the offline time right? |
Hi @jlind23
Yes, offline time is very high for Thanks |
this was deemed 'medium' impact and does not prevent usage, so it will not prevent us from citing 'support' of macOS 12 / M1 silicon environments. @nimarezainia @jlind23 confirming. I'm sending a wrap up email on macOS 12 support shortly |
adding @AndersonQ for information as he will take care of the M1 development. |
Hi @jlind23
Build details: Hence we are closing this issue. |
Kibana version: 7.16.0 BC-3 Kibana Cloud environment
Host OS and Browser version: MAC, All
Build details:
Preconditions:
Steps to reproduce:
--delay-enroll
flag.Healthy
on Fleet UI after reboot.Offline
state for more than 5 minutes and then gets back to Healthy state.Expected Result:
Agent should not go to offline state for more than 5 minutes when installed with
--delay-enroll
.Note:
The text was updated successfully, but these errors were encountered: