[node-patches] Change in ovirt-node[master]: storage: Fix auto-partitioning

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Jan 24 16:16:58 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: storage: Fix auto-partitioning
......................................................................

storage: Fix auto-partitioning

A referenced functions was used incorrectly which lead to an exception
during auto-install.

Change-Id: I98a83c158cdefed3aa870c4e701de0ccda39686a
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirtnode/storage.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/80/11380/1

diff --git a/scripts/ovirtnode/storage.py b/scripts/ovirtnode/storage.py
index 640b55b..faba3f3 100644
--- a/scripts/ovirtnode/storage.py
+++ b/scripts/ovirtnode/storage.py
@@ -992,7 +992,8 @@
     if not _functions.OVIRT_VARS["OVIRT_INIT"] == "":
         #force root install variable for autoinstalls
         _functions.OVIRT_VARS["OVIRT_ROOT_INSTALL"] = "y"
-        if check_existing_hostvg("") or check_existing_hostvg("","AppVG"):
+        if _functions.check_existing_hostvg("") or \
+           _functions.check_existing_hostvg("","AppVG"):
             logger.error("HostVG/AppVG exists on a separate disk")
             logger.error("Manual Intervention required")
             return False


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I98a83c158cdefed3aa870c4e701de0ccda39686a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list