[node-patches] Change in ovirt-node[master]: fix space check during installation

mburns at redhat.com mburns at redhat.com
Fri Jan 11 13:31:58 UTC 2013


Michael Burns has uploaded a new change for review.

Change subject: fix space check during installation
......................................................................

fix space check during installation

It was missing the EFI partition size in the calculation.

rhbz#868776

Change-Id: I11f36e21c2e64022f59dc349d7b0272da3848cf6
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M scripts/ovirtnode/storage.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/03/10903/1

diff --git a/scripts/ovirtnode/storage.py b/scripts/ovirtnode/storage.py
index 9ce97fd..640b55b 100644
--- a/scripts/ovirtnode/storage.py
+++ b/scripts/ovirtnode/storage.py
@@ -917,7 +917,7 @@
             hostvg1 = self.HOSTVGDRIVE.split(",")[0]
             if self.ROOTDRIVE == hostvg1:
                 drive_list.append("HOSTVG")
-                HOSTVG_NEED_SIZE = self.ROOT_SIZE * 2 + HOSTVG_NEED_SIZE
+                HOSTVG_NEED_SIZE = ROOT_NEED_SIZE + HOSTVG_NEED_SIZE
                 drive_space_dict["HOSTVG_NEED_SIZE"] = HOSTVG_NEED_SIZE
             else:
                 drive_list.append("ROOT")


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I11f36e21c2e64022f59dc349d7b0272da3848cf6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list