Schema created automatically without migration information

Bug #1307732 reported by Brian Lamar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Brian Lamar

Bug Description

Currently when neutron-server starts up `base.metadata.create_all(engine)` is called which will create all needed tables for Neutron. The problem with this is that this does not insert Alembic migration data.

Now, not everyone uses Alembic, but for those of us that do it should be an option to *not* create tables automatically. We've been through this with the Glance project and I think a good solution to this is to create a configuration option to *not* auto-create the database schema.

Brian Lamar (blamar)
Changed in neutron:
status: New → In Progress
assignee: nobody → Brian Lamar (blamar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/87392

Revision history for this message
sean mooney (sean-k-mooney) wrote :

the auto generation behavior that created this bug has been removed by
https://review.openstack.org/#/c/40296/

marking as invalid as neutron no longer generates tables from sql alchemy models.

Changed in neutron:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.