This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2051824 - [RFE] Ability to manage and configure timezone inside Amphora VM
Summary: [RFE] Ability to manage and configure timezone inside Amphora VM
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-octavia
Version: 18.0 (Zed)
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Tom Weininger
QA Contact: Bruna Bonguardo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-08 06:15 UTC by rohit londhe
Modified: 2023-10-10 12:04 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-10 12:02:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 839937 0 None MERGED Make amphora timezone configurable 2022-05-24 06:19:42 UTC
OpenStack gerrit 842073 0 None MERGED Set amphora timezone based on TimeZone setting 2022-07-04 08:32:28 UTC
OpenStack gerrit 842079 0 None MERGED Allow amphora timezone configuration 2022-05-24 06:13:34 UTC
Red Hat Issue Tracker   OSP-12536 0 None None None 2023-10-10 12:02:48 UTC
Red Hat Issue Tracker OSP-29571 0 None None None 2023-10-10 12:04:06 UTC

Description rohit londhe 2022-02-08 06:15:02 UTC
Description of problem:

Octavia-Amphora is not logging in UTC

We have amphora-log-offloading enabled and all stacks / all services are logging in the specified timezone - Etc/UTC.

But the amphora seem to be hardcoded to 
~~~
 localtime -> ../usr/share/zoneinfo/America/New_York
~~~

In case of the Amphora the timezone has been set to America/New_York which causes the logs in octavia amphora.log on the controller to be written in that timezone instead of something sane like Etc/UTC

We need to make sure that TZ inside amphora Vm is also set/matches to Etc/UTC.


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