Bug 1865943
| Summary: | dynflow-sidekiq results in messages logs getting filled up more frequently | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | anerurka | ||||||
| Component: | Dynflow | Assignee: | Adam Ruzicka <aruzicka> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 6.8.0 | CC: | ahumbe, aruzicka, mmccune, pcreech | ||||||
| Target Milestone: | 6.8.0 | Keywords: | Triaged | ||||||
| Target Release: | Unused | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | foreman-2.1.2.1-1,foreman-2.1.2.14-1 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-10-27 13:05:07 UTC | 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: | |||||||||
| Attachments: |
|
||||||||
Created redmine issue http://projects.theforeman.org/issues/30667 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30667 has been resolved. FailedQA with Sat 6.8 snap 14. The sidekiq logs are still present with default settings. Using reproducer from OP, I got a ~40 KB increase in /var/log/messages file size. FailedQA with Sat 6.8 snap 17. While it's better than in comment 4, we still have the original size this BZ has been reported for: 12 KB. Attaching /var/log/messages. Created attachment 1716635 [details]
var-log-messages.log
You cannot really compare absolute sizes of a system-wide log file if you do different things on the system (attachment from #7 shows bunch of puppet and pulp stuff going on while attachment from #0 had none of that). The original description said "dynflow-sidekiq results in messages logs getting filled up more frequently", which is now fixed. None of the log messages in #7 comes from dynflow-sidekiq. The only thing this BZ should be testing is the *count* of log messages from the dynflow services, not absolute file size of /var/log/messages as that is entirely dependent on the entire sum of services on the Satellite which is unpredictable. Test the message line count from dynflow, not file size of all messages. After stripping the log off of pulp activity, I still see more messages both as in count and in size. They are, however, of the same type as the messages provided in original log for 6.7. Excess messages from original log for 6.8 are gone => verified with Sat 6.8 snap 17 using reproducer from OP and based on devs' comment 8 and comment 9. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366 |
Created attachment 1710348 [details] mesage logs captured at the time of execution Description of problem: dynflow-sidekiq results in messages logs getting filled up more frequently Version-Release number of selected component (if applicable): Red Hat Satellite 6.8 [snap 09] tfm-rubygem-smart_proxy_dynflow-0.2.4-5.el7sat.noarch tfm-rubygem-smart_proxy_dynflow_core-0.2.6-1.fm2_1.el7sat.noarch tfm-rubygem-dynflow-1.4.6-1.el7sat.noarch foreman-dynflow-sidekiq-2.1.0-1.el7sat.noarch Dynflow sidekiq, logs inside /var/log/messages, and it is observed that for a single rex execution, there is additional logging compared to Red Hat Satellite v6.7 1. Assign few Ansible roles to the host - RedHatInsights.insights-client - theforeman.foreman_scap_client 2. Run Ansible Roles. Actual Result - For a host registered to Sat v.6.7, "/var/log/messages" was filled up with 4KB - However for Sat v.6.8 "/var/log/messages" was filled up with 12kb. This could impact users in a large environment where messages logs being frequently getting full.