Bug 1457382
| Summary: | portblock monitor flooding /var/log/messages | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Kaleb KEITHLEY <kkeithle> |
| Component: | resource-agents | Assignee: | Oyvind Albrigtsen <oalbrigt> |
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | unspecified | Docs Contact: | Steven J. Levine <slevine> |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | agk, cluster-maint, fdinitto, mmuzikov, mnovacek, oalbrigt, slevine |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | resource-agents-3.9.5-112.el7 | Doc Type: | Bug Fix |
| Doc Text: |
`portblock` agent no longer yields excessive unnecessary messages
Previously, the `portblock` agent would flood the `/var/log/messages` file with monitoring messages that provided no useful information. With this fix, the `/var/log/messages` file contains more limited logging output from the `portblock` agent.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-10 12:07:57 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: | |||
|
Description
Kaleb KEITHLEY
2017-05-31 15:33:51 UTC
This can be ignored. We might want to supress these, as they're not relevant for the user. qa-ack+: portblocker agent should not be excessively logging Marking Verified in version resource-agents-3.9.5-116.el7.x86_64. 1) BEFORE fix - /var/log/messages contains excessive logging output from portblocker agent ============= # rpm -q resource-agents resource-agents-3.9.5-82.el7_3.11.x86_64 # pcs resource create port_block portblock protocol=tcp portno=5000 action=unblock ip=10.37.165.91 tickle_dir="/tmp/tickle" --group G # tail /var/log/messages | grep notice Dec 7 13:48:38 virt-149 lrmd[17622]: notice: port_block_monitor_10000:19993:stderr [ 0 bytes (0 B) copied, 0.00275961 s, 0.0 kB/s ] Dec 7 13:48:48 virt-149 lrmd[17622]: notice: port_block_monitor_10000:20076:stderr [ 0+0 records in ] Dec 7 13:48:48 virt-149 lrmd[17622]: notice: port_block_monitor_10000:20076:stderr [ 0+0 records out ] Dec 7 13:48:48 virt-149 lrmd[17622]: notice: port_block_monitor_10000:20076:stderr [ 0 bytes (0 B) copied, 0.000689194 s, 0.0 kB/s ] Dec 7 13:48:58 virt-149 lrmd[17622]: notice: port_block_monitor_10000:20198:stderr [ 0+0 records in ] Dec 7 13:48:58 virt-149 lrmd[17622]: notice: port_block_monitor_10000:20198:stderr [ 0+0 records out ] Dec 7 13:48:58 virt-149 lrmd[17622]: notice: port_block_monitor_10000:20198:stderr [ 0 bytes (0 B) copied, 0.00248944 s, 0.0 kB/s ] Dec 7 13:49:08 virt-149 lrmd[17622]: notice: port_block_monitor_10000:20282:stderr [ 0+0 records in ] Dec 7 13:49:08 virt-149 lrmd[17622]: notice: port_block_monitor_10000:20282:stderr [ 0+0 records out ] Dec 7 13:49:08 virt-149 lrmd[17622]: notice: port_block_monitor_10000:20282:stderr [ 0 bytes (0 B) copied, 0.00277896 s, 0.0 kB/s ] 2) AFTER fix - /var/log/messages does not contain logging output from portblocker agent ============= # rpm -q resource-agents resource-agents-3.9.5-116.el7.x86_64 # tail /var/log/messages | grep notice Dec 7 13:57:57 virt-149 crmd[22113]: notice: Transition 6 (Complete=6, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-39.bz2): Complete Dec 7 13:57:57 virt-149 crmd[22113]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE 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, 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/RHBA-2018:0757 |