Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 948730

Summary: Mount command line is logged at inappropriate log level
Product: Red Hat Enterprise Linux 6 Reporter: J.H.M. Dassen (Ray) <rdassen>
Component: resource-agentsAssignee: David Vossel <dvossel>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: medium    
Version: 6.4CC: agk, bz, cluster-maint, fdinitto, jruemker, mnovacek, pep, rbinkhor, slevine
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: resource-agents-3.9.2-25.el6 Doc Type: Bug Fix
Doc Text:
Cause: Mount command outputs as error msg. Consequence: Clutters logs, isn't an error. Fix: Set log level to debug. Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 05:19: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:    
Bug Blocks: 835616, 960054    

Description J.H.M. Dassen (Ray) 2013-04-05 08:56:32 UTC
Description of problem:
Please backport <https://github.com/ClusterLabs/resource-agents/pull/220>.

Version-Release number of selected component (if applicable):
resource-agents-3.9.2-12.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Set up a cluster with an "fs" resource.
2. Start cluster or induce a failover of the "fs" resource.
  
Actual results:
Mount command lines (e.g. "[fs] mount -t ext4  /dev/mapper/VGmysqldb1-LVmysqldb /opt/MYSQLDB1") are logged at LOG_ERR syslog priority.

Expected results:
"mount" command lines are logged at LOG_DEBUG priority. They do not indicate error conditions, so LOG_ERR is unwarranted.

Comment 1 David Vossel 2013-05-29 19:45:47 UTC
Upstream patch related to this issue.

https://github.com/ClusterLabs/resource-agents/commit/8dc0e72bcec6f84fc23aa09dc924770d332aa823

Comment 6 michal novacek 2013-09-17 15:39:46 UTC
I have verified that the patch is applyied:


# rpm -q resource-agents
resource-agents-3.9.2-33.el6.x86_64

# rpm -qf /usr/share/cluster/utils/fs-lib.sh
resource-agents-3.9.2-33.el6.x86_64

# grep -A 5 'cf_log info "mounting' /usr/share/cluster/utils/fs-lib.sh
        ocf_log info "mounting $dev on $mp"
        ocf_log debug "mount $fstype_option $mount_options $dev $mp"
        mount $fstype_option $mount_options "$dev" "$mp"
        ret_val=$?
        if [ $ret_val -ne 0 ]; then
                ocf_log err

Comment 8 errata-xmlrpc 2013-11-21 05:19:42 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-1541.html