Aravinda VK has uploaded a new change for review.

Change subject: packaging: Do not enable Gluster in Default cluster
......................................................................

packaging: Do not enable Gluster in Default cluster

DEFAULT cluster is created during installation of engine.
If Application mode is selected as BOTH during installation,
DEFAULT cluster will be created with both Gluster and Virt enabled
by default.

By default only virt will be enabled in DEFAULT cluster.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=988453

Change-Id: Ic8b4d15689c730428aad09dd0c981faf5732731d
Signed-off-by: Aravinda VK <[email protected]>
---
M packaging/fedora/setup/engine-setup.py
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/52/17552/1

diff --git a/packaging/fedora/setup/engine-setup.py 
b/packaging/fedora/setup/engine-setup.py
index 0478d7b..2e48c4d 100755
--- a/packaging/fedora/setup/engine-setup.py
+++ b/packaging/fedora/setup/engine-setup.py
@@ -1111,12 +1111,11 @@
 
 def _setApplicationMode():
     virtService = 'true'
-    glusterService = 'true'
+    glusterService = 'false'
 
     if controller.CONF["APPLICATION_MODE"].upper() == "GLUSTER":
         virtService = 'false'
-    elif controller.CONF["APPLICATION_MODE"].upper() == "VIRT":
-        glusterService = 'false'
+        glusterService = 'true'
 
     # Update default cluster group service types, since default value of 
gluster_service
     # column is false.


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8b4d15689c730428aad09dd0c981faf5732731d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Aravinda VK <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to