Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1433564 - update disable-multipath.sh script to enable multipath for specific device
update disable-multipath.sh script to enable multipath for specific device
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gdeploy (Show other bugs)
3.2
x86_64 Linux
unspecified Severity medium
: ---
: RHGS 3.3.1 Async
Assigned To: Sachidananda Urs
SATHEESARAN
: ZStream
Depends On:
Blocks: Gluster-HC-3 1581561
  Show dependency treegraph
 
Reported: 2017-03-18 01:06 EDT by SATHEESARAN
Modified: 2018-06-20 23:34 EDT (History)
10 users (show)

See Also:
Fixed In Version: gdeploy-2.0.2-20
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-20 23:33:14 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1958 None None None 2018-06-20 23:34 EDT

  None (edit)
Description SATHEESARAN 2017-03-18 01:06:00 EDT
Description of problem:
-----------------------
Grafton LA release had an requirement to disable multipath devices ( because of the bug 1303940 ) in the system. With that said, disable-multipath.sh script was developed to disable all the multipath devices.

With HCI GA, the bug 1303940 is fixed as use_lvmetad is set to '0', but still the vdsm configures multipath such that it creates the WWID/mpath names for the devices, even though such an device doesn't have multipath exist.
This is the behavior with any hypervisor managed in RHV.

So avoid WWID/mpath names getting assigned, we need to configure blacklisting of a device specifically.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
gdeploy-2.0.1-11.el7rhgs

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Run disable-multipath.sh script to blacklist the specific device

Actual results:
---------------
All the devices are blacklisted

Expected results:
-----------------
Blacklist the specific device
Comment 1 SATHEESARAN 2017-03-22 13:39:03 EDT
Also make sure that the file /etc/multipath.conf starts with these lines :

# VDSM REVISION 1.3
# VDSM PRIVATE

provided that these lines are not already there
Comment 5 Sachidananda Urs 2017-10-10 03:29:47 EDT
Commit: https://github.com/gluster/gdeploy/commit/40a0c02a46e should resolve the issue.
Comment 7 SATHEESARAN 2018-06-11 14:02:25 EDT
Tested with gdeploy-2.0.2-27.el7rhgs

/etc/multipath.conf file starts with these lines

# VDSM REVISION 1.3
# VDSM PRIVATE
# VDSM REVISION 1.5

In actual '# VDSM REVISION 1.3' is not required. vdsm revision value has been now bumped up to 1.5

Verified that all the devices are blacklisted.
Comment 9 errata-xmlrpc 2018-06-20 23:33:14 EDT
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/RHEA-2018:1958

Note You need to log in before you can comment on or make changes to this bug.