summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorApeksha D Khakharia <akhakhar@redhat.com>2018-01-31 15:23:38 +0530
committerApeksha D Khakharia <akhakhar@redhat.com>2018-01-31 15:24:25 +0530
commitb88080f5923386a6c03668d480c39d3f5df6c5ea (patch)
tree7bd17197321378b22a1a7aa2132b8034812a4a7e
parentc75ef4632f8323fafeb7f0c5657f0f51695c5db7 (diff)
CNS: removing the mpathconf from masternode
Change-Id: Ibfd065dcd03478f49a324798b08e2ae37da1836c Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
-rw-r--r--cns-libs/cnslibs/cns/cns_baseclass.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cns-libs/cnslibs/cns/cns_baseclass.py b/cns-libs/cnslibs/cns/cns_baseclass.py
index 2d315351..641ae276 100644
--- a/cns-libs/cnslibs/cns/cns_baseclass.py
+++ b/cns-libs/cnslibs/cns/cns_baseclass.py
@@ -300,18 +300,18 @@ class CnsGlusterBlockBaseClass(CnsBaseClass):
cmd, cls.ocp_master_node[0],
out, err))
cmd = "mpathconf --enable"
- cmd_results = g.run_parallel(cls.ocp_all_nodes, cmd, "root")
+ cmd_results = g.run_parallel(cls.ocp_nodes, cmd, "root")
for node, ret_values in cmd_results.iteritems():
ret, out, err = ret_values
if ret != 0:
raise ExecutionError("failed to execute cmd %s on %s out: "
"%s err: %s" % (cmd, node, out, err))
- for node in cls.ocp_all_nodes:
+ for node in cls.ocp_nodes:
ret = edit_multipath_conf_file(node)
if not ret:
raise ExecutionError("failed to edit multipath.conf file")
cmd = "systemctl restart multipathd"
- cmd_results = g.run_parallel(cls.ocp_all_nodes, cmd, "root")
+ cmd_results = g.run_parallel(cls.ocp_nodes, cmd, "root")
for node, ret_values in cmd_results.iteritems():
ret, out, err = ret_values
if ret != 0: