← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1233470] Re: mock LinuxBridgeManager avoids exceptions with nose

 

I can't seem to reproduce either issue Marking as Invalid unless issue
comes up again.

** Changed in: neutron
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1233470

Title:
  mock LinuxBridgeManager avoids exceptions with nose

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:

  FAIL: neutron.tests.unit.nicira.test_edge_router.ServiceRouterTestCase.test_router_add_interface_subnet_with_port_from_other_tenant
  ----------------------------------------------------------------------
  _StringException: pythonlogging:'': {{{
  2013-09-30 20:27:19,991     INFO [neutron.manager] Loading Plugin: neutron.plugins.nicira.NeutronServicePlugin.NvpAdvancedPlugin
  2013-09-30 20:27:20,051     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2013-09-30 20:27:20,051     INFO [neutron.manager] Service FIREWALL is supported by the core plugin
  2013-09-30 20:27:20,051     INFO [neutron.manager] Service LOADBALANCER is supported by the core plugin
  2013-09-30 20:27:20,051     INFO [neutron.api.extensions] Initializing extension manager.
  2013-09-30 20:27:20,052     INFO [neutron.api.extensions] Loading extension file: nvp_qos.pyc
  2013-09-30 20:27:20,052     INFO [neutron.api.extensions] Loading extension file: servicerouter.pyc
  2013-09-30 20:27:20,052     INFO [neutron.api.extensions] Loading extension file: __init__.py
  2013-09-30 20:27:20,052     INFO [neutron.api.extensions] Loading extension file: maclearning.pyc
  2013-09-30 20:27:20,052     INFO [neutron.api.extensions] Loading extension file: __init__.pyc
  2013-09-30 20:27:20,052     INFO [neutron.api.extensions] Loading extension file: distributedrouter.pyc
  2013-09-30 20:27:20,052     INFO [neutron.api.extensions] Loading extension file: distributedrouter.py
  2013-09-30 20:27:20,052     INFO [neutron.api.extensions] Loaded extension: dist-router
  2013-09-30 20:27:20,052     INFO [neutron.api.extensions] Loading extension file: nvp_networkgw.py
  2013-09-30 20:27:20,053     INFO [neutron.api.extensions] Loaded extension: network-gateway
  2013-09-30 20:27:20,053     INFO [neutron.api.extensions] Loading extension file: servicerouter.py
  2013-09-30 20:27:20,053     INFO [neutron.api.extensions] Loaded extension: service-router
  2013-09-30 20:27:20,053     INFO [neutron.api.extensions] Loading extension file: maclearning.py
  2013-09-30 20:27:20,053     INFO [neutron.api.extensions] Loaded extension: mac-learning
  2013-09-30 20:27:20,053     INFO [neutron.api.extensions] Loading extension file: nvp_networkgw.pyc
  2013-09-30 20:27:20,054     INFO [neutron.api.extensions] Loading extension file: nvp_qos.py
  2013-09-30 20:27:20,054     INFO [neutron.api.extensions] Loaded extension: nvp-qos
  2013-09-30 20:27:20,054     INFO [neutron.api.extensions] Loading extension file: routerservicetype.pyc
  2013-09-30 20:27:20,054     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.pyc
  2013-09-30 20:27:20,054     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.pyc
  2013-09-30 20:27:20,054     INFO [neutron.api.extensions] Loading extension file: flavor.py
  2013-09-30 20:27:20,055  WARNING [neutron.api.extensions] Extension flavor not supported by any of loaded plugins
  2013-09-30 20:27:20,055     INFO [neutron.api.extensions] Loading extension file: providernet.pyc
  2013-09-30 20:27:20,055     INFO [neutron.api.extensions] Loading extension file: external_net.pyc
  2013-09-30 20:27:20,055     INFO [neutron.api.extensions] Loading extension file: quotasv2.pyc
  2013-09-30 20:27:20,055     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.py
  2013-09-30 20:27:20,055     INFO [neutron.api.extensions] Loaded extension: routed-service-insertion
  2013-09-30 20:27:20,055     INFO [neutron.api.extensions] Loading extension file: __init__.py
  2013-09-30 20:27:20,055     INFO [neutron.api.extensions] Loading extension file: providernet.py
  2013-09-30 20:27:20,056     INFO [neutron.api.extensions] Loaded extension: provider
  2013-09-30 20:27:20,056     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.pyc
  2013-09-30 20:27:20,056     INFO [neutron.api.extensions] Loading extension file: flavor.pyc
  2013-09-30 20:27:20,056     INFO [neutron.api.extensions] Loading extension file: __init__.pyc
  2013-09-30 20:27:20,056     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.py
  2013-09-30 20:27:20,056  WARNING [neutron.api.extensions] Extension lbaas_agent_scheduler not supported by any of loaded plugins
  2013-09-30 20:27:20,056     INFO [neutron.api.extensions] Loading extension file: firewall.py
  2013-09-30 20:27:20,057     INFO [neutron.api.extensions] Loaded extension: fwaas
  2013-09-30 20:27:20,058     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.py
  2013-09-30 20:27:20,058     INFO [neutron.api.extensions] Loaded extension: ext-gw-mode
  2013-09-30 20:27:20,058     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.py
  2013-09-30 20:27:20,058     INFO [neutron.api.extensions] Loaded extension: dhcp_agent_scheduler
  2013-09-30 20:27:20,058     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.pyc
  2013-09-30 20:27:20,059     INFO [neutron.api.extensions] Loading extension file: agent.pyc
  2013-09-30 20:27:20,059     INFO [neutron.api.extensions] Loading extension file: portbindings.py
  2013-09-30 20:27:20,059     INFO [neutron.api.extensions] Loaded extension: binding
  2013-09-30 20:27:20,059     INFO [neutron.api.extensions] Loading extension file: securitygroup.py
  2013-09-30 20:27:20,060     INFO [neutron.api.extensions] Loaded extension: security-group
  2013-09-30 20:27:20,060     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.py
  2013-09-30 20:27:20,060     INFO [neutron.api.extensions] Loaded extension: multi-provider
  2013-09-30 20:27:20,060     INFO [neutron.api.extensions] Loading extension file: portsecurity.pyc
  2013-09-30 20:27:20,060     INFO [neutron.api.extensions] Loading extension file: metering.py
  2013-09-30 20:27:20,061  WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins
  2013-09-30 20:27:20,061     INFO [neutron.api.extensions] Loading extension file: loadbalancer.pyc
  2013-09-30 20:27:20,061     INFO [neutron.api.extensions] Loading extension file: loadbalancer.py
  2013-09-30 20:27:20,062     INFO [neutron.api.extensions] Loaded extension: lbaas
  2013-09-30 20:27:20,062     INFO [neutron.api.extensions] Loading extension file: l3.py
  2013-09-30 20:27:20,063     INFO [neutron.api.extensions] Loaded extension: router
  2013-09-30 20:27:20,063     INFO [neutron.api.extensions] Loading extension file: vpnaas.pyc
  2013-09-30 20:27:20,063     INFO [neutron.api.extensions] Loading extension file: firewall.pyc
  2013-09-30 20:27:20,063     INFO [neutron.api.extensions] Loading extension file: servicetype.py
  2013-09-30 20:27:20,063  WARNING [neutron.api.extensions] Extension service-type not supported by any of loaded plugins
  2013-09-30 20:27:20,063     INFO [neutron.api.extensions] Loading extension file: extraroute.py
  2013-09-30 20:27:20,063     INFO [neutron.api.extensions] Loaded extension: extraroute
  2013-09-30 20:27:20,064     INFO [neutron.api.extensions] Loading extension file: servicetype.pyc
  2013-09-30 20:27:20,064     INFO [neutron.api.extensions] Loading extension file: routerservicetype.py
  2013-09-30 20:27:20,064  WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins
  2013-09-30 20:27:20,064     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.py
  2013-09-30 20:27:20,064  WARNING [neutron.api.extensions] Extension l3_agent_scheduler not supported by any of loaded plugins
  2013-09-30 20:27:20,064     INFO [neutron.api.extensions] Loading extension file: vpnaas.py
  2013-09-30 20:27:20,065  WARNING [neutron.api.extensions] Extension vpnaas not supported by any of loaded plugins
  2013-09-30 20:27:20,065     INFO [neutron.api.extensions] Loading extension file: portbindings.pyc
  2013-09-30 20:27:20,065     INFO [neutron.api.extensions] Loading extension file: metering.pyc
  2013-09-30 20:27:20,065     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.pyc
  2013-09-30 20:27:20,065     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.pyc
  2013-09-30 20:27:20,066     INFO [neutron.api.extensions] Loading extension file: quotasv2.py
  2013-09-30 20:27:20,066     INFO [neutron.api.extensions] Loaded extension: quotas
  2013-09-30 20:27:20,066     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.pyc
  2013-09-30 20:27:20,066     INFO [neutron.api.extensions] Loading extension file: extraroute.pyc
  2013-09-30 20:27:20,066     INFO [neutron.api.extensions] Loading extension file: portsecurity.py
  2013-09-30 20:27:20,066     INFO [neutron.api.extensions] Loaded extension: port-security
  2013-09-30 20:27:20,067     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.py
  2013-09-30 20:27:20,067  WARNING [neutron.api.extensions] Extension extra_dhcp_opt not supported by any of loaded plugins
  2013-09-30 20:27:20,067     INFO [neutron.api.extensions] Loading extension file: agent.py
  2013-09-30 20:27:20,067     INFO [neutron.api.extensions] Loaded extension: agent
  2013-09-30 20:27:20,068     INFO [neutron.api.extensions] Loading extension file: l3.pyc
  2013-09-30 20:27:20,068     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.py
  2013-09-30 20:27:20,068     INFO [neutron.api.extensions] Loaded extension: allowed-address-pairs
  2013-09-30 20:27:20,068     INFO [neutron.api.extensions] Loading extension file: external_net.py
  2013-09-30 20:27:20,068     INFO [neutron.api.extensions] Loaded extension: external-net
  2013-09-30 20:27:20,068     INFO [neutron.api.extensions] Loading extension file: securitygroup.pyc
  2013-09-30 20:27:20,068     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.pyc
  2013-09-30 20:27:20,069     INFO [neutron.api.extensions] Extension 'Neutron-NVP Network Gateway' provides no backward compatibility map for extended attributes
  2013-09-30 20:27:20,069     INFO [neutron.api.extensions] Extension 'MAC Learning' provides no backward compatibility map for extended attributes
  2013-09-30 20:27:20,069     INFO [neutron.api.extensions] Extension 'nvp-qos' provides no backward compatibility map for extended attributes
  2013-09-30 20:27:20,069     INFO [neutron.api.extensions] Extension 'agent' provides no backward compatibility map for extended attributes
  2013-09-30 20:27:20,069     INFO [neutron.api.extensions] Extension 'Distributed Router' provides no backward compatibility map for extended attributes
  2013-09-30 20:27:20,069     INFO [neutron.api.extensions] Extension 'Port Security' provides no backward compatibility map for extended attributes
  2013-09-30 20:27:20,069     INFO [neutron.api.extensions] Extension 'Allowed Address Pairs' provides no backward compatibility map for extended attributes
  2013-09-30 20:27:20,069     INFO [neutron.api.extensions] Extension 'Routed Service Insertion' provides no backward compatibility map for extended attributes
  2013-09-30 20:27:20,069     INFO [neutron.api.extensions] Extension 'Neutron Extra Route' provides no backward compatibility map for extended attributes
  2013-09-30 20:27:20,072     INFO [neutron.common.config] Config paste file: /home/smccully/projects/launchpad-workflow/neutron/neutron/tests/etc/api-paste.ini.test
  2013-09-30 20:27:20,074  WARNING [neutron.quota] router is already registered.
  2013-09-30 20:27:20,074  WARNING [neutron.quota] floatingip is already registered.
  2013-09-30 20:27:20,101  WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
  2013-09-30 20:27:20,101  WARNING [neutron.db.agentschedulers_db] Fail scheduling network {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'518e0e59-e4a4-4564-8a1a-4467af20219a', 'port_security_enabled': True, 'shared': False, 'id': u'd7363e27-ab6c-411d-91d1-5e8d91b11a25'}
  2013-09-30 20:27:20,115  WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
  2013-09-30 20:27:20,115  WARNING [neutron.db.agentschedulers_db] Fail scheduling network {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'ac4bca3a-ea1f-4cdd-8990-7e0ee3027100', 'port_security_enabled': True, 'shared': False, 'id': u'd1d51630-d693-4a2e-9303-3886aee04874'}
  2013-09-30 20:27:20,186    ERROR [NeutronPlugin] Unable to create port or set port attachment in NVP.
  2013-09-30 20:27:20,199    ERROR [neutron.api.v2.resource] add_router_interface failed
  Traceback (most recent call last):
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/api/v2/resource.py", line 84, in resource
      result = method(request=request, **args)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/api/v2/base.py", line 185, in _handle_action
      return getattr(self._plugin, name)(*arg_list, **kwargs)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronServicePlugin.py", line 683, in add_router_interface
      context, router_id, interface_info)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 1598, in add_router_interface
      context, router_id, interface_info)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/db/l3_db.py", line 356, in add_router_interface
      'name': ''}})
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 1190, in create_port
      self._delete_port(context, neutron_port_id)
    File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
      self.gen.next()
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 1174, in create_port
      port_create_func(context, port_data)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 565, in _nvp_create_router_port
      subnet_id = port_data['fixed_ips'][0]['subnet_id']
  IndexError: list index out of range
  2013-09-30 20:27:20,327    ERROR [neutron.plugins.nicira.vshield.tasks.tasks] Task Task-delete-edge-1-37777c53-03f6-44a9-a9b0-9aad477fb5d2-9daea8c8-2a38-11e3-ac3f-089e01b78faa encountered exception in <bound method VcnsCallbacks.edge_delete_result of <neutron.plugins.nicira.NeutronServicePlugin.VcnsCallbacks object at 0x790f9d90>> at state 3
  Traceback (most recent call last):
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/vshield/tasks/tasks.py", line 100, in _invoke_monitor
      func(self)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronServicePlugin.py", line 1581, in edge_delete_result
      router_id)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/dbexts/vcns_db.py", line 58, in delete_vcns_router_binding
      session.delete(binding)
    File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 458, in __exit__
      self.rollback()
    File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 387, in rollback
      for subtransaction in stx._iterate_parents(upto=self):
  AttributeError: 'NoneType' object has no attribute '_iterate_parents'
  }}}

  Traceback (most recent call last):
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/tests/unit/test_l3_plugin.py", line 743, in test_router_add_interface_subnet_with_port_from_other_tenant
      None)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/tests/unit/test_l3_plugin.py", line 387, in _router_interface_action
      self.assertEqual(res.status_int, expected_code)
    File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 322, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 417, in assertThat
      raise MismatchError(matchee, matcher, mismatch, verbose)
  MismatchError: 500 != 200

  -------------------- >> begin captured logging << --------------------
  neutron.manager: INFO: Loading Plugin: neutron.plugins.nicira.NeutronServicePlugin.NvpAdvancedPlugin
  neutron.manager: INFO: Service L3_ROUTER_NAT is supported by the core plugin
  neutron.manager: INFO: Service FIREWALL is supported by the core plugin
  neutron.manager: INFO: Service LOADBALANCER is supported by the core plugin
  neutron.api.extensions: INFO: Initializing extension manager.
  neutron.api.extensions: INFO: Loading extension file: nvp_qos.pyc
  neutron.api.extensions: INFO: Loading extension file: servicerouter.pyc
  neutron.api.extensions: INFO: Loading extension file: __init__.py
  neutron.api.extensions: INFO: Loading extension file: maclearning.pyc
  neutron.api.extensions: INFO: Loading extension file: __init__.pyc
  neutron.api.extensions: INFO: Loading extension file: distributedrouter.pyc
  neutron.api.extensions: INFO: Loading extension file: distributedrouter.py
  neutron.api.extensions: INFO: Loaded extension: dist-router
  neutron.api.extensions: INFO: Loading extension file: nvp_networkgw.py
  neutron.api.extensions: INFO: Loaded extension: network-gateway
  neutron.api.extensions: INFO: Loading extension file: servicerouter.py
  neutron.api.extensions: INFO: Loaded extension: service-router
  neutron.api.extensions: INFO: Loading extension file: maclearning.py
  neutron.api.extensions: INFO: Loaded extension: mac-learning
  neutron.api.extensions: INFO: Loading extension file: nvp_networkgw.pyc
  neutron.api.extensions: INFO: Loading extension file: nvp_qos.py
  neutron.api.extensions: INFO: Loaded extension: nvp-qos
  neutron.api.extensions: INFO: Loading extension file: routerservicetype.pyc
  neutron.api.extensions: INFO: Loading extension file: multiprovidernet.pyc
  neutron.api.extensions: INFO: Loading extension file: extra_dhcp_opt.pyc
  neutron.api.extensions: INFO: Loading extension file: flavor.py
  neutron.api.extensions: WARNING: Extension flavor not supported by any of loaded plugins
  neutron.api.extensions: INFO: Loading extension file: providernet.pyc
  neutron.api.extensions: INFO: Loading extension file: external_net.pyc
  neutron.api.extensions: INFO: Loading extension file: quotasv2.pyc
  neutron.api.extensions: INFO: Loading extension file: routedserviceinsertion.py
  neutron.api.extensions: INFO: Loaded extension: routed-service-insertion
  neutron.api.extensions: INFO: Loading extension file: __init__.py
  neutron.api.extensions: INFO: Loading extension file: providernet.py
  neutron.api.extensions: INFO: Loaded extension: provider
  neutron.api.extensions: INFO: Loading extension file: l3agentscheduler.pyc
  neutron.api.extensions: INFO: Loading extension file: flavor.pyc
  neutron.api.extensions: INFO: Loading extension file: __init__.pyc
  neutron.api.extensions: INFO: Loading extension file: lbaas_agentscheduler.py
  neutron.api.extensions: WARNING: Extension lbaas_agent_scheduler not supported by any of loaded plugins
  neutron.api.extensions: INFO: Loading extension file: firewall.py
  neutron.api.extensions: INFO: Loaded extension: fwaas
  neutron.api.extensions: INFO: Loading extension file: l3_ext_gw_mode.py
  neutron.api.extensions: INFO: Loaded extension: ext-gw-mode
  neutron.api.extensions: INFO: Loading extension file: dhcpagentscheduler.py
  neutron.api.extensions: INFO: Loaded extension: dhcp_agent_scheduler
  neutron.api.extensions: INFO: Loading extension file: allowedaddresspairs.pyc
  neutron.api.extensions: INFO: Loading extension file: agent.pyc
  neutron.api.extensions: INFO: Loading extension file: portbindings.py
  neutron.api.extensions: INFO: Loaded extension: binding
  neutron.api.extensions: INFO: Loading extension file: securitygroup.py
  neutron.api.extensions: INFO: Loaded extension: security-group
  neutron.api.extensions: INFO: Loading extension file: multiprovidernet.py
  neutron.api.extensions: INFO: Loaded extension: multi-provider
  neutron.api.extensions: INFO: Loading extension file: portsecurity.pyc
  neutron.api.extensions: INFO: Loading extension file: metering.py
  neutron.api.extensions: WARNING: Extension metering not supported by any of loaded plugins
  neutron.api.extensions: INFO: Loading extension file: loadbalancer.pyc
  neutron.api.extensions: INFO: Loading extension file: loadbalancer.py
  neutron.api.extensions: INFO: Loaded extension: lbaas
  neutron.api.extensions: INFO: Loading extension file: l3.py
  neutron.api.extensions: INFO: Loaded extension: router
  neutron.api.extensions: INFO: Loading extension file: vpnaas.pyc
  neutron.api.extensions: INFO: Loading extension file: firewall.pyc
  neutron.api.extensions: INFO: Loading extension file: servicetype.py
  neutron.api.extensions: WARNING: Extension service-type not supported by any of loaded plugins
  neutron.api.extensions: INFO: Loading extension file: extraroute.py
  neutron.api.extensions: INFO: Loaded extension: extraroute
  neutron.api.extensions: INFO: Loading extension file: servicetype.pyc
  neutron.api.extensions: INFO: Loading extension file: routerservicetype.py
  neutron.api.extensions: WARNING: Extension router-service-type not supported by any of loaded plugins
  neutron.api.extensions: INFO: Loading extension file: l3agentscheduler.py
  neutron.api.extensions: WARNING: Extension l3_agent_scheduler not supported by any of loaded plugins
  neutron.api.extensions: INFO: Loading extension file: vpnaas.py
  neutron.api.extensions: WARNING: Extension vpnaas not supported by any of loaded plugins
  neutron.api.extensions: INFO: Loading extension file: portbindings.pyc
  neutron.api.extensions: INFO: Loading extension file: metering.pyc
  neutron.api.extensions: INFO: Loading extension file: dhcpagentscheduler.pyc
  neutron.api.extensions: INFO: Loading extension file: l3_ext_gw_mode.pyc
  neutron.api.extensions: INFO: Loading extension file: quotasv2.py
  neutron.api.extensions: INFO: Loaded extension: quotas
  neutron.api.extensions: INFO: Loading extension file: lbaas_agentscheduler.pyc
  neutron.api.extensions: INFO: Loading extension file: extraroute.pyc
  neutron.api.extensions: INFO: Loading extension file: portsecurity.py
  neutron.api.extensions: INFO: Loaded extension: port-security
  neutron.api.extensions: INFO: Loading extension file: extra_dhcp_opt.py
  neutron.api.extensions: WARNING: Extension extra_dhcp_opt not supported by any of loaded plugins
  neutron.api.extensions: INFO: Loading extension file: agent.py
  neutron.api.extensions: INFO: Loaded extension: agent
  neutron.api.extensions: INFO: Loading extension file: l3.pyc
  neutron.api.extensions: INFO: Loading extension file: allowedaddresspairs.py
  neutron.api.extensions: INFO: Loaded extension: allowed-address-pairs
  neutron.api.extensions: INFO: Loading extension file: external_net.py
  neutron.api.extensions: INFO: Loaded extension: external-net
  neutron.api.extensions: INFO: Loading extension file: securitygroup.pyc
  neutron.api.extensions: INFO: Loading extension file: routedserviceinsertion.pyc
  neutron.api.extensions: INFO: Extension 'Neutron-NVP Network Gateway' provides no backward compatibility map for extended attributes
  neutron.api.extensions: INFO: Extension 'MAC Learning' provides no backward compatibility map for extended attributes
  neutron.api.extensions: INFO: Extension 'nvp-qos' provides no backward compatibility map for extended attributes
  neutron.api.extensions: INFO: Extension 'agent' provides no backward compatibility map for extended attributes
  neutron.api.extensions: INFO: Extension 'Distributed Router' provides no backward compatibility map for extended attributes
  neutron.api.extensions: INFO: Extension 'Port Security' provides no backward compatibility map for extended attributes
  neutron.api.extensions: INFO: Extension 'Allowed Address Pairs' provides no backward compatibility map for extended attributes
  neutron.api.extensions: INFO: Extension 'Routed Service Insertion' provides no backward compatibility map for extended attributes
  neutron.api.extensions: INFO: Extension 'Neutron Extra Route' provides no backward compatibility map for extended attributes
  neutron.common.config: INFO: Config paste file: /home/smccully/projects/launchpad-workflow/neutron/neutron/tests/etc/api-paste.ini.test
  neutron.quota: WARNING: router is already registered.
  neutron.quota: WARNING: floatingip is already registered.
  neutron.scheduler.dhcp_agent_scheduler: WARNING: No more DHCP agents
  neutron.db.agentschedulers_db: WARNING: Fail scheduling network {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'518e0e59-e4a4-4564-8a1a-4467af20219a', 'port_security_enabled': True, 'shared': False, 'id': u'd7363e27-ab6c-411d-91d1-5e8d91b11a25'}
  neutron.scheduler.dhcp_agent_scheduler: WARNING: No more DHCP agents
  neutron.db.agentschedulers_db: WARNING: Fail scheduling network {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'admin_state_up': True, 'tenant_id': u'ac4bca3a-ea1f-4cdd-8990-7e0ee3027100', 'port_security_enabled': True, 'shared': False, 'id': u'd1d51630-d693-4a2e-9303-3886aee04874'}
  NeutronPlugin: ERROR: Unable to create port or set port attachment in NVP.
  neutron.api.v2.resource: ERROR: add_router_interface failed
  Traceback (most recent call last):
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/api/v2/resource.py", line 84, in resource
      result = method(request=request, **args)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/api/v2/base.py", line 185, in _handle_action
      return getattr(self._plugin, name)(*arg_list, **kwargs)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronServicePlugin.py", line 683, in add_router_interface
      context, router_id, interface_info)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 1598, in add_router_interface
      context, router_id, interface_info)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/db/l3_db.py", line 356, in add_router_interface
      'name': ''}})
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 1190, in create_port
      self._delete_port(context, neutron_port_id)
    File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
      self.gen.next()
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 1174, in create_port
      port_create_func(context, port_data)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 565, in _nvp_create_router_port
      subnet_id = port_data['fixed_ips'][0]['subnet_id']
  IndexError: list index out of range
  neutron.plugins.nicira.vshield.tasks.tasks: ERROR: Task Task-delete-edge-1-37777c53-03f6-44a9-a9b0-9aad477fb5d2-9daea8c8-2a38-11e3-ac3f-089e01b78faa encountered exception in <bound method VcnsCallbacks.edge_delete_result of <neutron.plugins.nicira.NeutronServicePlugin.VcnsCallbacks object at 0x790f9d90>> at state 3
  Traceback (most recent call last):
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/vshield/tasks/tasks.py", line 100, in _invoke_monitor
      func(self)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/NeutronServicePlugin.py", line 1581, in edge_delete_result
      router_id)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/dbexts/vcns_db.py", line 58, in delete_vcns_router_binding
      session.delete(binding)
    File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 458, in __exit__
      self.rollback()
    File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 387, in rollback
      for subtransaction in stx._iterate_parents(upto=self):
  AttributeError: 'NoneType' object has no attribute '_iterate_parents'

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