Bug 1517156

Summary: gluster-integration - doesn't reload configuration
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Martin Kudlej <mkudlej>
Component: web-admin-tendrl-gluster-integrationAssignee: Rohan Kanade <rkanade>
Status: CLOSED WONTFIX QA Contact: Lubos Trilety <ltrilety>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: asriram, lnykryn, ltrilety, nthomas, rhs-bugs, rkanade, sanandpa, sankarshan, srmukher
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
When the user runs 'systemctl reload' the gluster integration configuration does not reload. To work around this issue, run 'systemctl restart'. Gluster integration restarts as part of this operation and the configuration is done.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-26 06:05:46 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:

Description Martin Kudlej 2017-11-24 10:16:17 UTC
This bug is about unfixed all expectations from bug 1515291.

Description of problem:
"systemctl reload" command doesn't reload gluster-integration configuration.

Version-Release number of selected component (if applicable):
tendrl-gluster-integration-1.5.4-3.el7rhgs.noarch

How reproducible:
100%

Steps to Reproduce:
1. get current date: $ date
2. get conf files for package: $ rpm -qc tendrl-gluster-integration
3. reload configuration: $ systemctl reload tendrl-gluster-integration
4. check if conf files from 2. are touched: $ find /etc/tendrl/ -type f | xargs stat | egrep '^Access: 2|File:'

Actual results:
"systemctl reload" doesn't reload service configuration.

Expected results:
"systemctl reload" reloads service configuration.

Additional info:
Cite from systemd documentation:
reload PATTERN...
           Asks all units listed on the command line to reload their
           configuration. Note that this will reload the service-specific
           configuration, not the unit configuration file of systemd. If you
           want systemd to reload the configuration file of a unit, use the
           daemon-reload command. In other words: for the example case of
           Apache, this will reload Apache's httpd.conf in the web server,
           not the apache.service systemd unit file.

           This command should not be confused with the daemon-reload
           command.

Comment 1 Nishanth Thomas 2017-11-24 13:36:31 UTC
Proopose to take this up in a later release.
Moving to next release.

Comment 2 Rohan Kanade 2017-11-27 08:53:28 UTC
Fixed: https://github.com/Tendrl/gluster-integration/issues/491

Comment 4 Lubos Trilety 2017-11-28 12:10:24 UTC
Tested with:
tendrl-gluster-integration-1.5.4-6.el7rhgs.noarch

Configuration was not reloaded.

Comment 5 Lubos Trilety 2017-12-05 14:31:06 UTC
Tested with:
tendrl-gluster-integration-1.5.4-8.el7rhgs.noarch

Configuration was not reloaded.

Comment 14 Nishanth Thomas 2017-12-07 04:21:04 UTC
Moving the bug out of 3.3.z