From 6553bb7d8a288fd9489641a76247bcf1de2eafbe Mon Sep 17 00:00:00 2001 From: vinoth Date: Thu, 2 Jun 2016 22:55:27 +0530 Subject: [PATCH] BUG-2714 OVSDB needs to be more proactive in reporting errors with underlying OVS instances. * Logging an error message if br-int interface is not available while creating a network. * More discussion details with community can be found in below link, https://lists.opendaylight.org/pipermail/ovsdb-dev/2016-May/003206.html Change-Id: Ic1f9cbbe77c4b5f51724c8efec52bfa9860ab6b4 Signed-off-by: vinoth --- .../netvirt/openstack/netvirt/impl/SecurityServicesImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openstack/net-virt/src/main/java/org/opendaylight/netvirt/openstack/netvirt/impl/SecurityServicesImpl.java b/openstack/net-virt/src/main/java/org/opendaylight/netvirt/openstack/netvirt/impl/SecurityServicesImpl.java index 7f5f96f0aa..3ccdf8bdad 100644 --- a/openstack/net-virt/src/main/java/org/opendaylight/netvirt/openstack/netvirt/impl/SecurityServicesImpl.java +++ b/openstack/net-virt/src/main/java/org/opendaylight/netvirt/openstack/netvirt/impl/SecurityServicesImpl.java @@ -580,6 +580,9 @@ public class SecurityServicesImpl implements ConfigInterface, SecurityServicesMa for (Node topologyNode : toplogyNodes) { try { Node node = southbound.getBridgeNode(topologyNode,Constants.INTEGRATION_BRIDGE); + if (node == null) { + LOG.error("getNode: br-int interface is not found for node:{}", topologyNode.getNodeId().getValue()); + } List ovsdbPorts = southbound.getTerminationPointsOfBridge(node); for (OvsdbTerminationPointAugmentation ovsdbPort : ovsdbPorts) { String uuid = southbound.getInterfaceExternalIdsValue(ovsdbPort, -- 2.36.6