Bug 2023169

Summary: container and node time zones are not in sync
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: skanta
Component: CephadmAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED WONTFIX QA Contact: Manasa <mgowri>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.1CC: aschoen, bniver, ceph-eng-bugs, gabrioux, gmeno, gsitlani, nthomas, sewagner, ykaul
Target Milestone: ---   
Target Release: 5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-05 13:41:50 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 skanta 2021-11-15 04:56:32 UTC
Description of problem:

After cluster configuration noticed that the node time zone is different from the container. Both are not in sync.

The container date showing in UTC and the node date is in EST. 


Snippet:
--------
[ceph: root@ceph-scrub-r7znlv-node1-installer /]# date
Mon Nov 15 04:26:07 UTC 2021
[ceph: root@ceph-scrub-r7znlv-node1-installer /]# exit
exit
[root@ceph-scrub-r7znlv-node1-installer cephuser]# date
Sun Nov 14 23:26:14 EST 2021
[root@ceph-scrub-r7znlv-node1-installer cephuser]#



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

[ceph: root@ceph-scrub-r7znlv-node1-installer /]# ceph -s
  cluster:
    id:     5cbd3862-4531-11ec-a19e-fa163e584fc2
    health: HEALTH_OK
 
  services:
    mon: 5 daemons, quorum ceph-scrub-r7znlv-node1-installer,ceph-scrub-r7znlv-node5,ceph-scrub-r7znlv-node2,ceph-scrub-r7znlv-node3,ceph-scrub-r7znlv-node4 (age 18h)
    mgr: ceph-scrub-r7znlv-node1-installer.toahcw(active, since 18h), standbys: ceph-scrub-r7znlv-node3.bgwedf
    osd: 16 osds: 16 up (since 18h), 16 in (since 18h)
    rgw: 1 daemon active (1 hosts, 1 zones)
 
  data:
    pools:   5 pools, 105 pgs
    objects: 221 objects, 4.9 KiB
    usage:   657 MiB used, 319 GiB / 320 GiB avail
    pgs:     105 active+clean
 
[ceph: root@ceph-scrub-r7znlv-node1-installer /]#


How reproducible:
Steps to Reproduce:
1. Configure 5.1 cluster
2.  execute date command on the node and in ceph container on the same node and check the outputs.


Actual results:

  Time zones are not in sync.
  

Expected results:

   Time zones should be in sync.

Comment 2 Sebastian Wagner 2022-01-05 13:41:50 UTC
upstream decided that this won't be a priority.