Openstack Upgrade HAVANA -> ICEHOUSE RDO

asked 2015-05-26 11:16:07 -0600

agti gravatar image

updated 2015-05-27 07:17:24 -0600

Hi, I'm performing an upgrade from havana to icehouse. I'm using this guide.

I created a new controller (on another VM in order to perform the upgrade with no interruption for users). I performed RDO installation on the new controller (just to have simple basic configuration for it), then I replaced the DBs with the old ones. I followed the guide and keystone, nova and glance seems to be OK. I'm now trying to perform neutron update, installing at the same time the ml2 as per the guide.

I'm receiving the following error when running the neutron.db.migration.migrate_to_ml2 openvswitch python script:

[root@Openstack-controller ~]# python -m neutron.db.migration.migrate_to_ml2 openvswitch mysql://neutron:xxxxxxxxxxx@X.Y.Z:W/ovs_neutron
Traceback (most recent call last):
  File "/usr/lib64/python2.6/", line 122, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.6/", line 34, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.6/site-packages/neutron/db/migration/", line 462, in <module>
  File "/usr/lib/python2.6/site-packages/neutron/db/migration/", line 458, in main
  File "/usr/lib/python2.6/site-packages/neutron/db/migration/", line 138, in __call__
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/", line 2848, in create_all
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 1479, in _run_visitor
    conn._run_visitor(visitorcallable, element, **kwargs)
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 1122, in _run_visitor
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/sql/", line 122, in traverse_single
    return meth(obj, **kw)
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 70, in visit_metadata
    self.traverse_single(table, create_ok=True)
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/sql/", line 122, in traverse_single
    return meth(obj, **kw)
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 89, in visit_table
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 662, in execute
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 720, in _execute_ddl
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 874, in _execute_context
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 1024, in _handle_dbapi_exception
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/util/", line 196, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb)
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 867, in _execute_context
  File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/", line 324, in do_execute
    cursor.execute(statement, parameters)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/", line 173, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
sqlalchemy.exc.OperationalError: (OperationalError) (1005, "Can't create table 'ovs_neutron.ml2_network_segments' (errno: 150)") '\nCREATE TABLE ml2_network_segments (\n ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-28 02:04:21 -0600

Looks related to that one

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-26 11:16:07 -0600

Seen: 160 times

Last updated: May 28 '15