[OVSDB-184] Event dispatcher found no handler for NorthboundEvent Created: 08/Jul/15  Updated: 03/May/18  Resolved: 11/Oct/15

Status: Resolved
Project: ovsdb
Component/s: openstack.net-virt
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Alexis de Talhouƫt Assignee: Flavio Fernandes
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3962

 Description   

While running integration test on the ovsdb netvirt piece, we hit those issues:

2015-07-08 12:48:15,973 | WARN | ntDispatcherImpl | EventDispatcher | 271 - org.opendaylight.ovsdb.openstack.net-virt - 1.1.1.SNAPSHOT | event dispatcher found no handler for NorthboundEvent [action=ADD, port=NeutronPort [portUUID=8ddd29db-f417-4917-979f-b01d4b1c3e0d, networkUUID=7da709ff-397f-4778-a0e8-994811272fdb, name=, adminStateUp=true, status=null, macAddress=FA:16:3E:7E:A0:D8, fixedIPs=[Neutron_IPs

{ipAddress='192.168.111.21', subnetUUID='00289199-e288-464a-ab2f-837ca67101a7'}

], deviceID=e09818e7-a05a-4963-9927-fc1dc6f1e844, deviceOwner=network:router_gateway, tenantID=, floatingIPMap={}, securityGroups=[], bindinghostID=, bindingvnicType=normal, bindingvnicType=normal], subnet=null, router=null, routerInterface=null, floatingIP=null, network=null, loadBalancer=null, loadBalancerPool=null, loadBalancerPoolMember=null]

2015-07-08 12:48:16,066 | WARN | ntDispatcherImpl | EventDispatcher | 271 - org.opendaylight.ovsdb.openstack.net-virt - 1.1.1.SNAPSHOT | event dispatcher found no handler for NorthboundEvent [action=ADD, port=null, subnet=null, router=null, routerInterface=null, floatingIP=null, network=NeutronNetwork [networkUUID=12809f83-ccdf-422c-a20a-4ddae0712655, networkName=net1, adminStateUp=true, shared=false, tenantID=cde2563ead464ffa97963c59e002c0cf, routerExternal=false, providerNetworkType=vxlan, providerPhysicalNetwork=null, providerSegmentationID=1062, status=ACTIVE, subnets=[], myPorts=[], segments = null], loadBalancer=null, loadBalancerPool=null, loadBalancerPoolMember=null]

2015-07-08 12:48:15,738 | WARN | ntDispatcherImpl | EventDispatcher | 271 - org.opendaylight.ovsdb.openstack.net-virt - 1.1.1.SNAPSHOT | event dispatcher found no handler for NorthboundEvent [action=ADD, port=null, subnet=NeutronSubnet [subnetUUID=00289199-e288-464a-ab2f-837ca67101a7, networkUUID=7da709ff-397f-4778-a0e8-994811272fdb, name=subext1, ipVersion=4, cidr=192.168.111.0/24, gatewayIP=192.168.111.254, dnsNameservers=[], allocationPools=[NeutronSubnetIPAllocationPool [start=192.168.111.21, end=192.168.111.40]], hostRoutes=[], enableDHCP=false, tenantID=cde2563ead464ffa97963c59e002c0cf, myPorts=[], gatewayIPAssigned=false, ipv6AddressMode=null, ipv6RaMode=null], router=null, routerInterface=null, floatingIP=null, network=null, loadBalancer=null, loadBalancerPool=null, loadBalancerPoolMember=null]

Those logs comme from [1] (stable/lithium)
Note: this issue has been seen on stable/lithium and master

[1] contains the complete karaf log stable/lithium
[2] contains the complete karaf log master
[3] robot test cases that are run against ovsdb netvirt

[1] https://jenkins.opendaylight.org/releng/view/ovsdb/job/ovsdb-csit-1node-cds-netvirt-all-stable-lithium/37/artifact/karaf.log
[2] https://jenkins.opendaylight.org/releng/view/ovsdb/job/ovsdb-csit-1node-cds-netvirt-all-master/68/artifact/karaf.log
[3] https://git.opendaylight.org/gerrit/gitweb?p=integration.git;a=tree;f=test/csit/suites/ovsdb/Openstack_Neutron;h=10d604638defc2928bc5b8d73afb0dda46b726be;hb=HEAD



 Comments   
Comment by Flavio Fernandes [ 08/Jul/15 ]

In public void setDependencies() for the classes that call
eventDispatcher.eventHandlerAdded() the property:

Object handlerTypeObject = ref.getProperty(Constants.EVENT_HANDLER_TYPE_PROPERTY);

should contain the value:

AbstractEvent.HandlerType handlerType

because that is no longer the case, all event handlers are not getting
the events via dispatchEvent() in EventDispatcherImpl.

Regression may have been introduced here:

commit 380fec7149f3247929c63b02a56b1c5f93da5dda
Author: Sam Hague <shague@redhat.com>
Date: Wed May 20 21:07:33 2015 -0400

Use config instead of Activator for netvirt and netvirt-providers

Change-Id: I06076ab94011be23c51055132a429c4584476193
Signed-off-by: Sam Hague <shague@redhat.com>

Comment by Flavio Fernandes [ 08/Jul/15 ]

flaviof [11:29 AM]
@adetalhouet: can you point me to the jenkins build(s) that have this problem?

adetalhouet [11:30 AM]
[1] https://jenkins.opendaylight.org/releng/view/ovsdb/job/ovsdb-csit-1node-cds-netvirt-all-stable-lithium/37
[2] https://jenkins.opendaylight.org/releng/view/ovsdb/job/ovsdb-csit-1node-cds-netvirt-all-master/68 (edited)

Comment by Sam Hague [ 11/Oct/15 ]

https://git.opendaylight.org/gerrit/#/c/27541/

Generated at Wed Feb 07 20:35:43 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.