-
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
"failed to rotate backups" error after running agent enroll command. #24173
Comments
@manishgupta-qasource Please review. |
Pinging @elastic/agent (Team:Agent) |
Reviewed & assigned to @EricDavisX |
If nothing else is noted initially with Agent usage as seeming broken, and if the Agent team can confirm any log roll-over functionality is ok, then we can consider the priority a lower than 'high'. If we are not rolling over logs it is indeed a desired fix for 7.12. @michalpristas do you have ideas? |
@ph fyi, thanks. |
there were recent changes with regards to enroll order, and start up. this is likely related. after inspecting we think logs are rolling over ok (after this start up error) and so it is lower priority. we can scope it for later if have urgent projects / bugs right now. |
identified the place where the issue is coming from, related to Enroll change. at the time of installation we start installation process from
once i would say impact is not that high for this but needs to be addressed. we need to reduce number of agent processes here so they wont collide. another approach would be to use stdErr logger instead, we can redirect stdOut/Err from i think i would like std-redirects more but i would like to hear your opinion as well cc @blakerouse @ph @ruflin |
Thanks for the research, that is very detailed and helpful! @ph and @michalpristas I would be in favor of pushing it to 7.13 dev, if it doesn't really impact Agent execution to keep changes in 7.12 down to those really warranted. Open to your decision here. |
Agree on the proposition @EricDavisX, I have added it to the 7.13 iteration. |
@michalpristas I think the |
When the 7.12 backport PR is merged we can test it out there - it did not make BC4 fyi |
Hi @EricDavisX Thanks for the confirmation on above. we will validate above in next coming BC's to follow up on the above reported. Thanks |
@dikshachauhan-qasource can you install the 7.13 snapshot stack (self-managed or in cloud-staging) and test this out there? If Agent installs ok and logs seem ok, that is enough for now. I don't think we have to wait to see logs rotated to feel good that the change is working, the lack of error message in the logs will be enough. I'm going to chat with team about pushing the 7.12 PR in, it has a failing 'Go' PR check. |
Hi @EricDavisX, Thanks for the update. Further, we have validate above on 7.13 snapshot build and didnot found it reproducible there. Hence working fine on 7.13 snapshot. Observations:
Build details:
Thanks |
Hi @EricDavisX Screenshot: Build details:
Thanks |
Kibana version: 7.12.0 Snapshot Kibana Cloud environment
Host OS and Browser version: Windows 10, All
Preconditions:
Build Details:
Steps to reproduce:
Expected Result:
Agent should be installed without any errors.
Screenshots:
Note:
No impact on Agent working is observed.
The text was updated successfully, but these errors were encountered: