← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1328019] [NEW] Neutron db migration fails when adding a non-nullable column

 

Public bug reported:

 add_column() of alembic does not work for adding a non-nullable column with a
default value to an existing database table in DB2.
 in this bug,   neutron/db/migration/alembic_migrations/versions/128e042a2b68_ext_gw_mode.py  
adds a column 'enable_snat' to table 'routers'.

** Affects: neutron
     Importance: Undecided
     Assignee: Jun Xie (junxiebj)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Jun Xie (junxiebj)

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

Title:
  Neutron db migration fails when adding a non-nullable column

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
   add_column() of alembic does not work for adding a non-nullable column with a
  default value to an existing database table in DB2.
   in this bug,   neutron/db/migration/alembic_migrations/versions/128e042a2b68_ext_gw_mode.py  
  adds a column 'enable_snat' to table 'routers'.

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


Follow ups

References