← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1466704] [NEW] Frozen (external) DB tables not prevented from alteration

 

Public bug reported:

Database models are being split out of neutron.
The FW/LB/VPNaaS models have already been split.

Once a model is split out of neutron, it may no longer be altered by any
neutron alembic migration.

We need to add a test case to the DB migration tests that checks that no
external tables are altered after they are split.

The names of external tables are recorded in neutron/db/migration/alembic_migrations/external.py
We will need to add the revision when the split occurred for each table or group of tables.

** Affects: neutron
     Importance: Undecided
         Status: Confirmed


** Tags: db low-hanging-fruit

** Tags added: db

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

Title:
  Frozen (external) DB tables not prevented from alteration

Status in OpenStack Neutron (virtual network service):
  Confirmed

Bug description:
  Database models are being split out of neutron.
  The FW/LB/VPNaaS models have already been split.

  Once a model is split out of neutron, it may no longer be altered by
  any neutron alembic migration.

  We need to add a test case to the DB migration tests that checks that
  no external tables are altered after they are split.

  The names of external tables are recorded in neutron/db/migration/alembic_migrations/external.py
  We will need to add the revision when the split occurred for each table or group of tables.

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


Follow ups

References