migrate_to_ml2.py fails. cannot find table networks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Medium
|
Unassigned |
Bug Description
during upgrade from havana to icehouse the database migration script (migrate_to_ml2.py) fails. I run it with the following options:
python -m neutron.
It returns the following trace:
Traceback (most recent call last):
File "/usr/lib/
"__main__", fname, loader, pkg_name)
File "/usr/lib/
exec code in run_globals
File "/usr/lib/
main()
File "/usr/lib/
args.
File "/usr/lib/
metadata.
File "/usr/lib/
tables=tables)
File "/usr/lib/
conn.
File "/usr/lib/
**kwargs)
File "/usr/lib/
return meth(obj, **kw)
File "/usr/lib/
collection = [t for t in sql_util.
File "/usr/lib/
{'foreign_key': visit_foreign_key})
File "/usr/lib/
return traverse_
File "/usr/lib/
meth(target)
File "/usr/lib/
parent_table = fkey.column.table
File "/usr/lib/
obj.
File "/usr/lib/
tname)
sqlalchemy.
If i create this table from the mysql console with this:
CREATE TABLE ml2_network_
ALTER TABLE ml2_network_
ALTER TABLE ml2_network_
No error is given.
OS: Ubuntu 12.04.04 Kernel 3.11
description: | updated |
Changed in neutron: | |
status: | Incomplete → Confirmed |
Changed in neutron: | |
assignee: | nobody → Syd Logan (slogan-r) |
milestone: | none → juno-2 |
Changed in neutron: | |
milestone: | juno-2 → none |
If networks table is not found then it seems that database is not in havana/icehouse state and probably it is empty at all.
Can you give more details about the initial state of the database?