Bug 1292054
Summary: | tmpfile leak in mysql resource agent | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Oyvind Albrigtsen <oalbrigt> |
Component: | resource-agents | Assignee: | Oyvind Albrigtsen <oalbrigt> |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.8 | CC: | abeekhof, agk, cfeist, cluster-maint, cluster-qe, djansa, fdinitto, frank.enderle, mjuricek, oalbrigt, rmccabe |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | resource-agents-3.9.5-28.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1263348 | Environment: | |
Last Closed: | 2016-05-10 19:15:42 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: | |||
Bug Depends On: | 1263348 | ||
Bug Blocks: |
Description
Oyvind Albrigtsen
2015-12-16 10:59:55 UTC
Tested and verified that the patch is working as expected on RHEL6 as well. Create MySQL service with pcs and run the following command to be able to reproduce the issue: # pcs resource op add MySQL monitor interval=60s OCF_CHECK_LEVEL=10 Before: New /var/run/resource-agents/check_slave.mysql.XXXXXX created on slave-node every minute (or other interval you set it to). After: /var/run/resource-agents/check_slave.mysql.XXXXXX files are deleted after being used by the resource agent. Setup: # pcs resource create MySQL mysql # pcs resource master MySQL # pcs resource op add MySQL monitor interval=15s OCF_CHECK_LEVEL=10 Run on the slave node. Before: # rpm -q resource-agents resource-agents-3.9.5-24.el6_7.1.x86_64 # ls /var/run/resource-agents/check_slave.* /var/run/resource-agents/check_slave.MySQL.uCeh9f Wait at least 15 seconds. # ls /var/run/resource-agents/check_slave.* /var/run/resource-agents/check_slave.MySQL.uCeh9f /var/run/resource-agents/check_slave.MySQL.uxRvQo After: # ls /var/run/resource-agents/check_slave.* /var/run/resource-agents/check_slave.MySQL.uCeh9f /var/run/resource-agents/check_slave.MySQL.uxRvQo Wait at least 15 seconds. # ls /var/run/resource-agents/check_slave.* /var/run/resource-agents/check_slave.MySQL.uCeh9f /var/run/resource-agents/check_slave.MySQL.uxRvQo The same number of files (from before the patch still exist, but will be removed on reboot). 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://rhn.redhat.com/errata/RHBA-2016-0735.html |