Aravinda VK has uploaded a new change for review.

Change subject: gluster: starting glusterd after install
......................................................................

gluster: starting glusterd after install

glusterd service was not started after installing. Added an event
which will get triggered after the gluster installation which starts
the glusterd service.

Change-Id: I4f65ea6cbb54c844fb42ad1a14c61c438ac0865a
Signed-off-by: Aravinda VK <[email protected]>
---
M src/plugins/ovirt-host-deploy/gluster/packages.py
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/30/14030/1

diff --git a/src/plugins/ovirt-host-deploy/gluster/packages.py 
b/src/plugins/ovirt-host-deploy/gluster/packages.py
index 70c7fbf..ff6ecc3 100644
--- a/src/plugins/ovirt-host-deploy/gluster/packages.py
+++ b/src/plugins/ovirt-host-deploy/gluster/packages.py
@@ -76,5 +76,12 @@
     def _packages(self):
         self.packager.installUpdate(('vdsm-gluster',))
 
+    @plugin.event(
+        stage=plugin.Stages.STAGE_CLOSEUP,
+        priority=plugin.Stages.PRIORITY_LOW
+    )
+    def _start(self):
+        self.logger.info(_('Starting gluster'))
+        self.services.state('glusterd', True)
 
 # vim: expandtab tabstop=4 shiftwidth=4


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f65ea6cbb54c844fb42ad1a14c61c438ac0865a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
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