← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1319368] [NEW] Horizon's Local_settings config time_zone="UTC", shows wrong time

 

Public bug reported:

Description of problem:  Horizon.log's time stamp uses default UTC time,
in my case it's 3H slow, as I'm using time zone IDT=UTC+3.

Caused by local_settings parameter -> TIME_ZONE="UTC", which should be
automatically updated to reflect operating system's correct time zone.

Other logs (Cinder/Glance..) show correct time, I see no logic in
causing this time deviation between logs.

Updating time settings under UI, time_zone parameter on config still
didn't change, might be another bug.

Also this bug might be caused by my installer (packstack) failing to
update this parameter during initial setup phase.

Version-Release number of selected component (if applicable):
RHEL7 
openstack-dashboard-theme-2014.1-4.el7ost.noarch
openstack-dashboard-2014.1-4.el7ost.noarch

How reproducible:
Every time, checked on AIO as well as distributed setups.

Steps to Reproduce:
1. Compare log time stamp from Horizon to Glance/Cinder (or any other service)
2. If your system uses UTC time zone, you won't be effected by this bug.
3.

Actual results:
Horizon logs time shows UTC time, in my case slow by 3H. 

Expected results:
Horizon's log should show correct local time like other logs do. 

Additional info:
If there is a need for timezone parameter, why is it only available on Horizon's config file, while missing from Glance/Cinder.. config files, could this be a potential case for future RFE?

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1319368

Title:
  Horizon's Local_settings config time_zone="UTC", shows wrong time

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Description of problem:  Horizon.log's time stamp uses default UTC
  time, in my case it's 3H slow, as I'm using time zone IDT=UTC+3.

  Caused by local_settings parameter -> TIME_ZONE="UTC", which should be
  automatically updated to reflect operating system's correct time zone.

  Other logs (Cinder/Glance..) show correct time, I see no logic in
  causing this time deviation between logs.

  Updating time settings under UI, time_zone parameter on config still
  didn't change, might be another bug.

  Also this bug might be caused by my installer (packstack) failing to
  update this parameter during initial setup phase.

  Version-Release number of selected component (if applicable):
  RHEL7 
  openstack-dashboard-theme-2014.1-4.el7ost.noarch
  openstack-dashboard-2014.1-4.el7ost.noarch

  How reproducible:
  Every time, checked on AIO as well as distributed setups.

  Steps to Reproduce:
  1. Compare log time stamp from Horizon to Glance/Cinder (or any other service)
  2. If your system uses UTC time zone, you won't be effected by this bug.
  3.

  Actual results:
  Horizon logs time shows UTC time, in my case slow by 3H. 

  Expected results:
  Horizon's log should show correct local time like other logs do. 

  Additional info:
  If there is a need for timezone parameter, why is it only available on Horizon's config file, while missing from Glance/Cinder.. config files, could this be a potential case for future RFE?

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1319368/+subscriptions


Follow ups

References