Update tzdata / leap-second file with Dec 2024 expiry

Bug #2054466 reported by Scott Little
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Scott Little

Bug Description

Brief Description
-----------------
The current tzdata / leap-second files have an expiry of Dec 28, 2023. This launchpad tracks updating to a newer version of the files w/ expiry of Dec 2024.

Note: The leap-second file was previously updated as part:
- https://bugs.launchpad.net/starlingx/+bug/2039739
- https://bugs.launchpad.net/starlingx/+bug/2015272
- https://bugs.launchpad.net/starlingx/+bug/1995645

Leap second announcement: https://datacenter.iers.org/data/16/bulletinc-067.txt

tzdata 2024a-0+deb11u1 is the latest for Bullseye, and is valid until Dec 24

Severity
--------
Major - ptp functionality doesn't work if the leap-second files expire as per CGTS-36305

Steps to Reproduce
------------------
N/A

Expected Behavior
-----------------
N/A

Actual Behavior
---------------
N/A

Reproducibility
---------------
N/A

System Configuration
--------------------
Any

Load info (eg: 2022-03-10_20-00-07)
-----------------------------------
Affects the main branch as well as stx.8.0 & stx.7.0

Last Pass
---------
N/A

Timestamp/Logs
--------------
N/A

Alarms
------
N/A

Test Activity
-------------
Monitoring of leap-second file expiry

Workaround
----------
copy a new leapseconds.list file on the controller

$ cat /home/sysadmin/leapseconds.list | grep expire
# File expires on: 28 June 2024

$ system ptp-instance-parameter-add ts1 leapfile=/home/sysadmin/leapseconds.list

$ system ptp-instance-apply
Applying the PTP Instance configuration

$ system ptp-instance-show ts1
| parameters | [u'logging_level=7', u'domainNumber=24', u'ts2phc.nmea_serialport=/dev/ttyGNSS_5100_0', u'use_syslog=1', u'leapfile=/home/sysadmin/leapseconds.list', u'slaveOnly=0'] |

$ cat /usr/share/zoneinfo/leap-seconds.list | grep expire
# File expires on: 28 June 2024

$ cat /usr/share/zoneinfo/leapseconds | grep expire
# UTC timestamp when this leap second list expires.
#expires 1672185600 (2022-12-28 00:00:00 UTC)
# File expires on: 28 Dec 2024

Scott Little (slittle1)
Changed in starlingx:
assignee: nobody → Scott Little (slittle1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (master)

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

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

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

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

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

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

Reviewed: https://review.opendev.org/c/starlingx/integ/+/910836
Committed: https://opendev.org/starlingx/integ/commit/1bbcf7596b4e73481ebbad6ef0ae46aa9ceb9bbc
Submitter: "Zuul (22348)"
Branch: master

commit 1bbcf7596b4e73481ebbad6ef0ae46aa9ceb9bbc
Author: Scott Little <email address hidden>
Date: Tue Feb 20 15:15:46 2024 -0500

    update tzdata

    tzdata expires every 6-12 months.

    Update to the latest tzdata, valid until Dec 2024
    The new tzdata is supplied by upstream, we no longer need
    to build it ourselves. We just need to be sure it is included
    in the iso.

    Verification:
    - tzdata is no longer built
    - build-iso and make sure it contains the new package
    - check the package to ensure it contains the
      expected leap-seconds.list file
    - boot the iso and ensure nothing weird observed
      regarding the date
    - run "export TZ=/usr/share/zoneinfo/EST5EDT" followed
      by the date command and ensure that it displays the
      correct time for that timezone

    Partial-Bug: 2054466
    Change-Id: I765dc225f9b9f23799af662cd87fe94703857241
    Signed-off-by: Scott Little <email address hidden>

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

Reviewed: https://review.opendev.org/c/starlingx/tools/+/910830
Committed: https://opendev.org/starlingx/tools/commit/baecf294d286585b262a60a138527221b0f5a1c0
Submitter: "Zuul (22348)"
Branch: master

commit baecf294d286585b262a60a138527221b0f5a1c0
Author: Scott Little <email address hidden>
Date: Mon Feb 26 17:37:56 2024 +0000

    update tzdata

    tzdata expires every 6-12 months.

    Update to the latest txdata, valid until Dec 2024

    Partial-bug: 2054466
    Change-Id: Ie85112c3cd7bfa9fb29f738f88875f82a72e5b15
    Signed-off-by: Scott Little <email address hidden>

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

Reviewed: https://review.opendev.org/c/starlingx/root/+/910835
Committed: https://opendev.org/starlingx/root/commit/343fad4a9a6ed75a0678a01b41675be711f69ad5
Submitter: "Zuul (22348)"
Branch: master

commit 343fad4a9a6ed75a0678a01b41675be711f69ad5
Author: Scott Little <email address hidden>
Date: Tue Feb 20 15:49:59 2024 -0500

    update tzdata

    tzdata expires every 6-12 months.

    Update to the latest txdata, valid until Dec 2024
    The new tzdata is supplied by upstream, we no longer need
    to build it ourselves. We just need to be sure it is included
    in the iso.

    Partial-Bug: 2054466
    Change-Id: Ibf676fa64dd51a9e7c9882426c57017dd7ed47b8
    Signed-off-by: Scott Little <email address hidden>

Ghada Khalil (gkhalil)
tags: added: stx.distro.other
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.9.0
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Confirmed with Scott Little that the merged reviews address this LP, so setting to Fix Released

Changed in starlingx:
status: In Progress → Fix Released
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.