[node-patches] Change in ovirt-node[master]: check space against all disks selected instead of just one
mburns at redhat.com
mburns at redhat.com
Thu Dec 13 16:44:54 UTC 2012
Michael Burns has uploaded a new change for review.
Change subject: check space against all disks selected instead of just one
......................................................................
check space against all disks selected instead of just one
rhbz#868776
Change-Id: I9fe745fb82052ce25cf24527c69592a67fa5b035
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M scripts/ovirtnode/storage.py
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/36/10036/1
diff --git a/scripts/ovirtnode/storage.py b/scripts/ovirtnode/storage.py
index 8d385b2..d701da5 100644
--- a/scripts/ovirtnode/storage.py
+++ b/scripts/ovirtnode/storage.py
@@ -915,9 +915,9 @@
drive_space_dict["HOSTVG_NEED_SIZE"] = HOSTVG_NEED_SIZE
hostvg1 = self.HOSTVGDRIVE.split(",")[0]
if self.ROOTDRIVE == hostvg1:
- drive_list.append("ROOT")
- ROOT_NEED_SIZE = self.ROOT_SIZE * 2 + HOSTVG_NEED_SIZE
- drive_space_dict["ROOT_NEED_SIZE"] = ROOT_NEED_SIZE
+ drive_list.append("HOSTVG")
+ HOSTVG_NEED_SIZE = self.ROOT_SIZE * 2 + HOSTVG_NEED_SIZE
+ drive_space_dict["HOSTVG_NEED_SIZE"] = HOSTVG_NEED_SIZE
else:
drive_list.append("ROOT")
drive_list.append("HOSTVG")
--
To view, visit http://gerrit.ovirt.org/10036
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9fe745fb82052ce25cf24527c69592a67fa5b035
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