Bug 1672543 - [Tracker RHGS bug 1707259 ] Volume heal for block hosting volume is pending for over 4 hours
Summary: [Tracker RHGS bug 1707259 ] Volume heal for block hosting volume is pending f...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhgs-server-container
Version: ocs-3.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Raghavendra Talur
QA Contact: Rachael
URL:
Whiteboard:
Depends On: 1707259
Blocks: 1707226
TreeView+ depends on / blocked
 
Reported: 2019-02-05 10:01 UTC by Rachael
Modified: 2020-09-11 18:06 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1707259 (view as bug list)
Environment:
Last Closed: 2020-09-11 18:06:32 UTC
Embargoed:


Attachments (Terms of Use)

Comment 15 hari gowtham 2019-02-06 11:03:27 UTC
Further observations regarding the logging issue seen here:

The "cluster.daemon-log-level" is supposed to change the log level of the selfheal daemon.
While the "diagnostics.client-log-level" sets the client log level.
(It changes the fuse log level as well as the self heal log level.)

They show different behavior in situations.

One volume scenario:

1) When cluster.daemon-log-level is alone used, it works with a restart. 
Change not reflected on fuse volfile but in the selfheal volfile.

2) When diagnostics.client-log-level is alone used. it makes the change on both the fuse and selfheal volfiles.
And is effective after a restart.

3) When cluster.daemon-log-level is used after the diagnostics.client-log-level, the level set by diagnostics.client 
becomes effective and not the cluster.daemon. This is the reason we see that the log level changes are not becoming effective.

4) When tried in the other direction (cluster.daemon-log-level and then the diagnostics.client-log-level), then 
diagnostics.client-log-level becomes effective. Note: this changes both the self heal and the fuse log level.

5) When the diagnostics level is INFO, then changing the cluster.daemon level works.
While diagnostics was debug, it is not possible to set the cluster daemon to info.


TWO volumes scenario:

6) Both log level works fine. The diagnostics log level changes only for the fuse(on the particular volume where it was set) and not for the selfheal.
Self heal follows the cluster daemon log level.

If the diagnostics level is supposed to take precedence over the daemon log level, then the situation 5 should be allowed.
If that happens the way the 2 volume setup works is messed up.
This is the confusing part I have seen regarding the log level.


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