← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1183705] Re: LBaaS db migration is skipped in all cases

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  LBaaS db migration is skipped in all cases

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Looking at code it seems that LBaaS db migration has no chance to be
  triggered:

  migration_for_plugins = []

  from alembic import op
  import sqlalchemy as sa

  from quantum.db import migration

  
  def upgrade(active_plugin=None, options=None):
      if not migration.should_run(active_plugin, migration_for_plugins):
          return
  ...

  I believe following will fix the issue:
  migration_for_plugins = ['*']

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