[node-patches] Change in ovirt-node[master]: fix cciss device detection for upgrades

jboggs at redhat.com jboggs at redhat.com
Mon Oct 22 15:53:15 UTC 2012


Joey Boggs has uploaded a new change for review.

Change subject: fix cciss device detection for upgrades
......................................................................

fix cciss device detection for upgrades

rhbz#866935

Signed-off-by: Joey Boggs <jboggs at redhat.com>
Change-Id: If20c7647ce8b95a9c3136587cb0b1310c430a6f1
---
M scripts/ovirtnode/install.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/27/8727/1

diff --git a/scripts/ovirtnode/install.py b/scripts/ovirtnode/install.py
index e9e4ebf..15cec4d 100755
--- a/scripts/ovirtnode/install.py
+++ b/scripts/ovirtnode/install.py
@@ -401,7 +401,7 @@
             # 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)
-            grub_disk_cmd = "multipath -l \"" + os.path.basename(self.disk) + \
+            grub_disk_cmd = "multipath -l \"" + self.disk + \
                             "\" | awk '/ active / {print $3}' | head -n1"
             logger.debug(grub_disk_cmd)
             grub_disk = _functions.subprocess_closefds(grub_disk_cmd,


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If20c7647ce8b95a9c3136587cb0b1310c430a6f1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list