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

Details

    • Epic
    • Resolution: Unresolved
    • 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.el9osttrunk
    • Committed
    • No impact
    • 100
    • 100% 100%
    • Undefined
    • Release Note Not Required
    • Compute

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:

              PagerDuty