Repository navigation
Open
Description
ubuntu-latest now resolves to ubuntu-26.04 (rolling out since about 2026-11-09). Several repos have a migrations-check workflow that starts the runner's preinstalled MySQL, and on 26.04 that fails before a single migration runs:
sudo: '/etc/init.d/mysql': command not found
edx-submissions (openedx/edx-submissions#394) and edx-enterprise-data (openedx/edx-enterprise-data#730) are fixed and are the pattern to copy: MySQL 8 runs as a service container with openedx-platform's default database name and credentials, and nothing depends on which MySQL the runner image happens to ship (8.0 on 24.04, 8.4 on 26.04).
Repos still on the old job
| Repo | Workflow | Starts MySQL with | Runner | State on 2026-11-13 |
|---|---|---|---|---|
| credentials | .github/workflows/migrations-mysql8-check.yml |
sudo /etc/init.d/mysql start |
ubuntu-latest | failing since 2026-11-10 |
| license-manager | .github/workflows/mysql8-migrations-check.yml |
sudo /etc/init.d/mysql start |
ubuntu-latest | failing since 2026-11-09 |
| taxonomy-connector | .github/workflows/mysql8-migrations.yml |
sudo /etc/init.d/mysql start |
ubuntu-latest | failing since 2026-11-11 |
| enterprise-catalog | .github/workflows/mysql-migrations-check.yml |
sudo /etc/init.d/mysql start |
ubuntu-latest | failing since 2026-11-09; openedx/enterprise-catalog#1166 pins ubuntu-24.04 |
| course-discovery | .github/workflows/migrations-check-mysql8.yml |
sudo /etc/init.d/mysql start |
pinned ubuntu-22.04 | passing until the pin moves |
| edx-notes-api | .github/workflows/migrations-mysql8-check.yml |
sudo service mysql start |
ubuntu-latest | passing on 26.04, service falls through to systemd |
| edx-enterprise | .github/workflows/mysql8-migrations.yml |
sudo systemctl start mysql.service |
ubuntu-latest | workflow is disabled |
Fix
Per repo:
- Replace the preinstalled-MySQL steps (
Initiate services,Reset mysql password, theCREATE DATABASEline) with amysql:8service container. Theservices:block and the health check are in edx-enterprise-data#730. - Point the migration run at the container:
DB_HOST=127.0.0.1, the container's database, user and password.
Pinning ubuntu-24.04 keeps the job green for a while, but 24.04 leaves the runner pool eventually and the job still tests against whatever MySQL the image has.
Tasks
- credentials, build: run the migrations check against a MySQL service container credentials#3023
- license-manager
- taxonomy-connector
- enterprise-catalog
- course-discovery
- edx-notes-api, build: run the migrations check against a MySQL service container edx-notes-api#629
- edx-enterprise (re-enable the workflow, or delete it)
- edx-submissions, build: run the migrations check against MySQL edx-submissions#394
- edx-enterprise-data, build: run the migrations check against a MySQL service container edx-enterprise-data#730
Metadata
Metadata
Assignees
Labels
No labels
Activity