News for hackers. Stuff that matters.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by daneel_w on Thursday December 23, 2021 @02:46PM (#29665701)
"As is often the case with a loss of power, there may be some hardware that is not recoverable..."

No. Not even rarely. If they lost hardware because of this something much different than just loss of power happened on their servers' mains rails.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by jacquesm on Thursday December 23, 2021 @03:22PM (#29666048)
To forestall that reply: I did think about it before hitting the reply button. I've seen a couple of large scale DC power outages in my 35 years of IT work. The vast majority of the hardware came through just fine. But older data centers with gear that has been running uninterrupted for many years tend to have at least some hardware that simply won't come up again, due to a variety of reasons. One can be that the on-board batteries have gone bad, which nobody noticed until the power cycle. Another is that some harddrives function well as long as they keep spinning but that has worn a nasty little spot on the bearing that keeps the spindle aloft. When it spins down, depending on the orientation it may not be able to start back up again, it may even crash while spinning down. Powercycle enough gear that has been running for years and you will most likely lose at least some small fraction of it. You could do it the next day after taking care of those and everything would likely be fine.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by vlovich123 on Thursday December 23, 2021 @04:06PM (#29666471)
Wouldn’t a UPS + generator failover mean that the HW never spins down in the first place? That’s how I interpreted op’s statement anyway.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by acdha on Thursday December 23, 2021 @04:21PM (#29666624)
Hopefully, but those aren't perfect. Large data centers regularly test those because things can go wrong with any of the UPS, generator[1], or the distribution hardware which switches between the line and generator power. One of the longer outages I've seen was when the distribution hardware itself failed and burnt out multiple parts which the manufacturer did not have sufficient spares in our region.

AWS has a lot of very skilled professionals who are quite familiar with those issues so I'd be quite surprised if it turned out to be something that simple but you always want to have a contingency plan you've tested for what happens if core infrastructure like that fails and takes multiple days to recover.

1. One nasty example: fuel issues which aren't immediately obvious so someone doing a 5 minute test wouldn't learn that the system wasn't going to handle an outage longer than that.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by jacquesm on Thursday December 23, 2021 @04:18PM (#29666594)
I've seen plenty of UPS's fail, and generator failover is that moment when everybody stands there with their fingers crossed.

None of those things are fool proof and in case of a large scale outage, especially one that lasts more than a couple of minutes there is a fair chance that you will find the limitations of some of your contingency plans.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by X-Istence on Thursday December 23, 2021 @03:50PM (#29666303)
Having worked in datacenter where servers were running for 5+ years in racks, when the datacenter went dark due to a UPS going up in flames there were definitely systems that did not come back online.

Most notably we had a large NetApp array that would not boot, once we replaced the controllers we had lost 13 out of the 60 hard drives in the array. They would no longer spin up. Like physically seized. Because they had been spinning for so long, they would have likely kept spinning just fine, but with power gone, it was done.

Fans are another fun one, anything with ball bearings really. Power supplies are another issue, due to the sudden large inrush of power when the switch was flipped back to on, some power supplies had their capacitors go up in smoke.

This is not rare, this a common occurrence. When you have an absolutely massive footprint with thousands upon thousands of servers, that have been running for a long time, there will be things that just don't come back once they have stopped running or when the electricity is gone.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by jdsully on Thursday December 23, 2021 @02:50PM (#29665739)
Starting up is hard on electronics due to the inrush current. There may be marginal devices just barely operating that will not survive a reboot. Things like bad capacitors aren’t always detectable during steady state.

At AWS scale it’s highly likely there are more than a few of these.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by daneel_w on Thursday December 23, 2021 @02:56PM (#29665791)
Did you think this over before hitting the reply button? Can you imagine any server or networking brand surviving if its products were at substantial risk of dying when powering up or cycling? Have you ever heard of common consumer grade computer equipment regularly dying from it? No? Not me either.

It's really common to find thyristors in devices to limit in-rush current, even in cheap electronics. You can bet that PSUs in data center equipment use them.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by sonofhans on Thursday December 23, 2021 @03:07PM (#29665882)
It's a scale problem. We're not talking about "substantial risk" or "regularly dying." At AWS scale even 0.01% cold start failure is noticeable. It's not possible to guarantee perfect operation of each system or component; physical things wear out. If you can find a way to avoid cold-start failure 100% of the time your product would be valuable to many businesses.

Also:

> Did you think this over before hitting the reply button?

This is ad hominem, and we should avoid it here.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by hhh on Thursday December 23, 2021 @03:39PM (#29666199)
I don’t know if it’s intentional, but your comment comes off very hostile.

Recently we has a violent power outage where I work due to the tornados in the midwest. A few of our facilities have industrial hardware with batteries that will last for 72 hours and after that point it’s a world of unknowns what will happen. The batteries died after a lot of effort to try and restore power, but everything came up just fine.

However, a random Cisco switch elsewhere in the building had at least one power supply fail.

This was in one facility where most of these have been running for 4+ years straight (12 years for the system with a 72 hour battery.)

I find it hard to imagine that in the scale of even one AZ that it wouldn’t be possible that at least one system has this happen.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by acdha on Thursday December 23, 2021 @04:08PM (#29666499)
> Did you think this over before hitting the reply button? Can you imagine any server or networking brand surviving if its products were at substantial risk of dying when powering up or cycling?

This is hostile enough that I'd have trouble squaring it with the site guidelines.

It's especially bad because, as others have been saying, your belief isn't supported by real lived experience for many of us. A data center has enough devices that even a low probability error rate will fairly reliably happen, and that doesn't usually hurt the manufacturer's reputation because they never promised 100% and will replace it under warranty. I've seen this with hard drives especially but also things like power supplies and on-board batteries, and even things like motherboards where a cooling/heating cycle was enough to unseat RAM or cause hairline fractures in solder traces.

This can be especially bad with unplanned power outages if the power doesn't instantly go out and stay out for the duration. Especially for hard drives hitting the power up/down cycle a few times was a good way to have extra failures.

Unscheduled power outages can be even worse

Re:AWS power failure in US-EAST-1 region killed some hardwar... by jacquesm on Thursday December 23, 2021 @04:34PM (#29666763)
I've seen even planned outages and tests result in failed hardware.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by acdha on Thursday December 23, 2021 @05:37PM (#29667296)
Ditto — you never do a substantial shutdown without learning something.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by jeffbee on Thursday December 23, 2021 @03:58PM (#29666397)
> Have you ever heard of common consumer grade computer equipment regularly dying from it?

You have outed yourself as someone with zero experience operating computers, either individually or at scale. Computers have moving parts, whether fans or hard disk drives. Just because those were moving doesn't mean they will begin moving again from a dead stop. There are also things like dead cmos/nvram batteries that can prevent machines from automatically starting when power is applied.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by emodendroket on Thursday December 23, 2021 @02:57PM (#29665799)
> Have you ever heard of common consumer grade computer equipment regularly dying from powering up?

Yes, absolutely.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by daneel_w on Thursday December 23, 2021 @03:00PM (#29665825)
You're romanticizing here. Electronics eventually dying is not the same as being at substantial risk from dying due to power-cycling itself.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by emodendroket on Thursday December 23, 2021 @03:01PM (#29665834)
No, I am not. I personally have experienced this. Pop, whoops, it doesn't work anymore.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by daneel_w on Thursday December 23, 2021 @03:03PM (#29665846)
Same. What you're romanticizing about is it being a common and regular occurrence. It's not. It's a fluke.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by emodendroket on Thursday December 23, 2021 @03:30PM (#29666102)
Now imagine you have one of the world's largest assemblages of electronic devices and they all turn on at once. How likely are some flukes?
Re:AWS power failure in US-EAST-1 region killed some hardwar... by dpratt on Thursday December 23, 2021 @03:32PM (#29666131)
And when you have 500,000 copies of something, most of which have been in use for some appreciable fraction of their effective lifetime, it doesn’t have to be “common” to occur to some fraction of them.

The post you’re responding to never implied that it happens to _most_ of them, or even many of them, just that when you have a gigantic farm, it’s not unreasonable to see a small handful of hardware instances release up their magic smoke when they’re all coming back from being powered down.

MTBF is a thing.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by ericd on Thursday December 23, 2021 @03:33PM (#29666138)
A fluke x massive scale = regular occurrence.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by unionpivo on Friday December 24, 2021 @10:53AM (#29674574)
Pretty much anyone who has worked in datacenter disagrees with you. Your assumptions that you know better than people working there are arrogant to extreme.

If electronics (not just computer) is going to fail its almost always at power on or power off.

And since DC is one big electronics warehouse, stuff breaks. Old spinning drives were most prone to this, with power supply and motherboards being second.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by KronisLV on Thursday December 23, 2021 @06:03PM (#29667564)
Right now i run my homelab on consumer hardware in addition to my cloud VPSes.

Due to me not having that much free space and also enjoying a good night's sleep, i have cron set up to put the servers offline (rtcwake) while i'm sleeping, so that they wouldn't just go on droning in the background and to start up in the morning.

Since they do this every day with no exceptions, that's a decent amount of power cycling, in addition to them working all the time otherwise, which has been going on for about 5 years or so.

So essentially each of them has been on for about 30'000 - 35'000 hours and has power cycled around 1800 - 3600 times, because for the longest time i've had a cron restart set up right after the rtcwake sleep period finishes, due to some odd bug in the kernel that otherwise caused their CPUs to get stuck at 100% usage after waking up.

Over these 5 or so years, i've had:

  - 2 PSUs die (possibly one due to a power surge though, before i had UPSes in front of them), seemed to work fine but then one morning didn't start up
  - 2 HDDs die (Seagate Barracuda 1 TBs, each box has 2-3 of them), typically this isn't abrupt, but the HDDs lose power when trying to spin up and loop like that for a while before eventually deciding to work, before eventually not being able to do that anymore at all; oddly enough, Clonezilla could still mirror such a disk after a few attempts
  - 1 motherboard die (not sure precisely why, then again, for a while in my university i had the servers (without cases) up next to a slighty ajar window, even in winter as well as in summer, while they were otherwise only passively cooled (x86, but 35W TDP 200 GEs)
  - some problems with bearings, once in a cheap CPU fan before i had passive cooling and then again in one of the current PSU fans, sometimes when starting up it sounds like a miniature chainsaw (checked the fan, isn't actually seized up or anything, just cheap bearings)
  - some problems with the power button (well, more like the pins, since i didn't have a proper button at one point, just a screwdriver to close the circuit with), though i solved that by closing the circuit on the ATX connector itself by putting a little wire in there
All of the failures have happened around power cycling, never in the middle of otherwise normal operation.

To my surprise, nothing has actually melted or caught fire, the last time when anything close to that happened was ages ago with my 9800 GT GPU which for some reason started getting really bad thermals (90 degrees C) and so i had to reflow solder it in the oven a few times, before eventually it just refused to work and artifacted out on boot. Or maybe i could mention a MOLEX connector stopping working, but i might just have a splitter in there due to not enough SATA connections from the PSU, something that people typically advise against.

So, to sum all of that up, yes, consumer hardware will definitely die from regular use under normal circumstances, probably moreso with regular power cycling of parts that aren't really made for that (especially the regular HDDs, which seemed to die right after restarts). Also, my case might be an outlier (and a sample size of 1), due to me not caring that much in university about keeping the servers in a good environment, but i bet that most consumer hardware has to deal with sub-optimal conditions in one way or another - accumulation of dust, bad airflow, air humidity, ambient temperature and power grid fluctuations all should also be taken into account.

I actually had to stagger the startup times for my servers, since otherwise they'd max out their power draw at the same time in the morning (e.g. when launching Docker containers and spinning up VMs), which also lead to some weirdness. Of course, the quality of the parts themselves probably also matters (like a reputable brand PSU vs the cheaper options that i could afford) as much as how they're used (prolonged periods of full load while everything starts up), as do other factors, like vibrations of the HDDs, for example.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by kube-system on Thursday December 23, 2021 @03:00PM (#29665824)
I am not sure whether or not inrush current (or thermal cycling, or something else) is to blame, but server equipment in data centers has been fairly well documented to exhibit increased hardware failure rates after outages.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by organsnyder on Thursday December 23, 2021 @03:05PM (#29665863)
Substantial? No. A low percentage that is still large enough to be impactful in a datacenter? Absolutely.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by X-Istence on Thursday December 23, 2021 @03:51PM (#29666315)
When you've got a massive datacenter packed, even 0.01% is a meaningful amount of hardware.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by nicolaslem on Thursday December 23, 2021 @02:53PM (#29665772)
It is common for failing hard drives to continue running until their are power cycled, at which point they never start again.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by X-Istence on Thursday December 23, 2021 @03:52PM (#29666326)
Having had to restore a NetApp cluster from backup because the disks would no longer spin up after having been running for 4+ years... yup. The hardware was fully working and according to all internal metrics was still perfectly good, but a power outage and they never came back up.
Re:AWS power failure in US-EAST-1 region killed some hardwar... by joshuamorton on Thursday December 23, 2021 @04:06PM (#29666480)
Yes, its a fairly well known issue at datacenter scale that if you power-cycle everything, some percentage of things won't turn back on (I recall something like 1% of HDDs just failing to work again being the number quoted at me). This obviously isn't the case for fresh new HDDs, but ones that have been spinning continuously for a years.

Other hardware is similar.

Re:AWS power failure in US-EAST-1 region killed some hardwar... by Johnny555 on Thursday December 23, 2021 @04:21PM (#29666620)
If my home UPS failed, I'd be awfully surprised if my home fileserver that was plugged into it failed too.

But if I lost power to thousands of servers, I'd expect some number of them to fail. I've even lost servers when losing power to a single rack.