Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Deployment] Fix Backend Deployment Bug #386

Merged
merged 1 commit into from
May 13, 2022
Merged

Conversation

joyliu-q
Copy link
Contributor

This PR fixes the courses backend bug from the previous transition to Kittyhawk, as well as making some nit improvements on the kittyhawk deployment code.

Cause for problem

After switching from Icarus to Kittyhawk in PR #358, our courses products began experiencing problems at any of the subroutes (e.g. /admin or /accounts) with a Bad Gateway error. The products are still viewable and frontend available, but anything that required logging in or searching for course review were down.

Because all of the products were still accessible yet unfunctional, this must be caused by something shared by all courses product, which narrows the problem to the courses backend. After reinstalling the products using icarus (helm) last night and taking a closer comparison at the yaml today, I found out that the results were due to an extra line here.

Prevention in the future

This is a DevOops. I was trying to transition a lot of products over and should have not only taken a closer look at whether the yaml itself made sense, but also at the original configurations. Earlier, I also accidentally misspelled some of our products domains (e.g. penncourse.org vs .com) :'D

In the future, it would be beneficial to keep an improved checklist for deployment transitions, as well as have another person review non-time-sensitive migration PRs like these in order to catch any mistakes.

Also, with argo-cd, we can compare changes in deployment config more easily.

@joyliu-q joyliu-q merged commit ba31e9f into master May 13, 2022
@joyliu-q joyliu-q deleted the deployment/fix-backend-bug branch May 13, 2022 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant