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

No data for Standalone agent installed on Centos 9. #4435

Closed
amolnater-qasource opened this issue Mar 19, 2024 · 8 comments
Closed

No data for Standalone agent installed on Centos 9. #4435

amolnater-qasource opened this issue Mar 19, 2024 · 8 comments
Labels
bug Something isn't working impact:high Short-term priority; add to current release, or definitely next. QA:Validated Validated by the QA Team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Comments

@amolnater-qasource
Copy link

amolnater-qasource commented Mar 19, 2024

Kibana Build details:

VERSION: 8.13.0 BC5
BUILD: 72025
COMMIT: d04713ae6c5fd43086bc488edd406ca50d4b9709
Artifact Link: https://staging.elastic.co/8.13.0-f75ccb77/downloads/beats/elastic-agent/elastic-agent-8.13.0-linux-x86_64.tar.gz

Host OS: Centos 9

Preconditions:

  1. 8.13.0-BC5 Kibana cloud environment should be available.

Steps to reproduce:

  1. Update elastic-agent.yml.
  2. Run elastic-agent install command sudo ./elastic-agent install.
  3. Observe no data for standalone agent installed on Centos 9.

Expected Result:
Data for Standalone agent installed on Centos 9 should be available under Data Streams.

Logs:
Unable to collect logs due to error:
image

We manually copied the Agent.zip available here:
curl -L -H 'Authorization: b4af88d86816e8bb' -o 'Agent.zip' https://upload.elastic.co/d/64384a2f3317241efb8b6388c69dcb38109806f06ad2911a7a8a64b0fed42ea0

Note:

  • Issue is consistently reproducible on different Centos 9 VMs

What's working fine:

  • No issue is observed on standalone agent installed on SLES15 and data is available under Data Streams tab.
@amolnater-qasource amolnater-qasource added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team impact:high Short-term priority; add to current release, or definitely next. labels Mar 19, 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.

@pierrehilbert
Copy link
Contributor

Hey @amolnater-qasource
Could you please send us the logs from the Agent?
I'm under the impression the Agent is not running and this is the reason why you can't get the diagnostics.

@amolnater-qasource
Copy link
Author

amolnater-qasource commented Mar 19, 2024

Hi @pierrehilbert

Thank you for looking into this issue.

No agent logs folder is generated under /Elastic/Agent/data/elastic-agent-8.13.0-533443 rest we have copied the possible Elastic/Agent zip, available here:
curl -L -H 'Authorization: b4af88d86816e8bb' -o 'Agent.zip' https://upload.elastic.co/d/64384a2f3317241efb8b6388c69dcb38109806f06ad2911a7a8a64b0fed42ea0

Thanks!

@manishgupta-qasource
Copy link

Secondary review for this ticket is Done

@pierrehilbert
Copy link
Contributor

According to me, the Agent is not running.
Could you please check the running processes to verify if the Agent is running?

@amolnater-qasource
Copy link
Author

Hi @pierrehilbert

As discussed over slack we have revalidated updating the elastic-agent.yml and found the issue as resolved.

We are getting the data under Data Streams for standalone agent on Centos 9.

Screenshot:
image

Hence we are closing this issue and marking as QA:Validated.
Thanks!

@amolnater-qasource amolnater-qasource added the QA:Validated Validated by the QA Team label Mar 19, 2024
@pierrehilbert
Copy link
Contributor

Glad to have been helpful here and that we don't have any issue at the end.
Thanks @amolnater-qasource

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:high Short-term priority; add to current release, or definitely next. QA:Validated Validated by the QA Team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

No branches or pull requests

4 participants