[node-patches] Change in ovirt-node[master]: Create the data partition when dynamically determining space

rbarry at redhat.com rbarry at redhat.com
Thu Oct 3 20:57:03 UTC 2013


Ryan Barry has uploaded a new change for review.

Change subject: Create the data partition when dynamically determining space
......................................................................

Create the data partition when dynamically determining space

Previously, the storage volume space pulled defaults for the
Data volume size from ovirtfunctions, resulting in it being -1 on
the first run, and displaying properly while leaving the model
size set to zero. Return a default size of zero when running the
TUI installer so the volume is properly created.

Change-Id: I2afe08ccb9e3cfcd6636d0c8c711861472a6b566
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1000272
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt/node/installer/core/storage_vol_page.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/57/19857/1

diff --git a/src/ovirt/node/installer/core/storage_vol_page.py b/src/ovirt/node/installer/core/storage_vol_page.py
index 91757c6..3f17737 100644
--- a/src/ovirt/node/installer/core/storage_vol_page.py
+++ b/src/ovirt/node/installer/core/storage_vol_page.py
@@ -154,7 +154,7 @@
                  "storage.swap_size": "%s" % stor.SWAP_SIZE,
                  "storage.config_size": "%s" % stor.CONFIG_SIZE,
                  "storage.logging_size": "%s" % stor.LOGGING_SIZE,
-                 "storage.data_size": "%s" % stor.DATA_SIZE,
+                 "storage.data_size": "0",
                  "storage.free_space": "0 MB",
                  "storage.drive_size": "%s MB" % self._drive_size
                  }


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2afe08ccb9e3cfcd6636d0c8c711861472a6b566
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list