neutron.service no such table: ml2_vlan_allocations [closed]

asked 2015-01-22 17:15:10 -0500

francois gravatar image

Neutron-server cannot see a table in the database - but i have no problem querying MySQL using neutron credential

So what give?

[root@network ~]# systemctl status neutron-server.service
neutron-server.service - OpenStack Neutron Server
   Loaded: loaded (/usr/lib/systemd/system/neutron-server.service; disabled)
   Active: failed (Result: exit-code) since Thu 2015-01-22 15:35:10 MST; 19s ago
  Process: 6930 ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --log-file /var/log/neutron/server.log (code=exited, status=1/FAILURE)
 Main PID: 6930 (code=exited, status=1/FAILURE)

let take a look at the log /var/log/neutron/server.log

2015-01-22 15:35:10.230 6930 INFO neutron.common.config [-] Logging enabled!
2015-01-22 15:35:10.238 6930 INFO neutron.common.config [-] Config paste file: /usr/share/neutron/api-paste.ini
2015-01-22 15:35:10.377 6930 INFO neutron.manager [-] Loading core plugin: ml2
2015-01-22 15:35:10.502 6930 INFO neutron.plugins.ml2.managers [-] Configured type driver names: ['vlan', 'gre']
2015-01-22 15:35:10.507 6930 INFO neutron.plugins.ml2.drivers.type_vlan [-] Network VLAN ranges: {'physnet1': [(208, 2234)]}
2015-01-22 15:35:10.513 6930 INFO neutron.plugins.ml2.managers [-] Loaded type driver names: ['vlan', 'gre']
2015-01-22 15:35:10.513 6930 INFO neutron.plugins.ml2.managers [-] Registered types: ['vlan', 'gre']
2015-01-22 15:35:10.514 6930 INFO neutron.plugins.ml2.managers [-] Tenant network_types: ['gre']
2015-01-22 15:35:10.514 6930 INFO neutron.plugins.ml2.managers [-] Configured extension driver names: []
2015-01-22 15:35:10.515 6930 INFO neutron.plugins.ml2.managers [-] Loaded extension driver names: []
2015-01-22 15:35:10.516 6930 INFO neutron.plugins.ml2.managers [-] Registered extension drivers: []
2015-01-22 15:35:10.516 6930 INFO neutron.plugins.ml2.managers [-] Configured mechanism driver names: ['openvswitch']
2015-01-22 15:35:10.518 6930 INFO neutron.plugins.ml2.managers [-] Loaded mechanism driver names: ['openvswitch']
2015-01-22 15:35:10.518 6930 INFO neutron.plugins.ml2.managers [-] Registered mechanism drivers: ['openvswitch']
2015-01-22 15:35:10.519 6930 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'vlan'
2015-01-22 15:35:10.615 6930 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2015-01-22 15:35:10.615 6930 TRACE neutron.service Traceback (most recent call last):
...
2015-01-22 15:35:10.615 6930 TRACE neutron.service   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 436, in do_execute
2015-01-22 15:35:10.615 6930 TRACE neutron.service     cursor.execute(statement, parameters)
2015-01-22 15:35:10.615 6930 TRACE neutron.service OperationalError: (OperationalError) no such table: ml2_vlan_allocations u'SELECT ml2_vlan_allocations.physical_network AS ml2_vlan_allocations_physical_network, ml2_vlan_allocations.vlan_id AS ml2_vlan_allocations_vlan_id, ml2_vlan_allocations.allocated AS ml2_vlan_allocations_allocated \nFROM ml2_vlan_allocations' ()
2015-01-22 15:35:10.615 6930 TRACE neutron.service 
2015-01-22 15:35:10.621 6930 CRITICAL neutron [-] OperationalError: (OperationalError) no such table: ml2_vlan_allocations u'SELECT ml2_vlan_allocations.physical_network AS ml2_vlan_allocations_physical_network, ml2_vlan_allocations.vlan_id AS ml2_vlan_allocations_vlan_id, ml2_vlan_allocations.allocated AS ml2_vlan_allocations_allocated \nFROM ml2_vlan_allocations' ()
2015-01-22 15:35:10.621 6930 TRACE neutron Traceback (most recent call last):
2015-01-22 15:35:10.621 6930 TRACE neutron   File "/usr/bin/neutron-server", line ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by francois
close date 2015-01-23 06:43:58.857536

Comments

nevermind his is not suppose to run on network node

should not be coding so late

francois gravatar imagefrancois ( 2015-01-23 06:43:27 -0500 )edit