Telstra outage: The night a network decided the year was 2006

(netnod.se)

51 points | by TMWNN 8 hours ago ago

23 comments

  • speedgoose 2 hours ago ago

    Human made summary: A telecom company had time synchronisation issues in a location of their infrastructure. They eventually used a single hardware GPS clock that fixed the issues but became their only authoritative clock in this location.

    One day, the clock was turn off and on and it went 1024 weeks backwards because the time GPS time protocol sucks and use a week counter with too few bits.

    Apparently a GPS clock can keep track of the time if it’s up and running when the week counter overflows, otherwise it has to take a wild guess. Apparently their hardware GPS clock used a hardcoded start time from its firmware instead of trusting a less reliable existing clock.

    The article finishes with some AI looking suggestions to prevent such an issue to happen again.

    Mine would be to have bought one or two more GPS clocks and not from the same provider.

  • scriptsmith 6 hours ago ago
    • anitil 5 hours ago ago

      They're pretty readable, I recommend that second one (though it leaves some questions I have unanswered). It's a good example of how latent issues with a large system can go unrecognised for a long time before a seeming unrelated change can trigger a cascading failure

      • skissane 4 hours ago ago

        One thing it doesn't make clear – the GPS card only supported the original L1 signal, which is what causes the GPS week rollover issue. The newer L2C signal has a much longer rollover period (157 years vs 19.6 years), which means no rollover until next century. If the GPS card had supported the newer L2C signal, then likely this would not have happened even if the other misconfigurations had still occurred.

  • Nux an hour ago ago

    Coincidentally just bought myself a stratum 1 ntp/gps "clock" few weeks ago for £60.

    Runs in my loft, what a time to be alive.

    https://lectronz.com/products/gps-ntp-server

  • rcaught 7 hours ago ago

    > Each decision solved the problem in front of it. Nobody was asked to look at the sum of all actions.

    This is the perfect description of Telstra as a company.

    • jiggawatts 5 hours ago ago

      This reminds me of this: https://obamawhitehouse.archives.gov/blog/2015/03/26/why-we-...

      I saw the talk version of that and it has lodged in my memory. The point he made was that "health.gov" was made by a bunch of teams that made sure that their part worked, but nobody was in charge of making the whole thing work.

      This is sadly "normal" for large bureaucracies.

      Every time I see a giant, multi-million dollar catastrophe, it's always "proper", "documented", "enterprise", "by the book", and... "a total failure". The reason is always that nobody actually cares about the final outcome, only the paperwork in front of them that they need fill out, the checkbox that needs to be ticked, or the compliance requirement that needs to be met.

      • UpsideDownRide 3 hours ago ago

        This, in my opinion, is some part of how we are schooling people - do as you are told and follow the rules and some part of not having stakes in the outcome.

      • consp 2 hours ago ago

        Why did you include the source tracker in your link?

        • jiggawatts 2 hours ago ago

          Definitely not on purpose! I keep forgetting that ChatGPT does that now, which is rather irritating because I don’t use it to write comments but the tracker makes it look like I do.

          I do use ChatGPT to resolve vague memories of articles read long ago into concrete URLs I can share, which is one of the best uses of the accursed things right now!

          I assure you that I am an organic meat human like yourself and the article dates itself to the “before times” and can also be trusted to be free of contamination.

          • hdgvhicv an hour ago ago

            ChatGPT is a far more useful search engine than Google, duckduckgo, etc.

            It won’t last, but just as Google was so much better than hotbit, altavista, yahoo etc back in the day.

      • seb1204 3 hours ago ago

        This was inspiring, thanks for sharing.

  • _kb 6 hours ago ago
  • cube00 7 hours ago ago

    Author needs to decide which end of the stratum stack they want as the top.

    > This design from 2010 had at the top stratum 1 sources at Australia's National Measurement Institute (NMI)

    > Among otherwise comparable candidates, the lower stratum carries more weight.

  • oasisbob 3 hours ago ago

    ai;dr

  • ipython 6 hours ago ago

    All I could think of while reading this was “has no one heard of ntptrace?”

  • vesinisa 4 hours ago ago

    Is it really so that Time Division Multiplex timing in cellular networks is based on NTP time? I stopped reading after the article implied this - it doesn't sound plausible at all.

    • hdgvhicv an hour ago ago

      I would assume it’s similar to dab etc, and it’s ptp that carried that data on IP. In the broadcast tv world we use ptp, or more traditionally black and burst, or word clocks in audio.

      The source is still the same - your grandmaster (ptp) or sync generator (b+b) is fed from a good timing source - often GPS, with one or two inputs, but sometimes local atomic clocks.

      I’ve seen issues before with 40ms audio gaps when a GPS antenna has died and the coders can’t cope with frame drift so they incentive a 40ms silence in the audio every 40 minutes or so as the source and destination clocks are different speeds by about 1 part in 60,000.

      In DAB the tolerances are far lower, there was a problem about 10 years ago due to a GPs satellite being a few microseconds off

      https://www.radioworld.com/trends-1/gps-anomalies-caused-pro...

    • kcexn an hour ago ago

      No. The official report seems to suggest that software in IMS core (the subsystem that controls VOIP signalling in the mobile network) bugged out after the time was shifted back 20 years. That doesn't narrow down the specific failure that stopped calls from going through very much. IMS core is full of timers, but it could also have been a license server issue for all the report said about it.

    • bigfatkitten 4 hours ago ago

      No, it absolutely is not.

      That timing requires a very tight time, frequency and phase reference. It’s derived from local high stability GNSS-disciplined time references.

  • RockRobotRock 7 hours ago ago

    Shout out to the Jeff Geerling video about this

  • rmunn 6 hours ago ago

    It's funny, but I had the same thing happen to me once. One day, overnight, my computer decided it was 2006.

    It happened twenty years ago...

    ;-)