News for hackers. Stuff that matters.
Re:Finding a problem at the bottom of the Google stack by Forge36 on Sunday March 15, 2020 @12:08PM (#22584188)
>an abnormally high number of errors

I wonder what the initial errors being logged were. Based on the post >These errors indicated CPU throttling

It sounds like the first tool is "show error counts".

It might have been "production is slower than normal, please investigate"

Your suggestion sounds like a good way to flag future issues "1 in 50 racks for X is running a temp", however I'm curious what the false positive rate would be. What if it isn't causing problems? Maybe you've spotted smoke.

Re:Finding a problem at the bottom of the Google stack by Nextgrid on Sunday March 15, 2020 @12:12PM (#22584209)
My suggestion is that the on-site people should have alerts about hardware events. Unless it's a failing sensor, there shouldn't be any false positives - if a machine is exceeding its recommended operating temperature it's still not good and warrants an investigation even if it isn't yet causing problems (in fact the point of these alerts is to catch and fix these issues before they cause any user-facing issues).
Re:Finding a problem at the bottom of the Google stack by Forge36 on Sunday March 15, 2020 @01:44PM (#22585040)
That I like. From the photos it's also obvious the rack is tipping. I'm curious why someone isn't doing a regular walkthrough. There could also be sounds of some hardware failures.

A remote SRE shouldn't need to monitor the hardware health, an on-site person should have caught this sooner.

I wonder how the person responsible for fixing/replacing the wheels felt about the follow-up

Re:Finding a problem at the bottom of the Google stack by cameronbrown on Sunday March 15, 2020 @02:17PM (#22585379)
Sure - the issue is we (the public reading this) don't know when this actually physically failed. It could be that SRE picked up on this before a scheduled walkthrough (of which I'm sure occurs) happened.

Disclaimer: Google employee. No knowledge of this event beyond the blog post.

Re:Finding a problem at the bottom of the Google stack by jldugger on Sunday March 15, 2020 @12:51PM (#22584504)
If BGP is busted, those errors were probably stuff like connection timeouts on services running inside borg/k8s.

But like, it's not impossible to measure temp on devices. It's entirely possible to design a temp monitor that tracks the physical grouping of equipment: datacenter -> aisle -> rack -> server

The real question is one of prioritization: if a rack's temp has raised but there's no customer error, is it an immediate problem?

Re:Finding a problem at the bottom of the Google stack by cowsandmilk on Sunday March 15, 2020 @01:10PM (#22584704)
> if a rack's temp has raised but there's no customer error, is it an immediate problem?

Here, the problem was on a machine running a google application, so they noticed. But this is a post on the google cloud blog. This just makes me think that Google isn’t monitoring the health of the hardware they provide to customers in the cloud. It is a change you have to make when you change the layer at which you are providing services to customers. If I’m using the google maps web site, I don’t care if they are monitoring cpu temperature if layers above insulate me from impact. If I’m spinning up a virtual machine, I will be directly impacted.

Re:Finding a problem at the bottom of the Google stack by jldugger on Sunday March 15, 2020 @03:08PM (#22585793)
Netflix keynotes described how entire AWS AZs can and will go offline, and how to induce failures to exercise recovery paths, so why is the evaluation criteria for GCP 'my single point of failure VM cannot ever go down?'
Re:Finding a problem at the bottom of the Google stack by AlphaSite on Sunday March 15, 2020 @04:04PM (#22586259)
Most companies are not Netflix and I’m not sure I understand why we are discussing AWS?

That post is more a statement on how errors which can be handled at the app layer can have catastrophic effects on lower level components. You cannot assume end customers are running thing at the scale or with the fault tolerance of google, or Netflix.

Re:Finding a problem at the bottom of the Google stack by jldugger on Monday March 16, 2020 @01:12AM (#22590206)
Most companies are not Netflix but all cloud customers can learn from their public design discussions. The only reason I mentioned AWS is that they are Netflix a high profile AWS customer, and their lessons in cloud architecture apply pretty cleanly to GCP. You cannot assume an SLA of 100 percent, even if it works out that way on shorter time scales. It's really no different than running your own datacenter, so I don't know where this 'monitoring will prevent catastrophy' fight is coming from.

> You cannot assume end customers are running thing at the scale or with the fault tolerance of google, or Netflix.

Correct, but there's a gradient between 'we have 10 copies of the service in 10 different countries and use Akamai GTM in case of outage' and Dave's one-off-VM. One-off VMs are fine if you know what you're getting into, and I use that setup for my personal, lowstakes & zero revenue website. But if you are a paying cloud customer, it makes sense to pay attention to availability zones regardless of scale.

And sure, there might be a market somewhere for a more durable VM setup. At a past non-profit job we provided customers the illusion of a single HA VM using Ganeti (http://www.ganeti.org/). But it's not clear to me that the segment is viable -- customers at the low and top end don't need the HA.

Re:Finding a problem at the bottom of the Google stack by joshuamorton on Sunday March 15, 2020 @04:12PM (#22586317)
Certainly, but you're making the assumption that Google does assume that.

Its completely possible to have different alerting setups for different binaries, and consider CPU throttling to not be a page-worthy issue for GFEs, but to be page-worthy for GCP jobs.

Re:Finding a problem at the bottom of the Google stack by Dylan16807 on Monday March 16, 2020 @07:19AM (#22591727)
> The real question is one of prioritization: if a rack's temp has raised but there's no customer error, is it an immediate problem?

A server CPU that's thermal throttling is about one step less serious than shutting off. While it's not urgent to deal with dead machines, a dying machine should be in the top priority bracket you see on a day-to-day basis.

Re:Finding a problem at the bottom of the Google stack by pas on Monday March 16, 2020 @04:57AM (#22591100)
What's wrong with looking at smoke? Maybe it pays off to put the smokey ones into a separate class, eg batch processing, so they will unlikely impact frontend serving requests.