Ask Your Question

How does Neutron's db schema get created in Icehouse?

asked 2014-04-30 17:47:23 -0500

anonymous user


I'm doing an Icehouse install on Ubuntu 14.04 and the below guide shows how to setup Neutron on the controller. (

However, there is no 'neutron db_sync' ( that I'm aware of ) . My neutron db is created but it has no schema .

When/Where does the schema get installed ? Thanks,

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-08-28 02:58:14 -0500

I ran into further issues having followed the (OpenStack Icehouse Neutron Ml2 guide):

this is incorrect in the doco:

core_plugin = ml2

and should be:

core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin

also had to comment out:

#service_plugins = router

which is also in the documentation. (perhaps my install is still broken, still working on it.)

once these changes were made, the following command (also missing from documentation) worked on Ubuntu 14.04:

neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head

i hope this helps someone.

edit flag offensive delete link more

answered 2014-05-01 09:54:58 -0500

larsks gravatar image

updated 2014-05-01 09:55:43 -0500

There is a neutron-db-manage command. You should be able to set up the database by running something like:

neutron-db-manage --config-file /etc/neutron/neutron.conf \
  --config-file /etc/neutron/plugin.ini \
  upgrade head

This will create the database schema and the appropriate table for tracking the schema version.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-04-30 17:47:23 -0500

Seen: 987 times

Last updated: Aug 28 '14