-
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
No activity logs and Agent remains in Enrolling state on installing Linux rpm #22296
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
@vipulsrivastava-qasource Please review the bug. |
Reviewed and Assigned to @EricDavisX |
@ph @blakerouse did we somehow miss something on the .rpm side that is different from .deb or perhaps we can evaluate in more detail what is different on the vms as below? @rahulgupta-qasource @vipulsrivastava-qasource can you update the process for bug logging to make sure we cite what OS a Beat / Agent issue is reported on? And for the near term, you could mention the explicit template in vSphere the vm is based on, if it is indeed an Endgame vSphere host. With this info we can assess what settings are set and what is different on this (presumably Centos) vm versus others. Thanks! |
@EricDavisX that might be related to a specific distribution. |
Hi @EricDavisX Thank you for sharing the feedback. The above issue is reported on centos-release-7-3.1611.el7.centos.x86_64 (VM ip: 10.6.227.3, VM Name: rahul_centos_7_3) Explicit template in vSphere for above VM[ip: 10.6.227.3 and name rahul_centos_7_3]: qa-centos7.3-x64-endpoint-clone-base Moving forward, we will include these details while logging the agent/beat bugs. |
I explicitly tested and confirms the RPM to be fixed on Fedora 32. I did not test Centos 7, could be something different causing it to break in Centos. I will install Centos and give it a test. |
to add to config / repro info, SELinux is enabled on that system.
|
I just tested the RPM installation on a fresh VM installed with Centos 7 x86_64. I hit no issues, it installed, started, enrolled, and reported correctly to Fleet with no issues. |
did you have SELINUX enabled? @blakerouse |
@blakerouse please let me know what other settings you think we could compare between the vms and I can introspect and report back. I don't recall if you got access to the Endgame vSphere system, but I know Michal does so he could help look at a given bug if easier for the team. @michalpristas |
@EricDavisX SELinux is enabled by default with CentOS 7. I verified just in-case and yes it is enabled. Still no issues. |
Thanks Blake. I see the below from systemctl that indicates it isn't a clean system. Which is a huge difference between the tests done by Blake and Rahul. @rahulgupta-qasource did you know you had 7.9.3 Agent installed prior on that machine? I know we were doing 7.9.3 to 7.10 RPM Agent upgrade tests, we might have gotten environments mixed up or something. If you can try again on that same vm, but revert to clean (or clone it again) and let us know please? Also... if we were still doing work on the .rpm to .rpm upgrade (per last comment) here: #21200 we can log that separately if needed so it is clearer what use case is being tested?
|
Hi Eric Thank you for sharing the feedback. We have validated the above scenario for 'Linux .rpm enroll-deploy of 7.9.3 BC1 Agent update it to 7.10.0 BC4 .rpm deploy with Endpoint' with CentOS 7 VM(10.0.7.240) and found it fixed. Observations: We have executed the testcase under TestRun https://elastic.testrail.io/index.php?/runs/view/791 Hence, we are closing this bug. |
Bug Conversion: Testcase already exists for this ticket. |
Kibana version:
Kibana: 7.10 BC4 cloud environment
Elasticsearch version:
Elasticsearch: 7.10 BC4 cloud environment
Host OS and Browser version:
Linux , All
Original install method (e.g. download page, yum, from source, etc.):
7.10 BC4 cloud environment
Description
No activity logs and Agent remains in Enrolling state on installing Linux rpm
Preconditions
https://staging.elastic.co/7.10.0-c650b297/downloads/beats/elastic-agent/elastic-agent-7.10.0-x86_64.rpm
Steps to Reproduce
Test data
N/A
Impacted Test case id
https://elastic.testrail.io/index.php?/cases/view/33960
Actual Result
No activity logs and Agent remains in Enrolling state on installing Linux rpm
Expected Result
Agent in Online status and Activity logs should be displayed for Linux rpm agent installation on 7.10 BC4 Kibana cloud environment
What's working
What's not working
Screenshot
Logs
N/A
The text was updated successfully, but these errors were encountered: