-
Notifications
You must be signed in to change notification settings - Fork 82
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]: Fleet Server stuck in updating state after installation. #1934
Comments
Secondary Review is done. |
There are no agent logs in the attached diagnostics. @joshdover where do we need to look to find the fleet server logs associated with this? |
Hi @cmacknz Elastic-agent log: Please let us know if anything else is required from our end. |
I don't think this is a Fleet Server problem, the logs for FS look normal to me. There are a couple other interesting things in the logs. It looks like the agent is in a bootloop due to this error:
There's 8 elastic-agent log files and all of them have the exact same contents, right down to the timestamps in milliseconds, this seems like a bug of sorts. The agent policy is empty in the diagnostic, but I think that's due to the agent not checking in with Fleet Server (itself) yet. There's this error generated while capturing the diag itself:
|
Thanks having logs definitely helps. This errors seems to be coming from here in the agent. It looks like the directory it is trying to create is empty // Prepare executes steps in order for monitoring to work correctly
func (b *SidecarMonitor) Prepare(spec program.Spec, pipelineID string, uid, gid int) error {
endpoint := MonitoringEndpoint(spec, b.operatingSystem, pipelineID, true)
drop := monitoringDrop(endpoint)
if err := os.MkdirAll(drop, 0775); err != nil {
return errors.New(err, fmt.Sprintf("failed to create a directory %q", drop))
} @michalpristas any idea what is going on here? |
This was fixed but fix did not make it to BC2 Fix PR: elastic/elastic-agent#1371 |
Closing as fixed by elastic/elastic-agent#1372 |
Hi Team
Build Details: Screenshot: |
Kibana version: 8.4.3 BC2 Kibana Cloud environment
Host OS and Browser version: Windows
Build details:
VERSION: 8.4.3 BC2
Build: 55572
Commit: 1ceb607762eaafa726c61d6eee5b95359142d4c4
Preconditions:
Steps to reproduce:
https//10.10.10.10:8220
Expected Result:
Fleet Server should not stuck in updating state after installation and should be healthy.
Screenshot:
Elastic-agent logs:
elastic-agent-diagnostics-2022-09-29T11-31-36Z-00.zip
The text was updated successfully, but these errors were encountered: