← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1307732] Re: Schema created automatically without migration information

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1307732

Title:
  Schema created automatically without migration information

Status in neutron:
  Invalid

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1307732/+subscriptions


References