Bug 1669500

Summary: 'hardware_handler "1 alua" ' missing from multipath.conf file
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rachael <rgeorge>
Component: cns-ansibleAssignee: John Mulligan <jmulligan>
Status: CLOSED CURRENTRELEASE QA Contact: Prasanth <pprakash>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ocs-3.11CC: hchiramm, jarrpa, knarra, kramdoss, madam, nchilaka, ndevos, rhs-bugs, sarumuga
Target Milestone: ---Keywords: Tracking, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1669984 (view as bug list) Environment:
Last Closed: 2020-12-18 19:58:33 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: 1669984    
Bug Blocks: 1669979    

Description Rachael 2019-01-25 14:00:49 UTC
Description of problem:

The /etc/multipath.conf file that gets configured as part of OCS deployment is missing the following line:
  
  'hardware_handler "1 alua" ' 

# cat /etc/multipath.conf
# LIO iSCSI
# TODO: Add env variables for tweaking
devices {
        device {
                vendor "LIO-ORG"
                user_friendly_names "yes" 
                path_grouping_policy "failover"
                path_selector "round-robin 0"
                failback immediate
                path_checker "tur"
                prio "alua"
                no_path_retry 120
                rr_weight "uniform"
        }
}
defaults {
	user_friendly_names yes
	find_multipaths yes
}


Version-Release number of selected component (if applicable):

oc v3.11.69

heketi-client-8.0.0-8.el7rhgs.x86_64
heketi-8.0.0-8.el7rhgs.x86_64

glusterfs-api-3.12.2-32.el7rhgs.x86_64
glusterfs-cli-3.12.2-32.el7rhgs.x86_64
python2-gluster-3.12.2-32.el7rhgs.x86_64
glusterfs-fuse-3.12.2-32.el7rhgs.x86_64
glusterfs-geo-replication-3.12.2-32.el7rhgs.x86_64
glusterfs-libs-3.12.2-32.el7rhgs.x86_64
glusterfs-3.12.2-32.el7rhgs.x86_64
glusterfs-client-xlators-3.12.2-32.el7rhgs.x86_64
glusterfs-server-3.12.2-32.el7rhgs.x86_64
gluster-block-0.2.1-30.el7rhgs.x86_64

libtcmu-1.2.0-28.el7rhgs.x86_64
tcmu-runner-1.2.0-28.el7rhgs.x86_64

targetcli-2.1.fb46-7.el7.noarch


Actual results: 

'hardware_handler "1 alua" ' missing from multipath.conf file

Expected results:

The content of multipath.conf file

# cat /etc/multipath.conf
# LIO iSCSI
# TODO: Add env variables for tweaking
devices {
        device {
                vendor "LIO-ORG"
                user_friendly_names "yes" # names like mpatha
                path_grouping_policy "failover" # one path per group
                hardware_handler "1 alua"
                path_selector "round-robin 0"
                failback immediate
                path_checker "tur"
                prio "alua"
                no_path_retry 120
        }
}
defaults {
	user_friendly_names yes
	find_multipaths yes
}

Comment 2 Niels de Vos 2019-01-28 10:40:42 UTC
Bug 1669984 has been reported to get this fixed in openshift-ansible-3.11.

Comment 7 RamaKasturi 2019-03-26 17:40:33 UTC
Moving this bug to verified state as per comment 4