Result state would have been return empty from reconciliation framework, 
because FRM patch was not merged for some time in master.

The issue would have been seen in the timeframe where the FRM was not merged.

Brady,
Complete patch set has been merged now and it should solve the issue you are 
seeing.
Could you please check again with the latest master code base?

Regards,
Arun

From: [email protected] 
[mailto:[email protected]] On Behalf Of Jozef 
Bacigál
Sent: Monday, August 21, 2017 11:49 AM
To: Anil Vishnoi <[email protected]>; Brady Johnson <[email protected]>
Cc: [email protected]
Subject: Re: [openflowplugin-dev] Failure in master connecting to OVS bridges

Device is disconnected because from reconciliation framework came result_state 
DISCONNECT (it may help to search the problem Arun, guys)

Anyway there is still no bug created or it is just me? I can’t find it.

Jozef

From: Anil Vishnoi [mailto:[email protected]]
Sent: Saturday, August 19, 2017 8:48 AM
To: Brady Johnson <[email protected]<mailto:[email protected]>>
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [openflowplugin-dev] Failure in master connecting to OVS bridges

Hi Brady,

It looks like a bug, please open a bug and mark it critical.

Thanks
Anil

On Thu, Aug 17, 2017 at 4:09 PM, Brady Johnson 
<[email protected]<mailto:[email protected]>> wrote:

Hello,

Ive run into a failure on master when trying to connect to an OVS bridge.

Notice, I dont see this error on stable/nitrogen, and I didnt see it 2 days 
ago, so its something new.

Please advise if I should create a bugzilla for this.


This is very easy to reproduce, here are the steps:


1) Setup OVS: set the manager, create a bridge and set the controller (replace 
IPs accordingly)

sudo ovs-vsctl set-manager "tcp:192.168.86.36:6640<http://192.168.86.36:6640>"
sudo ovs-vsctl add-br br-int
sudo ovs-vsctl set-controller br-int 
"tcp:192.168.86.36:6653<http://192.168.86.36:6653>"


2) Start ODL and install the features (Im hitting this problem with SFC 
features)

bin/karaf
opendaylight-user@root>feature:install odl-sfc-openflow-renderer

Notice that the manager (OVSDB) connects, but the controller (Openflow) does 
not.

$ sudo ovs-vsctl show
f3b1cb65-1419-403c-9863-4499e165aacc
    Manager "tcp:192.168.86.36:6640<http://192.168.86.36:6640>"
        is_connected: true
    Bridge br-int
        Controller "tcp:192.168.86.36:6653<http://192.168.86.36:6653>"
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "2.6.1"


In the logs, I get this set of messages repeated constantly:


2017-08-17 17:26:15,040 | INFO  | entLoopGroup-7-3 | ConnectionAdapterImpl      
      | 300 - 
org.opendaylight.openflowplugin.openflowjava.openflow-protocol-impl - 
0.6.0.SNAPSHOT | Hello received
2017-08-17 17:26:15,043 | INFO  | entLoopGroup-7-3 | ContextChainHolderImpl     
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Device 
openflow:99999963124801 connected.
2017-08-17 17:26:15,043 | INFO  | entLoopGroup-7-3 | DeviceManagerImpl          
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | 
ConnectionEvent: Device connected to controller, 
Device:/192.168.86.36:44976<http://192.168.86.36:44976>, NodeId:Uri 
[_value=openflow:99999963124801]
2017-08-17 17:26:15,044 | INFO  | entLoopGroup-7-3 | ContextChainHolderImpl     
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Started 
timer for setting SLAVE role on node openflow:99999963124801 if no role will be 
set in 20s.
2017-08-17 17:26:15,044 | INFO  | entLoopGroup-7-3 | ContextChainImpl           
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | 
Registering clustering services for node openflow:99999963124801
2017-08-17 17:26:15,044 | INFO  | entLoopGroup-7-3 | ContextChainImpl           
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | 
Registered clustering services for node openflow:99999963124801
2017-08-17 17:26:15,054 | INFO  | lt-dispatcher-22 | ContextChainImpl           
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Starting 
clustering services for node openflow:99999963124801
2017-08-17 17:26:15,054 | INFO  | lt-dispatcher-22 | DeviceContextImpl          
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Starting 
device context cluster services for node openflow:99999963124801
2017-08-17 17:26:15,057 | INFO  | entLoopGroup-7-3 | DeviceInitializationUtil   
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | IP 
address of the node openflow:99999963124801 is: IpAddress 
[_ipv4Address=Ipv4Address [_value=192.168.86.36]]
2017-08-17 17:26:15,057 | INFO  | entLoopGroup-7-3 | DeviceInitializationUtil   
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Port 
number of the node openflow:99999963124801 is: 44976
2017-08-17 17:26:15,093 | INFO  | entLoopGroup-7-3 | OF13DeviceInitializer      
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Static 
node openflow:99999963124801 info: OFPMPMETERFEATURES collected
2017-08-17 17:26:15,131 | INFO  | entLoopGroup-7-3 | OF13DeviceInitializer      
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Static 
node openflow:99999963124801 info: OFPMPGROUPFEATURES collected
2017-08-17 17:26:15,132 | INFO  | entLoopGroup-7-3 | OF13DeviceInitializer      
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Static 
node openflow:99999963124801 info: OFPMPPORTDESC collected
2017-08-17 17:26:15,133 | INFO  | entLoopGroup-7-3 | OF13DeviceInitializer      
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Static 
node openflow:99999963124801 successfully finished collecting
2017-08-17 17:26:15,133 | INFO  | lt-dispatcher-22 | SalRoleServiceImpl         
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | SetRole 
called with input:SetRoleInput [_controllerRole=BECOMEMASTER, _node=NodeRef 
[_value=KeyedInstanceIdentifier{targetType=interface 
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node, 
path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, 
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey
 [_id=Uri [_value=openflow:99999963124801]]]]}], augmentation=[]]
