summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-01-31 11:55:21 -0800
committerGitHub <noreply@github.com>2018-01-31 11:55:21 -0800
commit73701d53f481b4d5886eb9ac4f89bfd337efefea (patch)
treed673a4e5600781a4010d599e908529910de45573 /roles/openshift_node/templates
parent510b5ac41308225f01be96309eda6efc67a90467 (diff)
parent2573825c06e9d3a5601b6c1492f71fd0b70b2578 (diff)
downloadopenshift-73701d53f481b4d5886eb9ac4f89bfd337efefea.tar.gz
openshift-73701d53f481b4d5886eb9ac4f89bfd337efefea.tar.bz2
openshift-73701d53f481b4d5886eb9ac4f89bfd337efefea.tar.xz
openshift-73701d53f481b4d5886eb9ac4f89bfd337efefea.zip
Merge pull request #6922 from mjudeikis/glusterfs-block-storage
Automatic merge from submit-queue. Glusterfs block storage ansible support GlusterBlock support in our ansible for glusterfs role TODO: - [ ] checking if only one SC is set default - [ ] validate if mpath on nodes is configured - [ ] add check for rhel vs atomic - [x] make sure rpcbind is running and enabled BEFORE we even start glusterfs pods - [x] enable mpath - [ ] validate kernel module availability @ckyriakidou @jarrpa
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r--roles/openshift_node/templates/multipath.conf.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/multipath.conf.j2 b/roles/openshift_node/templates/multipath.conf.j2
new file mode 100644
index 000000000..8a0abc2c1
--- /dev/null
+++ b/roles/openshift_node/templates/multipath.conf.j2
@@ -0,0 +1,15 @@
+# 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 "const"
+ no_path_retry 120
+ rr_weight "uniform"
+ }
+}