Bug 2193258
| Summary: | insights-client service generating ABRT core dumps: "[Errno 2] No such file or directory: '/tmp/insights-client.ppid" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Amar Huchchanavar <ahuchcha> |
| Component: | insights-client | Assignee: | CSI Client Tools Bugs <csi-client-tools-bugs> |
| Status: | NEW --- | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.9 | CC: | ahitacat, cmarinea, fjansen, redakkan, ribanerj, stomsa |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: Insights service generating ABRT core dumps. # abrt-cli ls id 4d8793e4166e92034865a78d6e2a5654112c0898 reason: utilities.py:127:write_to_disk:OSError: [Errno 2] No such file or directory: '/tmp/insights-client.ppid' time: Fri 07 Apr 2023 03:30:00 AM GMT cmdline: /usr/bin/python /usr/bin/insights-client --retry 3 package: insights-client-3.1.7-2.el7_9 uid: 0 (root) count: 1 Directory: /var/spool/abrt/Python-2023-04-07-03:30:00-29062 Run 'abrt-cli report /var/spool/abrt/Python-2023-04-07-03:30:00-29062' for creating a case in Red Hat Customer Portal # insights-client --version Client: 3.1.7 Core: 3.1.16-1 # systemctl status insights-client ● insights-client.service - Insights Client Loaded: loaded (/usr/lib/systemd/system/insights-client.service; static; vendor preset: disabled) Active: inactive (dead) since Fri 2023-04-07 03:30:00 GMT; 5h 30min ago Docs: man:insights-client(8) Process: 29065 ExecStartPost=/bin/bash -c echo 1G >/dev/null 2>&1 > /sys/fs/cgroup/memory/system.slice/insights-client.service/memory.soft_limit_in_bytes (code=exited, status=0/SUCCESS) Process: 29063 ExecStartPost=/bin/bash -c echo 2G >/dev/null 2>&1 > /sys/fs/cgroup/memory/system.slice/insights-client.service/memory.memsw.limit_in_bytes (code=exited, status=0/SUCCESS) Process: 29062 ExecStart=/usr/bin/insights-client --retry 3 (code=exited, status=0/SUCCESS) Main PID: 29062 (code=exited, status=0/SUCCESS) Apr 07 03:29:59 system1.example.com insights-client[29062]: File "/var/lib/insights/last_stable.egg/insights/client/utilities.py", line 127, in write_to_disk Apr 07 03:29:59 system1.example.com insights-client[29062]: os.remove(filename) Apr 07 03:29:59 system1.example.com insights-client[29062]: OSError: [Errno 2] No such file or directory: '/tmp/insights-client.ppid' Apr 07 03:29:59 system1.example.com insights-client[29062]: Error in sys.exitfunc: Apr 07 03:29:59 system1.example.com python[29062]: detected unhandled Python exception in '/usr/bin/insights-client' Apr 07 03:30:00 system1.example.com insights-client[29062]: Traceback (most recent call last): Apr 07 03:30:00 system1.example.com insights-client[29062]: File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs Apr 07 03:30:00 system1.example.com insights-client[29062]: func(*targs, **kargs) Apr 07 03:30:00 system1.example.com insights-client[29062]: File "/var/lib/insights/last_stable.egg/insights/client/utilities.py", line 127, in write_to_disk Apr 07 03:30:00 system1.example.com insights-client[29062]: OSError: [Errno 2] No such file or directory: '/tmp/insights-client.ppid' Version-Release number of selected component (if applicable): insights-client-3.1.7-2.el7_9.noarch How reproducible: Customer site only Steps to Reproduce: 1. Actual results: Apr 07 03:30:00 system1.example.com insights-client[29062]: OSError: [Errno 2] No such file or directory: '/tmp/insights-client.ppid' Expected results: It should not fail with above-mentioned error. Additional info: - This issue does not occur if we execute #insights-client manually