-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Bump Problem Builder Hash #11295
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
Bump Problem Builder Hash #11295
Conversation
|
Thanks for the pull request, @Kelketek! It looks like you're a member of a company that does contract work for edX. If you're doing this work as part of a paid contract with edX, you should talk to edX about who will review this pull request. If this work is not part of a paid contract with edX, then you should ensure that there is an OSPR issue to track this work in JIRA, so that we don't lose track of your pull request. To automatically create an OSPR issue for this pull request, just visit this link: https://openedx-webhooks.herokuapp.com/github/process_pr?repo=edx%2Fedx-platform&number=11295 |
|
Hello, we're seeing issues in our CI environment as a result of this merging to master. Because the migrations were already run. This is also the case in our production environment so we need to figure out how to fix this. @nedbat @doctoryes @edx/devops Is this because we didn't run a fake-initial for this model that was migrated? |
|
If we don't have a resolution in the next 3 hours, I would like to revert this PR until we know what the operational procedure should be for this change. @adampalay FYI, we should reach a resolution on this before you cut the next RC. |
|
Yes - since the table already exists, a |
|
@doctoryes, it looks like that resolved the issue in the CI environment so we just need to do the same during our deploys. @maxrothman @jibsheet FYI, you'll need to run migrations manually and run with |
|
Are we cool with this resolution? Will we run into problems down the line with future deploys? Is this something that can — or should — be fixed in code? |
|
@Kelketek we definitely needed some devops thumbs on this change. |
|
I put in a PR to revert this until we sort it out: https://github.com/edx/edx-platform/pull/11308 |
|
My vote is for revert while we sort out the breakage implications. I am concerned that this will cause problems when switching back and forth between branches on devstack and jenkins. |
|
@nedbat @adampalay @jzoldak My apologies. The normal handling of hash updates, as I understand it, allows for one to merge in once the subordinate PR is finished. As the test build appeared to pass, and I had given instructions in a devops ticket on how to migrate the repo at https://openedx.atlassian.net/browse/DEVOPS-3555 , and I thought that it would not be on the staging server until someone from devops knew about it (since it was acknowledged), I thought I was in the clear. Apparently not. Next time I'll get an explicit +1. @antoviaque @bradenmacdonald heads up here. |
|
@Kelketek i think the thing here that required extra caution was the migration aspect, and especially the 1.8 transition complications. |
|
But thumbs-up on edx-platform is always required. |
|
@nedbat Yes, I see that now. I will do better in the future, and my apologies again. And good to know on the procedure front there. That was a point of confusion. |
|
@Kelketek No problem. We've had a bunch of migration issues that we've needed to deal with after the django 1.8 upgrade, and are all building an understanding of all the flavors that they might come in. We'll revert this PR, and then have you put in another one that contains an updated bok-choy cache with the initial migration applied. |
|
@doctoryes @feanil The Eucalyptus notes say that this change might require a fake-initial: https://openedx.atlassian.net/wiki/display/COMM/Eucalyptus. Can you help me understand what that means? |
|
If so, then a |
|
@doctoryes However, I don't think this will concern most Open edX users, since |
|
Ah, edx-private is a key factoid here! Thanks. |
Per open-craft/problem-builder#94