[node-patches] Change in ovirt-node[master]: Storage volume page should work in dry mode again

rbarry at redhat.com rbarry at redhat.com
Tue Jul 15 14:04:56 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: Storage volume page should work in dry mode again
......................................................................

Storage volume page should work in dry mode again

Don't check literal disks if we're in dry mode

Change-Id: I8d61e780f96ba0c739f406df818c6d43da0137c5
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt/node/installer/core/storage_vol_page.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/10/30110/1

diff --git a/src/ovirt/node/installer/core/storage_vol_page.py b/src/ovirt/node/installer/core/storage_vol_page.py
index c034a67..ecceae3 100644
--- a/src/ovirt/node/installer/core/storage_vol_page.py
+++ b/src/ovirt/node/installer/core/storage_vol_page.py
@@ -223,5 +223,7 @@
     def __enough_free_space(self):
         """Determin if the available size is large enough to hold the installation
         """
+        if self.application.args.dry:
+            return True
         self._drive_size = self.__get_drives_size(self.__get_install_drive())
         return self._drive_size > self._min_drive_size


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d61e780f96ba0c739f406df818c6d43da0137c5
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