← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1281357] [NEW] IntegrityError on Nicira get_vcns_router_binding

 

Public bug reported:

Neutron gate for py27 is failing with this error...

2014-02-17 17:22:49.452 | 2014-02-17 17:22:49,107    ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network '35b65fc4-9904-4bcc-9d94-2a5af567e910'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'92dae896-947e-4dd8-b7bc-8b7652eeea3f', 'shared': False, 'port_security_enabled': True, 'id': '35b65fc4-9904-4bcc-9d94-2a5af567e910'}}
2014-02-17 17:22:49.452 | 2014-02-17 17:22:49,113    ERROR [neutron.plugins.nicira.vshield.tasks.tasks] Task Task-deploying-router1-c71b0936-b0db-441f-81eb-871722e43310-1fb1cf62-97f8-11e3-9688-bc764e050f7e encountered exception in <bound method VcnsCallbacks.edge_deploy_result of <neutron.plugins.nicira.NeutronServicePlugin.VcnsCallbacks object at 0x318fc710>> at state 3
2014-02-17 17:22:49.452 | Traceback (most recent call last):
2014-02-17 17:22:49.452 |   File "neutron/plugins/nicira/vshield/tasks/tasks.py", line 98, in _invoke_monitor
2014-02-17 17:22:49.452 |     func(self)
2014-02-17 17:22:49.453 |   File "neutron/plugins/nicira/NeutronServicePlugin.py", line 1566, in edge_deploy_result
2014-02-17 17:22:49.453 |     context.session, neutron_router_id)
2014-02-17 17:22:49.454 |   File "neutron/plugins/nicira/dbexts/vcns_db.py", line 43, in get_vcns_router_binding
2014-02-17 17:22:49.454 |     filter_by(router_id=router_id).first())
2014-02-17 17:22:49.454 |   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-17 17:22:49.454 |     ret = list(self[0:1])
2014-02-17 17:22:49.455 |   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-17 17:22:49.455 |     return list(res)
2014-02-17 17:22:49.455 |   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-17 17:22:49.456 |     self.session._autoflush()
2014-02-17 17:22:49.456 |   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-17 17:22:49.456 |     self.flush()
2014-02-17 17:22:49.457 |   File "neutron/openstack/common/db/sqlalchemy/session.py", line 542, in _wrap
2014-02-17 17:22:49.457 |     raise exception.DBError(e)
2014-02-17 17:22:49.457 | DBError: (IntegrityError) foreign key constraint failed u'INSERT INTO neutron_nsx_network_mappings (neutron_id, nsx_id) VALUES (?, ?)' ('35b65fc4-9904-4bcc-9d94-2a5af567e910', u'a035e43d-91b3-479e-a0d0-b98b7c4b29ab')
2014-02-17 17:22:49.458 | 2014-02-17 17:22:49,135    ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network 'e970f0a0-d222-4a37-91c8-00eaefaee61b'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'8e6ecbc9-1902-46ea-9757-a8b2c9e969a5', 'shared': False, 'port_security_enabled': True, 'id': 'e970f0a0-d222-4a37-91c8-00eaefaee61b'}}
2014-02-17 17:22:49.458 | 2014-02-17 17:22:49,153    ERROR [neutron.api.v2.resource] create failed

Ref: http://logs.openstack.org/27/41827/21/check/gate-neutron-
python27/fdcefc5/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/1281357

Title:
  IntegrityError on Nicira get_vcns_router_binding

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Neutron gate for py27 is failing with this error...

  2014-02-17 17:22:49.452 | 2014-02-17 17:22:49,107    ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network '35b65fc4-9904-4bcc-9d94-2a5af567e910'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'92dae896-947e-4dd8-b7bc-8b7652eeea3f', 'shared': False, 'port_security_enabled': True, 'id': '35b65fc4-9904-4bcc-9d94-2a5af567e910'}}
  2014-02-17 17:22:49.452 | 2014-02-17 17:22:49,113    ERROR [neutron.plugins.nicira.vshield.tasks.tasks] Task Task-deploying-router1-c71b0936-b0db-441f-81eb-871722e43310-1fb1cf62-97f8-11e3-9688-bc764e050f7e encountered exception in <bound method VcnsCallbacks.edge_deploy_result of <neutron.plugins.nicira.NeutronServicePlugin.VcnsCallbacks object at 0x318fc710>> at state 3
  2014-02-17 17:22:49.452 | Traceback (most recent call last):
  2014-02-17 17:22:49.452 |   File "neutron/plugins/nicira/vshield/tasks/tasks.py", line 98, in _invoke_monitor
  2014-02-17 17:22:49.452 |     func(self)
  2014-02-17 17:22:49.453 |   File "neutron/plugins/nicira/NeutronServicePlugin.py", line 1566, in edge_deploy_result
  2014-02-17 17:22:49.453 |     context.session, neutron_router_id)
  2014-02-17 17:22:49.454 |   File "neutron/plugins/nicira/dbexts/vcns_db.py", line 43, in get_vcns_router_binding
  2014-02-17 17:22:49.454 |     filter_by(router_id=router_id).first())
  2014-02-17 17:22:49.454 |   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-17 17:22:49.454 |     ret = list(self[0:1])
  2014-02-17 17:22:49.455 |   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-17 17:22:49.455 |     return list(res)
  2014-02-17 17:22:49.455 |   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-17 17:22:49.456 |     self.session._autoflush()
  2014-02-17 17:22:49.456 |   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-17 17:22:49.456 |     self.flush()
  2014-02-17 17:22:49.457 |   File "neutron/openstack/common/db/sqlalchemy/session.py", line 542, in _wrap
  2014-02-17 17:22:49.457 |     raise exception.DBError(e)
  2014-02-17 17:22:49.457 | DBError: (IntegrityError) foreign key constraint failed u'INSERT INTO neutron_nsx_network_mappings (neutron_id, nsx_id) VALUES (?, ?)' ('35b65fc4-9904-4bcc-9d94-2a5af567e910', u'a035e43d-91b3-479e-a0d0-b98b7c4b29ab')
  2014-02-17 17:22:49.458 | 2014-02-17 17:22:49,135    ERROR [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] No DHCP agents are associated with network 'e970f0a0-d222-4a37-91c8-00eaefaee61b'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'8e6ecbc9-1902-46ea-9757-a8b2c9e969a5', 'shared': False, 'port_security_enabled': True, 'id': 'e970f0a0-d222-4a37-91c8-00eaefaee61b'}}
  2014-02-17 17:22:49.458 | 2014-02-17 17:22:49,153    ERROR [neutron.api.v2.resource] create failed

  Ref: http://logs.openstack.org/27/41827/21/check/gate-neutron-
  python27/fdcefc5/console.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1281357/+subscriptions


Follow ups

References