yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10095
[Bug 1282985] [NEW] unit.nicira.test_edge_router.ServiceRouterTestCase.test_router_add_interface_subnet_with_port_from_other_tenant unittest fails
Public bug reported:
2014-02-21 04:31:40.609 | 2014-02-21 04:31:40,165 WARNING [neutron.quota] router is already registered.
2014-02-21 04:31:40.609 | 2014-02-21 04:31:40,166 WARNING [neutron.quota] floatingip is already registered.
2014-02-21 04:31:40.609 | 2014-02-21 04:31:40,216 ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network 'f57075d4-fa3e-4b84-820b-88784a288bea'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'bf2d3535-c7a0-4ebf-8aaa-63156a73fb07', 'shared': False, 'port_security_enabled': True, 'id': 'f57075d4-fa3e-4b84-820b-88784a288bea'}}
2014-02-21 04:31:40.609 | 2014-02-21 04:31:40,245 ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network '8a4a120c-9017-4e22-997b-445d4db0d515'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'd6e869c3-4581-4119-8ee0-9d9dbbeadf2b', 'shared': False, 'port_security_enabled': True, 'id': '8a4a120c-9017-4e22-997b-445d4db0d515'}}
2014-02-21 04:31:40.610 | 2014-02-21 04:31:40,252 ERROR [neutron.plugins.nicira.vshield.tasks.tasks] Task Task-deploying-router1-792ee94f-3dcc-42a1-b3e4-a16c2f55c0ee-0ef145ca-9ab1-11e3-8f54-bc764e204477 encountered exception in <bound method VcnsCallbacks.edge_deploy_result of <neutron.plugins.nicira.NeutronServicePlugin.VcnsCallbacks object at 0x1ca5b550>> at state 3
2014-02-21 04:31:40.610 | Traceback (most recent call last):
2014-02-21 04:31:40.610 | File "neutron/plugins/nicira/vshield/tasks/tasks.py", line 97, in _invoke_monitor
2014-02-21 04:31:40.610 | func(self)
2014-02-21 04:31:40.610 | File "neutron/plugins/nicira/NeutronServicePlugin.py", line 1566, in edge_deploy_result
2014-02-21 04:31:40.610 | context.session, neutron_router_id)
2014-02-21 04:31:40.610 | File "neutron/plugins/nicira/dbexts/vcns_db.py", line 43, in get_vcns_router_binding
2014-02-21 04:31:40.610 | filter_by(router_id=router_id).first())
2014-02-21 04:31:40.610 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2014-02-21 04:31:40.610 | ret = list(self[0:1])
2014-02-21 04:31:40.610 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2014-02-21 04:31:40.611 | return list(res)
2014-02-21 04:31:40.611 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2226, in __iter__
2014-02-21 04:31:40.611 | self.session._autoflush()
2014-02-21 04:31:40.611 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1127, in _autoflush
2014-02-21 04:31:40.611 | self.flush()
2014-02-21 04:31:40.611 | File "neutron/openstack/common/db/sqlalchemy/session.py", line 542, in _wrap
2014-02-21 04:31:40.611 | raise exception.DBError(e)
2014-02-21 04:31:40.611 | DBError: (IntegrityError) foreign key constraint failed u'INSERT INTO neutron_nsx_network_mappings (neutron_id, nsx_id) VALUES (?, ?)' ('8a4a120c-9017-4e22-997b-445d4db0d515', u'84642bab-d5ce-468e-8280-486d1bc357f8')
2014-02-21 04:31:40.611 | 2014-02-21 04:31:40,276 ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network 'f57075d4-fa3e-4b84-820b-88784a288bea'. Unable to send notification for 'subnet_create_end' with payload: {'subnet': {'name': '', 'enable_dhcp': True, 'network_id': u'f57075d4-fa3e-4b84-820b-88784a288bea', 'tenant_id': u'bf2d3535-c7a0-4ebf-8aaa-63156a73fb07', 'dns_nameservers': [], 'allocation_pools': [{'start': '10.0.0.2', 'end': '10.0.0.254'}], 'host_routes': [], 'ip_version': 4, 'gateway_ip': '10.0.0.1', 'cidr': u'10.0.0.0/24', 'id': '20f1de0c-2e95-43b7-958c-28906b03af0b'}}
2014-02-21 04:31:40.611 | 2014-02-21 04:31:40,295 ERROR [neutron.api.v2.resource] create failed
2014-02-21 04:31:40.611 | Traceback (most recent call last):
2014-02-21 04:31:40.612 | File "neutron/api/v2/resource.py", line 84, in resource
2014-02-21 04:31:40.612 | result = method(request=request, **args)
2014-02-21 04:31:40.612 | File "neutron/api/v2/base.py", line 411, in create
2014-02-21 04:31:40.612 | obj = obj_creator(request.context, **kwargs)
2014-02-21 04:31:40.612 | File "neutron/db/db_base_plugin_v2.py", line 1098, in create_subnet
2014-02-21 04:31:40.612 | network = self._get_network(context, s["network_id"])
2014-02-21 04:31:40.612 | File "neutron/db/db_base_plugin_v2.py", line 251, in _get_network
2014-02-21 04:31:40.612 | raise q_exc.NetworkNotFound(net_id=id)
2014-02-21 04:31:40.612 | NetworkNotFound: Network 8a4a120c-9017-4e22-997b-445d4db0d515 could not be found
2014-02-21 04:31:40.612 | 2014-02-21 04:31:40,317 ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network 'f57075d4-fa3e-4b84-820b-88784a288bea'. Unable to send notification for 'subnet_delete_end' with payload: {'subnet_id': u'20f1de0c-2e95-43b7-958c-28906b03af0b'}
2014-02-21 04:31:40.612 | 2014-02-21 04:31:40,327 ERROR [neutron.api.v2.resource] delete failed
2014-02-21 04:35:05.792 | Traceback (most recent call last):
2014-02-21 04:35:05.793 | File "neutron/api/v2/resource.py", line 84, in resource
2014-02-21 04:35:05.793 | result = method(request=request, **args)
2014-02-21 04:35:05.793 | File "neutron/api/v2/base.py", line 426, in delete
2014-02-21 04:35:05.793 | obj = self._item(request, id, parent_id=parent_id)
2014-02-21 04:35:05.793 | File "neutron/api/v2/base.py", line 264, in _item
2014-02-21 04:35:05.793 | obj = obj_getter(request.context, id, **kwargs)
2014-02-21 04:35:05.793 | File "neutron/plugins/nicira/NeutronPlugin.py", line 1086, in get_network
2014-02-21 04:35:05.793 | network = self._get_network(context, id)
2014-02-21 04:35:05.793 | File "neutron/db/db_base_plugin_v2.py", line 251, in _get_network
2014-02-21 04:35:05.793 | raise q_exc.NetworkNotFound(net_id=id)
2014-02-21 04:35:05.793 | NetworkNotFound: Network 8a4a120c-9017-4e22-997b-445d4db0d515 could not be found
2014-02-21 04:35:05.794 | 2014-02-21 04:31:40,462 INFO [neutron.plugins.nicira.vshield.tasks.tasks] TaskManager terminated
2014-02-21 04:35:05.794 | }}}
2014-02-21 04:35:05.794 |
2014-02-21 04:35:05.794 | Traceback (most recent call last):
2014-02-21 04:35:05.794 | File "neutron/tests/unit/test_l3_plugin.py", line 772, in test_router_add_interface_subnet_with_port_from_other_tenant
2014-02-21 04:35:05.794 | None)
2014-02-21 04:35:05.794 | File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
2014-02-21 04:35:05.794 | self.gen.throw(type, value, traceback)
2014-02-21 04:35:05.794 | File "/usr/lib/python2.7/contextlib.py", line 121, in nested
2014-02-21 04:35:05.794 | if exit(*exc):
2014-02-21 04:35:05.794 | File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
2014-02-21 04:35:05.794 | self.gen.throw(type, value, traceback)
2014-02-21 04:35:05.795 | File "neutron/tests/unit/test_db_plugin.py", line 530, in network
2014-02-21 04:35:05.795 | self._delete('networks', network['network']['id'])
2014-02-21 04:35:05.795 | File "neutron/tests/unit/test_db_plugin.py", line 446, in _delete
2014-02-21 04:35:05.795 | self.assertEqual(res.status_int, expected_code)
2014-02-21 04:35:05.795 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
2014-02-21 04:35:05.795 | self.assertThat(observed, matcher, message)
2014-02-21 04:35:05.795 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
2014-02-21 04:35:05.795 | raise mismatch_error
2014-02-21 04:35:05.795 | MismatchError: 404 != 204
2014-02-21 04:35:05.795 | ======================================================================
2014-02-21 04:35:05.795 | FAIL: process-returncode
2014-02-21 04:35:05.796 | tags: worker-2
2014-02-21 04:35:05.796 | ----------------------------------------------------------------------
2014-02-21 04:35:05.796 | Binary content:
2014-02-21 04:35:05.796 | traceback (test/plain; charset="utf8")
2014-02-21 04:35:05.796 | Ran 10181 tests in 605.170s
2014-02-21 04:35:05.796 | FAILED (id=0, failures=2, skips=303)
2014-02-21 04:35:05.796 | error: testr failed (1)
2014-02-21 04:35:06.189 | ERROR: InvocationError: '/home/jenkins/workspace/gate-neutron-python27/.tox/py27/bin/python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='
Full log: http://logs.openstack.org/60/71260/7/gate/gate-neutron-
python27/c73bfda/console.html
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1282985
Title:
unit.nicira.test_edge_router.ServiceRouterTestCase.test_router_add_interface_subnet_with_port_from_other_tenant
unittest fails
Status in OpenStack Neutron (virtual network service):
New
Bug description:
2014-02-21 04:31:40.609 | 2014-02-21 04:31:40,165 WARNING [neutron.quota] router is already registered.
2014-02-21 04:31:40.609 | 2014-02-21 04:31:40,166 WARNING [neutron.quota] floatingip is already registered.
2014-02-21 04:31:40.609 | 2014-02-21 04:31:40,216 ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network 'f57075d4-fa3e-4b84-820b-88784a288bea'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'bf2d3535-c7a0-4ebf-8aaa-63156a73fb07', 'shared': False, 'port_security_enabled': True, 'id': 'f57075d4-fa3e-4b84-820b-88784a288bea'}}
2014-02-21 04:31:40.609 | 2014-02-21 04:31:40,245 ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network '8a4a120c-9017-4e22-997b-445d4db0d515'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'd6e869c3-4581-4119-8ee0-9d9dbbeadf2b', 'shared': False, 'port_security_enabled': True, 'id': '8a4a120c-9017-4e22-997b-445d4db0d515'}}
2014-02-21 04:31:40.610 | 2014-02-21 04:31:40,252 ERROR [neutron.plugins.nicira.vshield.tasks.tasks] Task Task-deploying-router1-792ee94f-3dcc-42a1-b3e4-a16c2f55c0ee-0ef145ca-9ab1-11e3-8f54-bc764e204477 encountered exception in <bound method VcnsCallbacks.edge_deploy_result of <neutron.plugins.nicira.NeutronServicePlugin.VcnsCallbacks object at 0x1ca5b550>> at state 3
2014-02-21 04:31:40.610 | Traceback (most recent call last):
2014-02-21 04:31:40.610 | File "neutron/plugins/nicira/vshield/tasks/tasks.py", line 97, in _invoke_monitor
2014-02-21 04:31:40.610 | func(self)
2014-02-21 04:31:40.610 | File "neutron/plugins/nicira/NeutronServicePlugin.py", line 1566, in edge_deploy_result
2014-02-21 04:31:40.610 | context.session, neutron_router_id)
2014-02-21 04:31:40.610 | File "neutron/plugins/nicira/dbexts/vcns_db.py", line 43, in get_vcns_router_binding
2014-02-21 04:31:40.610 | filter_by(router_id=router_id).first())
2014-02-21 04:31:40.610 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2014-02-21 04:31:40.610 | ret = list(self[0:1])
2014-02-21 04:31:40.610 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2014-02-21 04:31:40.611 | return list(res)
2014-02-21 04:31:40.611 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2226, in __iter__
2014-02-21 04:31:40.611 | self.session._autoflush()
2014-02-21 04:31:40.611 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1127, in _autoflush
2014-02-21 04:31:40.611 | self.flush()
2014-02-21 04:31:40.611 | File "neutron/openstack/common/db/sqlalchemy/session.py", line 542, in _wrap
2014-02-21 04:31:40.611 | raise exception.DBError(e)
2014-02-21 04:31:40.611 | DBError: (IntegrityError) foreign key constraint failed u'INSERT INTO neutron_nsx_network_mappings (neutron_id, nsx_id) VALUES (?, ?)' ('8a4a120c-9017-4e22-997b-445d4db0d515', u'84642bab-d5ce-468e-8280-486d1bc357f8')
2014-02-21 04:31:40.611 | 2014-02-21 04:31:40,276 ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network 'f57075d4-fa3e-4b84-820b-88784a288bea'. Unable to send notification for 'subnet_create_end' with payload: {'subnet': {'name': '', 'enable_dhcp': True, 'network_id': u'f57075d4-fa3e-4b84-820b-88784a288bea', 'tenant_id': u'bf2d3535-c7a0-4ebf-8aaa-63156a73fb07', 'dns_nameservers': [], 'allocation_pools': [{'start': '10.0.0.2', 'end': '10.0.0.254'}], 'host_routes': [], 'ip_version': 4, 'gateway_ip': '10.0.0.1', 'cidr': u'10.0.0.0/24', 'id': '20f1de0c-2e95-43b7-958c-28906b03af0b'}}
2014-02-21 04:31:40.611 | 2014-02-21 04:31:40,295 ERROR [neutron.api.v2.resource] create failed
2014-02-21 04:31:40.611 | Traceback (most recent call last):
2014-02-21 04:31:40.612 | File "neutron/api/v2/resource.py", line 84, in resource
2014-02-21 04:31:40.612 | result = method(request=request, **args)
2014-02-21 04:31:40.612 | File "neutron/api/v2/base.py", line 411, in create
2014-02-21 04:31:40.612 | obj = obj_creator(request.context, **kwargs)
2014-02-21 04:31:40.612 | File "neutron/db/db_base_plugin_v2.py", line 1098, in create_subnet
2014-02-21 04:31:40.612 | network = self._get_network(context, s["network_id"])
2014-02-21 04:31:40.612 | File "neutron/db/db_base_plugin_v2.py", line 251, in _get_network
2014-02-21 04:31:40.612 | raise q_exc.NetworkNotFound(net_id=id)
2014-02-21 04:31:40.612 | NetworkNotFound: Network 8a4a120c-9017-4e22-997b-445d4db0d515 could not be found
2014-02-21 04:31:40.612 | 2014-02-21 04:31:40,317 ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network 'f57075d4-fa3e-4b84-820b-88784a288bea'. Unable to send notification for 'subnet_delete_end' with payload: {'subnet_id': u'20f1de0c-2e95-43b7-958c-28906b03af0b'}
2014-02-21 04:31:40.612 | 2014-02-21 04:31:40,327 ERROR [neutron.api.v2.resource] delete failed
2014-02-21 04:35:05.792 | Traceback (most recent call last):
2014-02-21 04:35:05.793 | File "neutron/api/v2/resource.py", line 84, in resource
2014-02-21 04:35:05.793 | result = method(request=request, **args)
2014-02-21 04:35:05.793 | File "neutron/api/v2/base.py", line 426, in delete
2014-02-21 04:35:05.793 | obj = self._item(request, id, parent_id=parent_id)
2014-02-21 04:35:05.793 | File "neutron/api/v2/base.py", line 264, in _item
2014-02-21 04:35:05.793 | obj = obj_getter(request.context, id, **kwargs)
2014-02-21 04:35:05.793 | File "neutron/plugins/nicira/NeutronPlugin.py", line 1086, in get_network
2014-02-21 04:35:05.793 | network = self._get_network(context, id)
2014-02-21 04:35:05.793 | File "neutron/db/db_base_plugin_v2.py", line 251, in _get_network
2014-02-21 04:35:05.793 | raise q_exc.NetworkNotFound(net_id=id)
2014-02-21 04:35:05.793 | NetworkNotFound: Network 8a4a120c-9017-4e22-997b-445d4db0d515 could not be found
2014-02-21 04:35:05.794 | 2014-02-21 04:31:40,462 INFO [neutron.plugins.nicira.vshield.tasks.tasks] TaskManager terminated
2014-02-21 04:35:05.794 | }}}
2014-02-21 04:35:05.794 |
2014-02-21 04:35:05.794 | Traceback (most recent call last):
2014-02-21 04:35:05.794 | File "neutron/tests/unit/test_l3_plugin.py", line 772, in test_router_add_interface_subnet_with_port_from_other_tenant
2014-02-21 04:35:05.794 | None)
2014-02-21 04:35:05.794 | File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
2014-02-21 04:35:05.794 | self.gen.throw(type, value, traceback)
2014-02-21 04:35:05.794 | File "/usr/lib/python2.7/contextlib.py", line 121, in nested
2014-02-21 04:35:05.794 | if exit(*exc):
2014-02-21 04:35:05.794 | File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
2014-02-21 04:35:05.794 | self.gen.throw(type, value, traceback)
2014-02-21 04:35:05.795 | File "neutron/tests/unit/test_db_plugin.py", line 530, in network
2014-02-21 04:35:05.795 | self._delete('networks', network['network']['id'])
2014-02-21 04:35:05.795 | File "neutron/tests/unit/test_db_plugin.py", line 446, in _delete
2014-02-21 04:35:05.795 | self.assertEqual(res.status_int, expected_code)
2014-02-21 04:35:05.795 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
2014-02-21 04:35:05.795 | self.assertThat(observed, matcher, message)
2014-02-21 04:35:05.795 | File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
2014-02-21 04:35:05.795 | raise mismatch_error
2014-02-21 04:35:05.795 | MismatchError: 404 != 204
2014-02-21 04:35:05.795 | ======================================================================
2014-02-21 04:35:05.795 | FAIL: process-returncode
2014-02-21 04:35:05.796 | tags: worker-2
2014-02-21 04:35:05.796 | ----------------------------------------------------------------------
2014-02-21 04:35:05.796 | Binary content:
2014-02-21 04:35:05.796 | traceback (test/plain; charset="utf8")
2014-02-21 04:35:05.796 | Ran 10181 tests in 605.170s
2014-02-21 04:35:05.796 | FAILED (id=0, failures=2, skips=303)
2014-02-21 04:35:05.796 | error: testr failed (1)
2014-02-21 04:35:06.189 | ERROR: InvocationError: '/home/jenkins/workspace/gate-neutron-python27/.tox/py27/bin/python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='
Full log: http://logs.openstack.org/60/71260/7/gate/gate-neutron-
python27/c73bfda/console.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1282985/+subscriptions
Follow ups
References