Better Logging for NTP sync or time related issues

XMLWordPrintable

    • 11

       

      Atlassian status as of Jan 2022

      Hi everyone, thank you all for your feedback on this request. 

      I'm happy to announce that in Bitbucket Data Center 7.19 we have shipped a check that logs a message in the mirror logs if the clocks from the upstream server and the mirror drift too much. The log message reads "Upstream and mirror clocks are out of sync by XXXs, check the system clocks on the upstream and mirror nodes. This can sometimes cause JWT authentication to fail"

      You can read more about Bitbucket DC 7.19 in release notes.

      Cheers,
      Wolfgang Kritzinger
      Senior Software Engineer


      Original suggestion

      We would like to see better logging for issues regarding NTP. 
      After rebooting a Mirror it would not connect back the upstream cluster.
      This was the error:

      "POST /rest/mirroring/latest/upstreamServers/b5f0e586-7d67-3f36-8a4c-833cc11effa1/addon/events HTTP/1.1" c.a.b.i.m.m.c.DefaultServerUpstreamClient Delegated authentication failed because the upstream rejected our mirror credentials. Perhaps the mirror has been disabled on the upstream? 
      

      The cause was that the Mirror needed to be synced with the NTP server.

            Assignee:
            Unassigned
            Reporter:
            Lonnie
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: