securitygroups table is created again while migrating database from havana to icehouse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Jakub Libosvar |
Bug Description
There is attempt to create a new table securitygroups by 49f5e553f61f_
INFO [alembic.migration] Context impl MySQLImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
INFO [alembic.migration] Running upgrade havana -> e197124d4b9, add unique constraint to members
INFO [alembic.migration] Running upgrade e197124d4b9 -> 1fcfc149aca4, Add a unique constraint on (agent_type, host) columns to prevent a race
condition when an agent entry is 'upserted'.
INFO [alembic.migration] Running upgrade 1fcfc149aca4 -> 50e86cb2637a, nsx_mappings
INFO [alembic.migration] Running upgrade 50e86cb2637a -> ed93525fd003, bigswitch_quota
INFO [alembic.migration] Running upgrade ed93525fd003 -> 49f5e553f61f, security_groups
Traceback (most recent call last):
File "/usr/local/
sys.
File "/opt/stack/
CONF.
File "/opt/stack/
do_
File "/opt/stack/
getattr(
File "/usr/local/
script.
File "/usr/local/
util.
File "/usr/local/
module = load_module(
File "/usr/local/
mod = imp.load_
File "/opt/stack/
run_
File "/opt/stack/
options=
File "<string>", line 7, in run_migrations
File "/usr/local/
self.
File "/usr/local/
change(**kw)
File "/opt/stack/
sa.
File "<string>", line 7, in create_table
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
conn.
File "/usr/local/
params)
File "/usr/local/
compiled
File "/usr/local/
context)
File "/usr/local/
context)
File "/usr/local/
cursor.
File "/usr/lib/
self.
File "/usr/lib/
raise errorclass, errorvalue
sqlalchemy.
summary: |
- securitygroups table is created twice while migrating database from + securitygroups table is created again while migrating database from havana to icehouse |
Changed in neutron: | |
status: | Incomplete → Triaged |
assignee: | nobody → Jakub Libosvar (libosvar) |
Changed in neutron: | |
milestone: | none → icehouse-3 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | icehouse-3 → 2014.1 |
What was the configuration prior to migration?
securitygroups table was not created via migration for ml2 plugin until 49f5e553f61f was added.
So either you had database created by neutron-server or you had different plugin which caused this table to be created.