by jgrahamc · 3y ago · 0 comments
https://blog.cloudflare.com/cloudflare-outage-on-july-17-202...
In Microsoft's case, the remediation is not to put in place higher level systems to safely accomplish the goal of the command. Instead:
- "We have blocked highly impactful commands from getting executed on the devices (Completed)"
- "We will require all command execution on the devices to follow safe change guidelines (Estimated completion: February 2023)"
Requiring commands to follow guidelines sounds suspiciously like they're requiring network ops not to break things.
Take this for example, looks like the problem was an unplanned recalculation of routing tables. That's not going to be the case on a small scale test network, and rolling back won't help, indeed in this case it likely would cause more problems.
There isn’t a concept of a transaction or a rollback. You just enter a command, press enter and it’s live.
To counter this we’d write all the commands we planned on executing and peer review it. Nothing was to be done “on the fly” (at least in theory)
In short, coming from a developer perspective with ample version controls and gated releases… networking is a very wild ride.
At some point network vendors switched manuals from engineers documenting features whitebox to educated techs documenting features blackbox.
There's a clear transition for docs produced after 2008, prior to which more care went into tech notes and interpreting technologies -- after you're lucky to even get a complete set of steps and caveats without having to cross-reference bugs, release notes, old-manuals, new-manuals, draft manuals, reference manuals, licensing manuals, the inevitable errors that appear in the logs, and of course the configuration guide where this should all be in the first place.
In short, yes, this.
As a dev who has worked at one of the major networking vendors, I can assure you that is the not the case. You’d be surprised by how major bugs are handled internally, especially if the bug affects “important” customers.
Ansible/Napalm is a thing in NetOps in some places. Some folks use Eve-ng / GNS3 to spin up virtual networks to test config changes, and it may be possible to do CI/CD changes if you track things in a repo.
Juniper JunOS has auto-rollback if you don't confirm the change after "x" minutes:
* https://www.juniper.net/documentation/us/en/software/junos/c...
So if you did something that causes breakage and disconnection from the router, you (ideally) don't have to do anything but wait it out.
And virtual switches aren't the same as physical switches in any case, they have different bugs, different features, different responsiveness.
Compare this to my cisco/foundry/other experience where I would delay changes until I was in the office (physically colocated with main routers) or calling people to be onsite for what was 99% of the time an innocuous change. The stress of it led to me deferring changes or just skipping them entirely which led to more issues/stress/etc.
I'm really not sure there is a single software feature which improved my life as much as "commit confirmed"
I remember voicing at our team meeting "boy, they must be panicking at CloudFlare."
Cloudflare works so spectacularly we just wrote it off as a one time thing.
"Debugging Under Fire: Keep your Head when Systems have Lost their Mind" (Bryan Cantrill, GOTO 2017)