← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1206612] Re: typo in downgrade step of migration for new service types

 

** 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/1206612

Title:
  typo in downgrade step of migration for new service types

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

Bug description:
  servicetype table definition in downgrade function has incorrectly
  formed column definition and results in exception being thrown during
  downgrade.

  Incorrect code:

  op.create_table(
          'servicetypes',
          sa.Column('id', sa.String(length=36), nullable=False),
          sa.Column('tenant_id', sa.String(length=255)),
          sa.Column('name', sa.String(255)),
          sa.Column('description', sa.String(255)),
          sa.Column('default', sa.Boolean(), nullable=False, default=False),
          sa.Column('num_instances', sa.Column(sa.Integer(), default=0)),
          sa.PrimaryKeyConstraint('id')
  )

  should be:
  ...
  sa.Column('num_instances', sa.Integer, default=0),

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