Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-15897

leap-seconds.list file included as part of linuxptp-daemon container expired on June 28, 2023

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None
    • 8/14: 4.14 is verified, need to continue backport 4.13.

      This is a clone of issue OCPBUGS-15584. The following is the description of the original issue:

      Description of problem:

      The linuxptp-daemon container image ships its own version of the leap-seconds.list file, overwriting the one provided by the tzdata package [1][2]. This file has an expiration date of June 28, 2023. After this expiration date, ts2phc fails to parse the file and shows the following error message in the logs:
      
      nmea: unable to find utc time in leap second table
      
      This errors prevents ts2phc from working, since it discards all information received from the GNSS device file.
      
      [1] - https://github.com/openshift/linuxptp-daemon/blob/master/extra/leap-seconds.list
      [2] - https://github.com/openshift/linuxptp-daemon/blob/master/Dockerfile#L26

      Version-Release number of selected component (if applicable):

      Seen on OpenShift 4.13.x

      How reproducible:

      Always

      Steps to Reproduce:

      1. podman run -it quay.io/openshift/origin-ptp:4.13 sh
      2. cat /usr/share/zoneinfo/leap-seconds.list
      

      Actual results:

      Expiration date shown in the file is:
      
      #    Updated through IERS Bulletin C64
      #    File expires on:  28 June 2023
      #
      #@    3896899200

      Expected results:

      Expiration date should be the same as the file provided by https://www.ietf.org/timezones/data/leap-seconds.list:
      
      #	Updated through IERS Bulletin C65
      #	File expires on:  28 December 2023
      #
      #@	3912710400

      Additional info:

       

            aputtur@redhat.com Aneesh Puttur
            openshift-crt-jira-prow OpenShift Prow Bot
            Hen Shay Hassid Hen Shay Hassid
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: