Bug 1344603

Summary: missing { and invalid keyword thrown when multipath -l is executed on the nodes.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: gdeployAssignee: Sachidananda Urs <surs>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: rcyriac, rhinduja, sasundar, smohan
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3 Async   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gdeploy-2.0.1-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-07 11:33:35 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: 1351522    

Description RamaKasturi 2016-06-10 07:24:25 UTC
Description of problem:
Executing multipath -l displays the following missing and in invalid keyword error when HC nodes are setup using gdeploy.

Jun 10 11:28:49 | missing '{' on line 34 of /etc/multipath.conf
Jun 10 11:28:49 | invalid keyword '{' on line 35 of /etc/multipath.conf

Currently disable-multipath.sh  script has the code for blacklisting devices in the following way 

blacklist
{
        devnode "*"
}

The above has to be changed to 

blacklist {
        devnode "*"
}


Version-Release number of selected component (if applicable):
gdeploy-2.0-16.el7rhgs.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install HC nodes using gdeploy.
2. Run multipath -l command on the node once gdeploy finishes installing.
3.

Actual results:
Jun 10 11:28:49 | missing '{' on line 34 of /etc/multipath.conf
Jun 10 11:28:49 | invalid keyword '{' on line 35 of /etc/multipath.conf

Expected results:
Above error should not be displayed.

Additional info:

Comment 2 SATHEESARAN 2016-06-16 09:20:55 UTC
There is no functional impact, all the lvm commands works good, but the multipath -l throws error.

Comment 3 Sachidananda Urs 2016-06-16 10:09:00 UTC
Commit: https://github.com/gluster/gdeploy/commit/bf97176129a755af703bf5341b28f7a26d1b0b59 fixes this.

Comment 5 SATHEESARAN 2016-11-04 08:06:30 UTC
Tested with gdeploy-2.0.1-2

The braces are placed correctly as follows :

blacklist {
        devnode "*"
}

Comment 7 errata-xmlrpc 2017-02-07 11:33:35 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.

https://rhn.redhat.com/errata/RHSA-2017-0260.html