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

[Fleet]: Multiple logs: [elastic_agent][info] got checkin with pid 0 are generated for installed agent. #4974

Closed
amolnater-qasource opened this issue Jun 21, 2024 · 6 comments · Fixed by #4986
Assignees
Labels
bug Something isn't working impact:low Long-term priority, unless it's a quick fix. QA:Validated Validated by the QA Team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@amolnater-qasource
Copy link

Kibana Build details:

VERSION: 8.15.0 SNAPSHOT
BUILD: 73762
COMMIT: 2a492e1625f24336f3259b2b8df62b2b18127e81

Artifact Link: https://staging.elastic.co/8.14.0-7c638435/downloads/beats/elastic-agent/elastic-agent-8.14.0-darwin-aarch64.tar.gz

Preconditions:

  1. 8.15.0-SNAPSHOT Kibana cloud environment should be available.
  2. Linux agent should be installed.

Steps to reproduce:

  1. Navigate to Fleet>Agents> Logs tab.
  2. Observe multiple logs: [elastic_agent][info] got checkin with pid 0 are generated.

Expected Result:
Multiple logs: [elastic_agent][info] got checkin with pid 0 should not be generated for installed agent.

Logs:
elastic-agent-diagnostics-2024-06-21T06-21-13Z-00.zip

Screen Recording:

ip-172-31-80-23.-.Agents.-.Fleet.-.Elastic.-.Google.Chrome.2024-06-21.11-54-43.mp4
@amolnater-qasource amolnater-qasource added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team impact:low Long-term priority, unless it's a quick fix. labels Jun 21, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@amolnater-qasource
Copy link
Author

@manishgupta-qasource Please review.

@manishgupta-qasource
Copy link

Secondary review for this ticket is Done

@pierrehilbert
Copy link
Contributor

@fearful-symmetry this is coming from your change here: https://github.com/elastic/elastic-agent/pull/4789/files#diff-4e32865414ba3059d62335e030cac16c6c68a01134ce4ef03076e75da18b5fa9

Could you please fix it? We shouldn't spam that many logs especially in info level.

@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Jun 21, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@amolnater-qasource
Copy link
Author

Hi Team,

We have revalidated this issue on latest 8.15.0 BC2 kibana cloud environment and found it fixed now.

Observations:

  • No spamming logs: [elastic_agent][info] got checkin with pid 0 are generated for installed agent.

Logs:
elastic-agent-diagnostics-2024-07-18T11-11-54Z-00.zip

Screenshot:
image

Build details:

VERSION: 8.15.0 BC2
BUILD: 76111
COMMIT: 8d6510f30e7a52246ccebbf7d913a59b498c3bc2

Artifact Link: https://staging.elastic.co/8.15.0-a47a2107/summary-8.15.0.html#elastic-agent-package

Hence we are marking this issue as QA:Validated.

Thanks!

@amolnater-qasource amolnater-qasource added QA:Validated Validated by the QA Team and removed QA:Ready For Testing Code is merged and ready for QA to validate labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact:low Long-term priority, unless it's a quick fix. QA:Validated Validated by the QA Team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants