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

phc2sys spontaneously starts in ntpfailover

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • 4.22
    • 4.21
    • Networking / ptp
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      During ntpfailover where NTP is inaccessible, an os-clock-sync-state event is erroneously sent with value LOCKED. This appears to be caused by the phc2sys process starting up again during the failover and synchronizing the phc to timestamps without a valid fix. I'm not sure what causes phc2sys to start, however.

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

      4.21.0-202512161708

      How reproducible:

      only seen once so far

      Steps to Reproduce:

          1. Configure chronyd as part of a GM profile with ntpfailover to have a server with an unreachable IP. Then, simulate GNSS loss.
          2. Wait for an os-clock-sync-state FREERUN event to be received
          3. Wait for an os-clock-sync-state LOCKED event to be received shortly after
          

      Actual results:

      os-clock-sync-state LOCKED event sent before restoring GNSS

      Expected results:

      No os-clock-sync-state event sent before restoring GNSS

      Additional info:

      google drive with logs and CRs

      search for 85905 in the jenkins logs to see the failing test case

              josricha@redhat.com Joseph Richard
              rh-ee-klaskosk Kirsten Laskoski
              None
              None
              Kirsten Laskoski Kirsten Laskoski
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: