Bug 1197659 - [RHS3.0] System date different from glusterfs log dates
Summary: [RHS3.0] System date different from glusterfs log dates
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: rhgs-3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-02 10:42 UTC by Vimal Kumar
Modified: 2019-10-10 09:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-28 12:23:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Vimal Kumar 2015-03-02 10:42:13 UTC
a) Description of problem:

The system date is different from glusterfs log dates. There exists a bugzilla for RHS2.1, but none for RHS3.0. 

b) Version-Release number of selected component (if applicable):

glusterfs-libs-3.6.0.28-1.el6rhs.x86_64
glusterfs-cli-3.6.0.28-1.el6rhs.x86_64

c) How reproducible:

Always

d) Steps to Reproduce:

Check the output of 'date' command and compare it with the date of the logs in /var/log/glusterfs/

# date
Mon Mar  2 16:10:30 IST 2015

# less /var/log/glusterfs/etc-glusterfs-glusterd.vol.log

~~~
[2015-02-26 14:45:16.479661] I [MSGID: 100030] [glusterfsd.c:1998:main] 0-glusterd: Started running glusterd version 3.6.0.28 (args: glusterd --xlator-option *.upgrade=on -N)
[2015-02-26 14:45:16.536017] I [graph.c:269:gf_add_cmdline_options] 0-management: adding option 'upgrade' for volume 'management' with value 'on'
[2015-02-26 14:45:16.536308] I [glusterd.c:1188:init] 0-management: Maximum allowed open file descriptors set to 65536
~~~

e) Actual results:

The gluster logs are reporting in a different timezone compared to the system time.

f) Expected results:

The gluster logs should be reporting in the system date/time.

g) Additional info:

This is reported for RHS2.1 as well. 

https://bugzilla.redhat.com/show_bug.cgi?id=958062
https://bugzilla.redhat.com/show_bug.cgi?id=1121626

Comment 5 Atin Mukherjee 2016-03-28 12:15:59 UTC
The intention of keeping the log timing following UTC is to ensure the servers across different geography stick to a specific time zone w.r.t logging. Following system date would be really difficult to debug any issue where multiple nodes across different geography is involved.

IMHO, we should stick to this format and shouldn't change it to machine specific time.

Considering that can we close this case?

Comment 6 Bipin Kunal 2016-03-28 12:20:22 UTC
Sure, Atin. 

You can close the BZ.

Thanks,
Bipin

Comment 7 Atin Mukherjee 2016-03-28 12:23:44 UTC
Based on comment 5 & 6, closing this BZ.


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