Bug 1635591 - tcmu-runner: There is no notification on changing the log-level value in tcmu.conf file
Summary: tcmu-runner: There is no notification on changing the log-level value in tcmu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: tcmu-runner
Version: ocs-3.11
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: OCS 3.11.1
Assignee: Prasanna Kumar Kalever
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks: OCS-3.11.1-devel-triage-done 1644154
TreeView+ depends on / blocked
 
Reported: 2018-10-03 10:53 UTC by Rachael
Modified: 2019-02-11 07:22 UTC (History)
13 users (show)

Fixed In Version: tcmu-runner-1.2.0-28.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-07 03:38:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0285 0 None None None 2019-02-07 03:38:49 UTC

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


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