Ryan Barry has uploaded a new change for review. Change subject: Add a warning about the appliance if the data size is too small ......................................................................
Add a warning about the appliance if the data size is too small If the size of the data volume is less than 50GB, print a warning on the confirmation page so users are aware during the install. Change-Id: I37641342c0ef5eec9781e769c8f42ac14fc056f7 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1133180 Signed-off-by: Ryan Barry <[email protected]> --- M src/ovirt/node/installer/core/confirmation_page.py 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/73/40673/1 diff --git a/src/ovirt/node/installer/core/confirmation_page.py b/src/ovirt/node/installer/core/confirmation_page.py index 88c3638..74ee661 100644 --- a/src/ovirt/node/installer/core/confirmation_page.py +++ b/src/ovirt/node/installer/core/confirmation_page.py @@ -91,6 +91,12 @@ row = ui.Row("row[%s]" % xs, chi) ws.append(row) + if int(self._model["storage.data_size"]) < (50*1024): + ws.extend([ui.Divider("divider.he"), + ui.Notice("notice.he", "The size of the data volume is " + "not large enough to use the Engine " + "Appliance, must be at least 50GB (51200MB)")]) + page = ui.Page("confirmation", ws) page.buttons = [ui.QuitButton("button.quit", _("Quit")), ui.Button("button.back", _("Back")), -- To view, visit https://gerrit.ovirt.org/40673 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I37641342c0ef5eec9781e769c8f42ac14fc056f7 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Ryan Barry <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
