Bug 1433287 - Update generated gdeploy config file to restart glusterd post setting up systemd slice for glusterfs
Summary: Update generated gdeploy config file to restart glusterd post setting up syst...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Gdeploy
Version: 0.10.7-0.0.15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.1.2
: 0.10.7-0.0.18
Assignee: Devyani Kota
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: Gluster-HC-3 1447919
TreeView+ depends on / blocked
 
Reported: 2017-03-17 10:18 UTC by SATHEESARAN
Modified: 2017-05-23 08:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-05-23 08:17:22 UTC
oVirt Team: Gluster
Embargoed:
sasundar: ovirt-4.1?
sasundar: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 74231 0 master MERGED gdeploy: restart glusterd instead of start. 2017-04-19 12:40:37 UTC
oVirt gerrit 75650 0 ovirt-4.1 MERGED gdeploy: restart glusterd instead of start. 2017-04-20 12:19:05 UTC

Description SATHEESARAN 2017-03-17 10:18:47 UTC
Description of problem:
-----------------------
The generated gdeploy config has the step to setup glusterfs slice. This works good in the case, when gluster-rpms were installed and then the slice was setup.

But in other cases, where glusterd is already running, it requires glusterd to be restarted for the slice setup to reflect.

So update the gdeploy config file to convert the action to 'restart' intead of 'start'

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
cockpit-ovirt-dashboard-0.10.7-0.0.15

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Initiate gluster deployment from cockpit
2. Review the generated gdeploy config file

Actual results:
---------------
glusterd is just started and so it doesn't restarts for slice configurations to come into effect

Expected results:
-----------------
glusterd should be restarted

Additional info:
-----------------
<existing_content>
  [service3]
  action=start
  service=glusterd
  slice_setup=yes
<existing_content>

<expected_content>
  [service3]
  action=restart
  service=glusterd
  slice_setup=yes
<expected_content>

Comment 1 SATHEESARAN 2017-03-20 07:06:34 UTC
Kasturi has provided the information that the host deploy workflow restarts glusterd. But again, it would be safe to have the glusterd restarted post setting up slice.

Comment 2 SATHEESARAN 2017-05-19 14:35:23 UTC
Tested with cockpit-ovirt-dashboard-0.10.7-0.0.18.el7ev

The generated gdeploy config file has a step to restart glusterd service post setting up slice


Note You need to log in before you can comment on or make changes to this bug.