2017-08-17 17:26:15,133 | INFO  | lt-dispatcher-22 | SalRoleServiceImpl         
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | 
Requesting state change to BECOMEMASTER
2017-08-17 17:26:15,133 | INFO  | lt-dispatcher-22 | SalRoleServiceImpl         
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | 
RoleChangeTask called on device:openflow:99999963124801 OFPRole:BECOMEMASTER
2017-08-17 17:26:15,133 | INFO  | lt-dispatcher-22 | RoleService                
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | 
getGenerationIdFromDevice called for device: openflow:99999963124801
2017-08-17 17:26:15,134 | INFO  | lt-dispatcher-22 | RpcContextImpl             
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Starting 
rpc context cluster services for node openflow:99999963124801
2017-08-17 17:26:15,134 | INFO  | entLoopGroup-7-3 | RoleService                
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | 
submitRoleChange called for device:Uri [_value=openflow:99999963124801], 
role:BECOMEMASTER
2017-08-17 17:26:15,135 | INFO  | entLoopGroup-7-3 | RoleService                
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | 
submitRoleChange onSuccess for device:Uri [_value=openflow:99999963124801], 
role:BECOMEMASTER
2017-08-17 17:26:15,140 | INFO  | lt-dispatcher-22 | StatisticsContextImpl      
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Starting 
statistics context cluster services for node openflow:99999963124801
2017-08-17 17:26:15,141 | INFO  | lt-dispatcher-22 | ContextChainImpl           
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Started 
clustering services for node openflow:99999963124801
2017-08-17 17:26:15,171 | WARN  | entLoopGroup-7-3 | ContextChainHolderImpl     
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | 
Reconciliation framework failure for device openflow:99999963124801
2017-08-17 17:26:15,171 | INFO  | entLoopGroup-7-3 | ReconciliationManagerImpl  
      | 284 - 
org.opendaylight.openflowplugin.applications.reconciliation-framework - 
0.6.0.SNAPSHOT | Stopping reconciliation for node Uri 
[_value=openflow:99999963124801]
2017-08-17 17:26:15,172 | INFO  | entLoopGroup-7-3 | ContextChainHolderImpl     
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Device 
openflow:99999963124801 disconnected.
2017-08-17 17:26:15,187 | INFO  | entLoopGroup-7-3 | StatisticsContextImpl      
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Stopping 
running statistics gathering for node openflow:99999963124801
2017-08-17 17:26:15,187 | INFO  | entLoopGroup-7-3 | ContextChainImpl           
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Closing 
clustering services registration for node openflow:99999963124801
2017-08-17 17:26:15,188 | INFO  | entLoopGroup-7-3 | ContextChainImpl           
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Closed 
clustering services registration for node openflow:99999963124801
2017-08-17 17:26:15,190 | INFO  | lt-dispatcher-45 | ContextChainImpl           
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Closing 
clustering services for node openflow:99999963124801
2017-08-17 17:26:15,190 | INFO  | lt-dispatcher-45 | ReconciliationManagerImpl  
      | 284 - 
org.opendaylight.openflowplugin.applications.reconciliation-framework - 
0.6.0.SNAPSHOT | Stopping reconciliation for node Uri 
[_value=openflow:99999963124801]
2017-08-17 17:26:15,190 | INFO  | ofppool-0        | ContextChainImpl           
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Closed 
clustering services for node openflow:99999963124801
2017-08-17 17:26:15,192 | INFO  | lt-dispatcher-46 | ContextChainHolderImpl     
      | 292 - org.opendaylight.openflowplugin.impl - 0.6.0.SNAPSHOT | Removing 
device Uri [_value=openflow:99999963124801] from operational DS




Regards,

Brady Johnson
[email protected]<mailto:[email protected]>


[http://www.inocybe.com/wp-content/uploads/2014/09/default-login-image.png]

[https://lh5.googleusercontent.com/4bsvmVYKzg5a_jM7_OOqbLXBSi8HbyuNfXuS5cO9eUpXgLzSUKrmdqdSOFmdShqIg0hX4xUHo2nYSUAlBC7KRnN3-COAkcx0CLOUEQrHCx9TVrQ2-0MP_qR0XpR22Kc8sdAQzZc1]<https://twitter.com/inocybetech>[https://lh3.googleusercontent.com/mkQzuX53_XbTrmTqeiS_gh2tauU4wJ_poqn7v-NSdKZoLI0jbWxdIIhrHZh7rSB-xpU7e2SqYDhcNfE8-rxzlQn15KaqJ9BqWOl65BakoHsKrbcCMhcdsnyrJAVuUV5SIFoazHIr]<http://www.inocybe.com/>[https://lh3.googleusercontent.com/Nzy3ZqITNZfRZ_hT9N3dh7K8ow5sF68e-qmL_5CFjka1oWK2XSfPZOUN6S9gp9k84l1KWTwDPCOb2Vbh0Oi6pVm4Nl7IpXp1QrTI6gkLNcWtMNpHMq2o2CxCfgqTPDA6pKBxNwhY]<https://www.linkedin.com/company/2661537?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A2661537%2Cidx%3A1-1-1%2CtarId%3A1441300264767%2Ctas%3Ainocybe>[Screenshot
 2017-02-14 at 10.43.55 
AM.png]<https://www.youtube.com/channel/UC9uUWABdPR0Je9Du_15FCkw>



_______________________________________________
openflowplugin-dev mailing list
[email protected]<mailto:[email protected]>
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev



--
Thanks
Anil
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to