Skip to content
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] Agent starts throwing Docker log error every second (seemingly after Endpoint is started) #24610

Closed
EricDavisX opened this issue Mar 17, 2021 · 8 comments
Assignees
Labels
Team:Elastic-Agent Label for the Agent team

Comments

@EricDavisX
Copy link
Contributor

EricDavisX commented Mar 17, 2021

I had a 7.12 BC4 Agent installed on M1 ARM mac Mini and it is working as expected. At some point it starts logging the below line as an error every second and I'm not 100% sure what triggered it. Does anyone know what this line relates (besides general Docker usage) which I am not using in this instance.

agent-docker-events-repeated-every-second.txt

This is using 7.12 BC4 Cloud deploy of stack and 7.12 BC4 macOS artifact to hit the team M1 ARM mac mini for testing. nothing else seems bad - but this will add the logs for sure, would be nice to avoid.

In reviewing the logs, the error starts sometime shortly afte rEndpoint is turned on in the policy, but perhaps that is just coincidental.

I tried turning off Endpoint in policy and the error logging didn't go away, so perhaps that informs that it isn't related to Endpoint.

@EricDavisX EricDavisX added the Team:Elastic-Agent Label for the Agent team label Mar 17, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@EricDavisX
Copy link
Contributor Author

issue came from testing tasks in: #21855

@EricDavisX
Copy link
Contributor Author

@dikshachauhan-qasource can you comment on this when you next test macOS ARM 1 on PH's machine please?

@dikshachauhan-qasource
Copy link

Hi @EricDavisX

We have attempted to install an agent today on mac mini arm 64 machine, however was getting connection timed out error.

image

Could you please check if machine is powered on at our end. After that we can validate above reported issue and confirm on same.

Thanks
QAS

@michalpristas
Copy link
Contributor

this is probably comming from dynamic inputs.
we start docker watcher at the start and check for failure, if we encounter error to connect we skip docker watcher but if connection was ok we proceed with setting up watcher.
this watcher is then generating these event most probably because docker was stopped?

can you confirm docker was not running at the start of the agent

@ph
Copy link
Contributor

ph commented May 5, 2021

Seems the macmini is OOO, let me check that.

@dikshachauhan-qasource
Copy link

Hi @EricDavisX

We have validated this ticket today on cloud-qa build and found it not reproducible. Build details are follows:

Kibana version: 7.13 BC4
BUILD 40749
COMMIT 5a6bad454ffe263aafed54cbd3f764253694bf37
Artifact link: https://staging.elastic.co/7.13.0-5c4bc719/summary-7.13.0.html

Screenshot:
image

Please let me know if anything else is required.

Thanks
QAS

@ph ph closed this as completed May 12, 2021
@ph
Copy link
Contributor

ph commented May 12, 2021

Closing this from last comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

5 participants