Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-64

Migrate database migrations from sqlalchemy-migrate to alembic

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhos-18.0.0
    • rhos-18.0.0
    • openstack-nova
    • None
    • Migrate database migrations from sqlalchemy-migrate to alembic
    • 1
    • False
    • False
    • Committed
    • No Docs Impact
    • OSP-14490 - Large scale scheduling
    • openstack-nova-27.1.1-18.0.20230930093334.a869ab1.el9ost
    • Committed
    • No impact
    • 0% To Do, 0% In Progress, 100% Done
    • Undefined
    • Release Note Not Required
    • Rejected

      Description of problem:

      nova's database migrations are implemented using sqlalchemy-migrate, a defunct and unmaintained library. alembic is the anointed successor that is developed and supported by the sqlalchemy community. The Network (neutron) and Image (glance) services already migrated to alembic some time ago. It is now time for Compute (nova) to do the same. Doing so will reduce some tech debt in the project and bring usability improvements to operators, who can use the same tooling to run database migrations across multiple projects. This RFE tracks the work to migrate the migrations, providing a way for both existing deployments and new deployments to start using alembic for all migrations going forward.

              sfinucan@redhat.com Stephen Finucane
              jira-bugzilla-migration RH Bugzilla Integration
              rhos-dfg-compute
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: