Note |
---|
Devstack issues are now being collected as GitHub issues on the Devstack repository. Please add new issues as they come in straight into GitHub. https://github.com/openedx/devstack/issues . We will be moving over the issues from this page as we determine if they are still relevant. |
A space to collaboratively track issues and solutions to Docker Devstack problems. This was moved over here from our internal engineering wiki. It is self-maintained by edX.org engineers who rely on Devstack. It is not meant to be an authoritative list of open issues.
...
There’s a previous version of something very similar to this: https://openedx.atlassian.net/wiki/spaces/OXA/overview?homepageId=157690905
Open Issues
Problem | People who’ve experienced it | Impacted Teams & Dates | Solution | Notes | Ticket / PR for fix (if applicable) |
---|---|---|---|---|---|
Ecommerce logout leads to edx.devstack.lms instead of the localhost address failing logout attempts (it looks like things hang) | Everyone who uses ecom locally | Login to ecom and try to logout: http://localhost:18130/enterprise/coupons/ |
Set size changed during iteration
error
Lael Birch (Deactivated) Binod Pant (Deactivated) Talia Rhodes (Deactivated)
Quokkas
Sometimes works, sometimes doesn’trun make studio-update-db
(or whatever service is relevant)make lms-restart
This problem has come up multiple times for multiple people. The solution has worked intermittently.
| ||||||||
Lost connection to docker containers (all requests were hanging, as were | Quokkas |
| I had to restart docker to fix this. It has not recurred. | |||||
| Quokkas |
| This was likely caused by not properly managing the edx-enterprise venv. | |||||
CSS/JS not loading (aka assets missing). Particularly, login page has no username and password field. | Quokkas |
(if that errors, go into the lms shell and run a) Try b) delete your edx-platform checkout directory and reclone it. Some weird stuff is getting cached there. (I tried A. a bunch, also deleting volumes and ultimately this option is what fixed it) | There were no errors except for 404s when this happens, so it’s somewhat difficult to understand what’s going on. | |||||
| quokkas | Ended up re-pulling master for edx-platform repo itself as none of us saw a reference to that code. Unclear what underlying issue was. | ||||||
“An unexpected error has occurred.” on LMS (localhost:18000) or on Django Admin login: Forbidden (403) page with “CSRF verification failed. Request aborted.” | Talia Rhodes (Deactivated) Jansen Kantor Adam Butterworth (Deactivated) | Quokkas, Masters | This appears to be due to Google starting to enforce Same Site security. The latest edx-platform code has a fix. | TR: In my case it started occurring after I had to forcibly shutdown Chrome as it had frozen. Clearing cookie/cache did nothing. All LMS/Devstack side changes did nothing. | ||||
A new or modified package-lock.json shows up in various repos after some devstack operations, making those repos dirty | ||||||||
| Don’t run |
makemigraitons
| Some apps may not have migrations created on purpose because they are doing a expand/contract operation to remove fields or because an entire django app is going to go away. See examples in this section of the Everything About Database Migrations page. | ||||||||||||
A change in credentials broke provisioning in devstack – but no one noticed until it blocked an unrelated devstack PR | Arch-BOM, 2021-04-28 | Fix | We don’t have alerting on devstack master tests, and they only run on merge. Maybe we should run daily and to get a full integration test – and having someone be alerted. (May need to stabilize the tests more first.) |
|
Fixed Issues
Studio redirects to | Potentially all | Log in to LMS first ( | I believe this is due to the fact that we use |
| |||||||||||||||||
| Lael Birch (Deactivated) Binod Pant (Deactivated) Talia Rhodes (Deactivated) | Quokkas | Sometimes works, sometimes doesn’t | This problem has come up multiple times for multiple people. The solution has worked intermittently. |