Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 875064

Summary: rgmanager fs agent fails to check resource with space in the name
Product: Red Hat Enterprise Linux 5 Reporter: Josef Zimek <pzimek>
Component: rgmanagerAssignee: Ryan McCabe <rmccabe>
Status: CLOSED DUPLICATE QA Contact: Cluster QE <mspqa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: cluster-maint, edamato, paolo.penzo
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-12 15:15:26 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:
Description Flags
proposed patch none

Description Josef Zimek 2012-11-09 12:44:38 UTC
Description of problem:
After upgrading to rgmanager-2.0.52-28.el5_8.4 filesystem resources containing space(s) in the name are always detected as not mounted although they are and the service they belong is placed into recoverable status. This issue is caused by the usage of the variable OCF_RESKEY_name without escaping space into it.

Version-Release number of selected component (if applicable):
rgmanager-2.0.52-28.el5_8.4

How reproducible:
always

Steps to Reproduce:
1.name filesystem resource in cluster.conf with the name containing space character
2.re-distribute new configuration across the cluster
3.service will end up in recoverable state due to unavailable fs resource
  
Actual results:
service will end up in recoverable state due to unavailable fs resource even if the resource is mounted

Expected results:
filesystem resource containing space in the name will not cause service fail

Additional info:
suggested patch attached

Comment 1 Josef Zimek 2012-11-09 12:46:07 UTC
Created attachment 641523 [details]
proposed patch

Comment 2 Ryan McCabe 2012-11-12 15:15:26 UTC

*** This bug has been marked as a duplicate of bug 859999 ***