Project

General

Profile

Actions

action #69718

closed

coordination #161414: [epic] Improved salt based infrastructure management

harmonize timezone used for our machines size:M

Added by okurz over 4 years ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Start date:
2020-08-07
Due date:
% Done:

0%

Estimated time:
Tags:

Description

Motivation

Has been first reported in #62309#note-3 that our workers use inconsistent timezone which makes reading and especially comparing logs harder. Also see #65118#note-29 for another related reported. We should use UTC on all machines to have something fair for all our users and employees regardless where they are situated, without time jumps and consistent.

Acceptance criteria

  • AC1: All machines used within OSD infrastructure use UTC consistently for their internal timezone
  • AC2: autoinst-log.txt files show UTC for new logs

Suggestions


Related issues 1 (0 open1 closed)

Related to openQA Infrastructure (public) - action #175989: Too big logfiles causing failed systemd services alert: logrotate (monitor, openqaw5-xen, s390zl12) size:SResolvedjbaier_cz2025-01-22

Actions
Actions #1

Updated by okurz almost 2 years ago

  • Tags set to infra
Actions #2

Updated by mkittler 8 months ago

I would also like to change the default in Grafana. We would just have to change a single line in /etc/grafana/grafana.ini:

# Default timezone for user preferences. Options are 'browser' for the browser local timezone or a timezone name from IANA Time Zone database, e.g. 'UTC' or 'Europe/Amsterdam' etc.
default_timezone = UTC
Actions #3

Updated by tinita 6 months ago

  • Category set to Feature requests
  • Target version changed from future to QE-Core: Ready
Actions #4

Updated by tinita 6 months ago

  • Target version changed from QE-Core: Ready to Ready
Actions #5

Updated by tinita 6 months ago

  • Subject changed from harmonize timezone used for our machines to harmonize timezone used for our machines size:M
Actions #6

Updated by dheidler 6 months ago

  • Status changed from Workable to In Progress
  • Assignee set to dheidler
Actions #7

Updated by tinita 6 months ago

  • Description updated (diff)

I just had a look at o3: the workers don't seem to use UTC yet, just the webui.
So maybe o3 can be done as part of this ticket, or a followup ticket should be created.

Actions #8

Updated by dheidler 6 months ago

  • Description updated (diff)
  • Status changed from In Progress to Feedback
Actions #9

Updated by dheidler 6 months ago

  • Status changed from Feedback to Resolved

Updated o3 workers by hand and osd host & workers via salt.c

Actions #10

Updated by okurz about 1 month ago

  • Status changed from Resolved to Workable
  • Priority changed from Low to Normal
  • Parent task set to #161414

Apparently only openQA worker+webUI were changed, also see https://suse.slack.com/archives/C02CANHLANP/p1737465467585649

@qa-tools Can we change timezone settings in z/kvm workers please?
Some tests are detecting time backwards jump as the test VM is configured with UTC, but the host has CET and during boot it confuses chrony

Actions #11

Updated by dheidler about 1 month ago

  • Status changed from Workable to Feedback
Actions #12

Updated by dheidler about 1 month ago

  • Status changed from Feedback to Resolved
Actions #14

Updated by jbaier_cz 24 days ago

  • Related to action #175989: Too big logfiles causing failed systemd services alert: logrotate (monitor, openqaw5-xen, s390zl12) size:S added
Actions

Also available in: Atom PDF