Bug 1635591

Summary: tcmu-runner: There is no notification on changing the log-level value in tcmu.conf file
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rachael <rgeorge>
Component: tcmu-runnerAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED ERRATA QA Contact: Neha Berry <nberry>
Severity: low Docs Contact:
Priority: unspecified    
Version: ocs-3.11CC: bgoyal, bshetty, knarra, kramdoss, nberry, pkarampu, pprakash, prasanna.kalever, rcyriac, rhs-bugs, sankarshan, vbellur, xiubli
Target Milestone: ---Keywords: ZStream
Target Release: OCS 3.11.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tcmu-runner-1.2.0-28.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 03:38:29 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: 1641915, 1644154    

Description Rachael 2018-10-03 10:53:49 UTC
Description of problem:

With the introduction of https://bugzilla.redhat.com/show_bug.cgi?id=1561323, dynamic reloading config feature is supported for tcmu-runner daemon. However, on making configuration changes, there should be messages logged stating that a certain configuration has been changed, which is currently missing.

For example: On changing the log-level from INFO to DEBUG, the logs should show  a message similar to "logLevel now is DEBUG"


Version-Release number of selected component (if applicable):
gluster-block-0.2.1-27.el7rhgs.x86_64       
libtcmu-1.2.0-25.el7rhgs.x86_64
tcmu-runner-1.2.0-25.el7rhgs.x86_64

How reproducible: 100%


Steps to Reproduce:
1. Edit /etc/tcmu/tcmu.conf and change the log-level value
2. Save the file

Actual results:

No messages are logged mentioning that changes have been made


Expected results:
Logs should show change in configuration messages

Additional info:

Comment 2 Xiubo Li 2018-10-03 11:32:30 UTC
The upstream PR:
https://github.com/open-iscsi/tcmu-runner/pull/482

Comment 16 errata-xmlrpc 2019-02-07 03:38:29 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://access.redhat.com/errata/RHBA-2019:0285