The Tale of the SSO, that was really a database, that was really a script

Medium

Hello, and welcome. I’m back with a story, this time, involving a single-sign-on application that crashed, or so I was told.

This story starts with our valiant multi-role specialist, $Space, happily asleep and dreaming of greener pastures. Or really, pastures that look strangely like the inside of a gym, hanging 20 feet up off a wall by their fingertips.

The phone goes off.

$Space

No reply, there are snores about.

Our single sign-on is down

Currently, they are trying to figure out how to climb down from a wall in their dreams.

Another notification appears. This time, from a different user.

$Space, our website is down

Our technologist continues to slumber.

Eventually, he awakes, after having climbed sixty or so feet horizontally, rather than the twenty feet to the floor. Why? Nobody knows.

He checks his notifications. Sees that the single sign-on is down. Or so he was told.

Hmm, that’s weird. It’s been rock solid ever since I fixed the database bug.

The single sign on application is custom-built, but has been extremely robust and fast, or so our engineer thinks. The truth lies somewhere left of field.

Our engineer checks the single sign on. It offers up the proper page when he opens it on his phone.

That can’t be the issue.

He slowly catches up on his messages, not entirely sure about what was down. He checks the status of the main user portal that supports a couple thousand members. That seemed to be online as well. He then opens up the cloud dashboard, and sees all the servers are online, except for one he crashed the night before.

I should fix that.

Everything looks normal. He asks $WebsiteDeveloper, who built the user portal, what happened.

$Space: What happened this morning?

$WebsiteDeveloper is an intelligent engineer who has built this entire application from scratch. So, it is safe to say, they are a very competent person.

$WebsiteDeveloper: It looked like our site was running off a database change from April that only just got deployed. I think it crashed the site, so I reverted it.

This database change was made to allow all the sites to access the database through the local network, rather than hopping through two firewalls to access each other - no more access rules needed to be in place. In fact, the old setup no longer functioned at all, as the firewall rules that allowed such access had been removed. Reverting this change would be a Very Bad Thing.

$Space: Hold on a second, let me check something

He checks the software. The website has been using the new database since April, and it was not just deployed, as he was told.

$Space: I hate to say it, but we’ve been running on the new database for about three months now

$WebsiteDeveloper: Yeah, I thought it was that, but it was actually the deploy script.

The deploy script is used by our applications to automatically start themselves when they are spun up on a new machine. This script has not been changed for at least six months.

$WebsiteDeveloper: It seemed to not migrate the database properly. So I updated the script, and it all works now.

$Space, internally: Gee, thanks for telling me that I didn’t need to panic

$Space: Cool. So everything is set?

$WebsiteDeveloper: Yup. Everything is online.

$Space: When do you think we can move to the new version of the user portal?

$WebsiteDeveloper: $Testers have been finding some bugs, and $ProjectManager still isn’t happy that we don’t have that search API. When do you think you can have it available?

$Space: I guess I have to get that started, don’t I?

And thus, our tale is complete. Everything ended up fine, and our valiant engineer was not needed to fix anything major. Only the server that they crashed the previous evening.

TL:DR: The SSO was down. Except it wasn’t, the database was actually down. Except it wasn’t, the deploy script was broken.

Posted Jul 11, 2020, 9:44 PM UTC

1514
kirashi3If it ain't broke, you're not trying.•

Though I am but a mere second level support lackey, something tells me there were too many cooks in the kitchen for this SSO deployment.

Or rather, it wasn't too many cooks, it's just that some of the cooks left knives in the sink, one guy left the fryer on, and building maintenance upgraded the fire suppression system, all without telling anyone what each had done.

Then they wondered why Joey cut his hand, except he didn't because the building was on fire, except it wasn't because the fire suppression system worked, except it didn't because this is an IT nightmare I can't wakeup from.

Remembet, me, you're only second level support. You shouldn't get so worked up over stuff outside your department, no matter how much you care about keeping things online. Nothing to see here, move along.

23
space55OPHah, he thinks we're not manglement•

The interesting thing is I was the sole person to do with the SSO. So what we’ve determined is I am too many cooks, I’m being replaced by an AI of my own design. Then raking in those consulting dollars on maintaining myself.

15
meitemarkPrinterers are the goodest girls•

Start sleep mode, add $xxx to bill.
End sleep mode, add $xxx to bill.

7
Capt_BlackmooreZombie IT•

Teach the AI to drink, and you'll still have a job?

4