[node-patches] Change in ovirt-node[ovirt-3.5]: installer: Don't use multipath for /dev/cciss

fabiand at redhat.com fabiand at redhat.com
Mon Jan 5 09:48:32 UTC 2015


Hello Anatoly Litovsky,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/36563

to review the following change.

Change subject: installer: Don't use multipath for /dev/cciss
......................................................................

installer: Don't use multipath for /dev/cciss

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1174146
Change-Id: I7619fee9e32735562d513bda899350e9f04f3ddf
Signed-off-by: Tolik Litovsky <tlitovsk at redhat.com>
---
M src/ovirtnode/install.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/63/36563/1

diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py
index 25cbd9e..5fea812 100755
--- a/src/ovirtnode/install.py
+++ b/src/ovirtnode/install.py
@@ -584,7 +584,7 @@
             self.bootparams += " mpath.wwid=%s" % wwid
             logger.debug("Cmdline with mpath: %s" % self.bootparams)
 
-        if " " in self.disk or os.path.exists("/dev/cciss"):
+        if " " in self.disk:
             # workaround for grub setup failing with spaces in dev.name:
             # use first active sd* device
             self.disk = re.sub("p[1,2,3]$", "", self.disk)


-- 
To view, visit http://gerrit.ovirt.org/36563
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7619fee9e32735562d513bda899350e9f04f3ddf
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Anatoly Litovsky <tlitovsk at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list