Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: setup: enforce NFS storage
......................................................................

packaging: setup: enforce NFS storage

enforce NFS storage until glusterfs issues will
be solved.

Change-Id: Ic446dc976e435e490d76c6ec6d9076f9cb8322ee
Bug-Url: https://bugzilla.redhat.com/1031510
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
---
M src/plugins/ovirt-hosted-engine-setup/storage/storage.py
1 file changed, 22 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-setup 
refs/changes/79/21379/1

diff --git a/src/plugins/ovirt-hosted-engine-setup/storage/storage.py 
b/src/plugins/ovirt-hosted-engine-setup/storage/storage.py
index a1924ad..8e4b4f3 100644
--- a/src/plugins/ovirt-hosted-engine-setup/storage/storage.py
+++ b/src/plugins/ovirt-hosted-engine-setup/storage/storage.py
@@ -686,27 +686,32 @@
                 ohostedcons.StorageEnv.DOMAIN_TYPE
             ] is None
         )
-
+        #{ Enforce DOMAIN_TYPE to nfs until glusterfs issues are solved.
+        self.environment[ohostedcons.StorageEnv.DOMAIN_TYPE] = 'nfs'
+        #}
         validDomain = False
         while not validDomain:
             try:
                 if interactive:
-                    self.environment[
-                        ohostedcons.StorageEnv.DOMAIN_TYPE
-                    ] = self.dialog.queryString(
-                        name='OVEHOSTED_STORAGE_DOMAIN_TYPE',
-                        note=_(
-                            'Please specify the storage '
-                            'you would like to use (@VALUES@)[@DEFAULT@]: '
-                        ),
-                        prompt=True,
-                        caseSensitive=True,
-                        validValues=(
-                            'glusterfs',
-                            'nfs',
-                        ),
-                        default='nfs',
-                    )
+                    #{ Enforce DOMAIN_TYPE to nfs until glusterfs
+                    # issues are solved.
+                    #self.environment[
+                    #    ohostedcons.StorageEnv.DOMAIN_TYPE
+                    #] = self.dialog.queryString(
+                    #    name='OVEHOSTED_STORAGE_DOMAIN_TYPE',
+                    #    note=_(
+                    #        'Please specify the storage '
+                    #        'you would like to use (@VALUES@)[@DEFAULT@]: '
+                    #    ),
+                    #    prompt=True,
+                    #    caseSensitive=True,
+                    #    validValues=(
+                    #        'glusterfs',
+                    #        'nfs',
+                    #    ),
+                    #    default='nfs',
+                    #)
+                    #}
 
                     self.environment[
                         ohostedcons.StorageEnv.STORAGE_DOMAIN_CONNECTION


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic446dc976e435e490d76c6ec6d9076f9cb8322ee
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: ovirt-hosted-engine-setup-1.0
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to