Bug 1349790

Summary: glusterfs slice configuration needs to be added while starting glusterd through gdeploy.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: gdeployAssignee: Sachidananda Urs <surs>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amukherj, asriram, rcyriac, rhinduja, sasundar, smohan
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3 Async   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gdeploy-2.0.1-1 Doc Type: Enhancement
Doc Text:
This update introduces the Slice Unit configuration feature for the glusterfs services to organize a hierarchy for barriering the processes within a specific memory, cpu limits. This feature ensures that the Red Hat Gluster Storage's systemd unit(s) starts within the specified Slice. To configure Slice, add the following parameter to the configuration file: slice_setup=yes
Story Points: ---
Clone Of:
: 1419513 (view as bug list) Environment:
Last Closed: 2017-02-07 11:33:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1351522, 1419513    

Description RamaKasturi 2016-06-24 09:34:47 UTC
Description of problem:
As of now gdeploy does not contain the glusterfs slice configuration which needs to be added in the hypervisor before starting glusterd.

Steps which needs to be added to gdeploy to have glusterfs slice configuration can be found in the grafton installation doc.

More info can be found in the link : http://opensource-storage.blogspot.in/2016/05/making-gluster-play-nicely-with-others.html

Version-Release number of selected component (if applicable):
gdeploy-2.0-16.el7rhgs.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 SATHEESARAN 2016-08-02 14:50:34 UTC
*** Bug 1362579 has been marked as a duplicate of this bug. ***

Comment 5 Sachidananda Urs 2016-09-06 16:03:34 UTC
This feature is added in latest commit: https://github.com/gluster/gdeploy/pull/162/commits


If user prefers to add slice, the config file should be written as:

[hosts]
10.70.37.47
10.70.37.147

[service]
action=start
service=glusterd
slice_setup=yes

This adds default values suggested by Paul Cuzner in http://opensource-storage.blogspot.in/2016/05/making-gluster-play-nicely-with-others.html

Comment 6 SATHEESARAN 2016-11-14 13:48:04 UTC
Tested with gdeploy-2.0.1-3.el7rhgs.

by mentioning 'slice_setup=yes' under 'service' sets up glusterfs slice as required

Comment 11 errata-xmlrpc 2017-02-07 11:33:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0260.html