Numerous ml2 tests are failing which seem to be related to this. Following is the list of test that are failing, along with the traceback which is for each of the failed tests:
All of these tests fail with the same traceback log. It seems like this is related to table "ml2_vlan_allocations"
Here is the traceback log:
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/ml2/test_ml2_plugin.py", line 36, in setUp
super(Ml2PluginV2TestCase, self).setUp(PLUGIN_NAME)
File "/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/test_db_plugin.py", line 122, in setUp
self.api = APIRouter()
File "/home/jenkins/workspace/gate-neutron-python26/neutron/api/v2/router.py", line 76, in __init__
plugin = manager.NeutronManager.get_plugin()
File "/home/jenkins/workspace/gate-neutron-python26/neutron/manager.py", line 206, in get_plugin
return cls.get_instance().plugin
File "/home/jenkins/workspace/gate-neutron-python26/neutron/manager.py", line 201, in get_instance
cls._create_instance()
File "/home/jenkins/workspace/gate-neutron-python26/neutron/openstack/common/lockutils.py", line 247, in inner
retval = f(*args, **kwargs)
File "/home/jenkins/workspace/gate-neutron-python26/neutron/manager.py", line 195, in _create_instance
cls._instance = cls()
File "/home/jenkins/workspace/gate-neutron-python26/neutron/manager.py", line 120, in __init__
self.plugin = plugin_klass()
File "/home/jenkins/workspace/gate-neutron-python26/neutron/plugins/ml2/plugin.py", line 93, in __init__
self.type_manager.initialize()
File "/home/jenkins/workspace/gate-neutron-python26/neutron/plugins/ml2/managers.py", line 79, in initialize
driver.obj.initialize()
File "/home/jenkins/workspace/gate-neutron-python26/neutron/plugins/ml2/drivers/type_vlan.py", line 160, in initialize
self._sync_vlan_allocations()
File "/home/jenkins/workspace/gate-neutron-python26/neutron/plugins/ml2/drivers/type_vlan.py", line 103, in _sync_vlan_allocations
for alloc in allocs:
File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
return self._execute_and_instances(context)
File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
params)
File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
compiled_sql, distilled_params
File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
context)
File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 1691, in _execute_context
context)
File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/sqlalchemy/engine/default.py", line 331, in do_execute
cursor.execute(statement, parameters)
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' ()
Numerous ml2 tests are failing which seem to be related to this. Following is the list of test that are failing, along with the traceback which is for each of the failed tests:
neutron. tests.unit. ml2.test_ agent_scheduler .Ml2AgentSchedu lerTestCase tests.unit. ml2.test_ agent_scheduler .Ml2DhcpAgentNo tifierTestCase tests.unit. ml2.test_ agent_scheduler .Ml2L3AgentNoti fierTestCase tests.unit. ml2.test_ ml2_plugin. TestMl2BasicGet tests.unit. ml2.test_ ml2_plugin. TestMl2Networks V2 tests.unit. ml2.test_ ml2_plugin. TestMl2PortBind ingHost tests.unit. ml2.test_ ml2_plugin. TestMl2PortsV2 tests.unit. ml2.test_ ml2_plugin. TestMl2V2HTTPRe sponse tests.unit. ml2.test_ security_ group.TestMl2Se curityGroups tests.unit. ml2.test_ security_ group.TestMl2Se curityGroupsXML
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
All of these tests fail with the same traceback log. It seems like this is related to table "ml2_vlan_ allocations"
Here is the traceback log:
Traceback (most recent call last): jenkins/ workspace/ gate-neutron- python26/ neutron/ tests/unit/ ml2/test_ ml2_plugin. py", line 36, in setUp Ml2PluginV2Test Case, self).setUp( PLUGIN_ NAME) jenkins/ workspace/ gate-neutron- python26/ neutron/ tests/unit/ test_db_ plugin. py", line 122, in setUp jenkins/ workspace/ gate-neutron- python26/ neutron/ api/v2/ router. py", line 76, in __init__ NeutronManager. get_plugin( ) jenkins/ workspace/ gate-neutron- python26/ neutron/ manager. py", line 206, in get_plugin instance( ).plugin jenkins/ workspace/ gate-neutron- python26/ neutron/ manager. py", line 201, in get_instance _create_ instance( ) jenkins/ workspace/ gate-neutron- python26/ neutron/ openstack/ common/ lockutils. py", line 247, in inner jenkins/ workspace/ gate-neutron- python26/ neutron/ manager. py", line 195, in _create_instance jenkins/ workspace/ gate-neutron- python26/ neutron/ manager. py", line 120, in __init__ jenkins/ workspace/ gate-neutron- python26/ neutron/ plugins/ ml2/plugin. py", line 93, in __init__ type_manager. initialize( ) jenkins/ workspace/ gate-neutron- python26/ neutron/ plugins/ ml2/managers. py", line 79, in initialize obj.initialize( ) jenkins/ workspace/ gate-neutron- python26/ neutron/ plugins/ ml2/drivers/ type_vlan. py", line 160, in initialize _sync_vlan_ allocations( ) jenkins/ workspace/ gate-neutron- python26/ neutron/ plugins/ ml2/drivers/ type_vlan. py", line 103, in _sync_vlan_ allocations jenkins/ workspace/ gate-neutron- python26/ .tox/py26/ lib/python2. 6/site- packages/ sqlalchemy/ orm/query. py", line 2227, in __iter__ and_instances( context) jenkins/ workspace/ gate-neutron- python26/ .tox/py26/ lib/python2. 6/site- packages/ sqlalchemy/ orm/query. py", line 2242, in _execute_ and_instances querycontext. statement, self._params) jenkins/ workspace/ gate-neutron- python26/ .tox/py26/ lib/python2. 6/site- packages/ sqlalchemy/ engine/ base.py" , line 1449, in execute jenkins/ workspace/ gate-neutron- python26/ .tox/py26/ lib/python2. 6/site- packages/ sqlalchemy/ engine/ base.py" , line 1584, in _execute_ clauseelement jenkins/ workspace/ gate-neutron- python26/ .tox/py26/ lib/python2. 6/site- packages/ sqlalchemy/ engine/ base.py" , line 1698, in _execute_context jenkins/ workspace/ gate-neutron- python26/ .tox/py26/ lib/python2. 6/site- packages/ sqlalchemy/ engine/ base.py" , line 1691, in _execute_context jenkins/ workspace/ gate-neutron- python26/ .tox/py26/ lib/python2. 6/site- packages/ sqlalchemy/ engine/ default. py", line 331, in do_execute execute( statement, parameters) 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' ()
File "/home/
super(
File "/home/
self.api = APIRouter()
File "/home/
plugin = manager.
File "/home/
return cls.get_
File "/home/
cls.
File "/home/
retval = f(*args, **kwargs)
File "/home/
cls._instance = cls()
File "/home/
self.plugin = plugin_klass()
File "/home/
self.
File "/home/
driver.
File "/home/
self.
File "/home/
for alloc in allocs:
File "/home/
return self._execute_
File "/home/
result = conn.execute(
File "/home/
params)
File "/home/
compiled_sql, distilled_params
File "/home/
context)
File "/home/
context)
File "/home/
cursor.
OperationalError: (OperationalError) no such table: ml2_vlan_