Add collection of timezone info to collect

Bug #2037669 reported by Lance Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Lance Xu

Bug Description

Brief Description

Add call to timedatectl to collect so that a complete output of timezone info is gathered.

Add it as a extra info plugin.

sysadmin@controller-0:~$ timedatectl
               Local time: Mon 2023-09-25 14:30:01 UTC
           Universal time: Mon 2023-09-25 14:30:01 UTC
                 RTC time: Mon 2023-09-25 14:30:01
                Time zone: UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: n/a
          RTC in local TZ: no

Severity

Minor: timezone info can be inferred from the logs.

Steps to Reproduce

run collect

Expected Behavior

timezone info is added to collect

Actual Behavior

timezone info needs to be inferred from collect logs.

Reproducibility

100% as it is currently not included.

System Configuration

Any

Load info (eg: 2022-03-10_20-00-07)

N/A

Last Pass

Timezone info is inferred from logs.

Timestamp/Logs

N/A.

Alarms

N/A.

Test Activity

N/A

Workaround

Infer from logs

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to utilities (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/utilities/+/896957

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to utilities (master)

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/896957
Committed: https://opendev.org/starlingx/utilities/commit/3fe32f8f1aeb7c5ac64a41c1e17a3d29fab229f6
Submitter: "Zuul (22348)"
Branch: master

commit 3fe32f8f1aeb7c5ac64a41c1e17a3d29fab229f6
Author: Lance Xu <email address hidden>
Date: Fri Sep 29 10:55:08 2023 -0400

    Add collection of timezone info to collect

    This update adds a call to timedatectl to collect_host

    Test Plan:

    PASS: Verify build collector package
    PASS: Verify timedatectl output is added to collect bundle

    Closes-Bug: 2037669
    Change-Id: I4d5c46efe04b38f4e8f6f9d548e00d60762efcf0
    Signed-off-by: Lance Xu <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.tools
Changed in starlingx:
assignee: nobody → Lance Xu (lxu1)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.