Hi Jozef,

Please find attached the karaf logs and ovs logs on the device. This is using a 
master-branch distro with these patches:
https://git.opendaylight.org/gerrit/#/q/topic:%22Bug+6802%22 (the complete 
patch collection)
https://git.opendaylight.org/gerrit/#/c/51071/4
https://git.opendaylight.org/gerrit/#/c/51500/2
https://git.opendaylight.org/gerrit/#/c/51676/3

The scenario:
1) ovs device is connected to odl33, odl34, odl35
2) pipeline flows are confirmed to be installed on the ovs device. The master 
is odl33 (192.168.254.33)
-> start collecting logs
3) 'systemctl restart openvswitch' on the ovs device
4) ovs device is reconnected to odl cluster
5) pipeline flows are not installed on the ovs device. The master is now odl35 
(192.168.254.35)
-> stop collecting logs

Please let me know if I can provide more info for you. I'm currently looking at 
another possible issue where using just the initial revision which I found to 
resolve 7462 (i.e. without 51500 ad 51676 patches), it seems like the pipeline 
flows are pushed down in the ovs restart scenario, but other installed flows 
found in config DS don't seem to be reconciled to the device. I'll report back 
with logs when I have a better grasp of this issue.

Thanks,
Bertrand

-----Original Message-----
From: Jozef Bacigál [mailto:[email protected]] 
Sent: February 13, 2017 12:17 AM
To: Bertrand Low <[email protected]>; Luis Gomez <[email protected]>; 
openflowplugin-dev <[email protected]>
Subject: RE: [openflowplugin-dev] Test feedback on switch connect patch

Hi Bertrand,

If you can run the test you do with "org.opendaylight.openflowplugin.impl 
DEBUG" on all controllers and send it to me, it would be most appreciated. 
(including the last 51676 patch)

Thanks.

Jozef

-----Original Message-----
From: Bertrand Low [mailto:[email protected]]
Sent: Saturday, February 11, 2017 8:30 AM
To: Luis Gomez <[email protected]>; openflowplugin-dev 
<[email protected]>; Jozef Bacigál 
<[email protected]>
Subject: RE: [openflowplugin-dev] Test feedback on switch connect patch

Hi Jozef,

More observations:

I've retested bug 7462 (OVS restart scenario) using the master branch with the 
latest patch revisions (including patch 51676 and 51500) and found that 7462 is 
once again reproducible.

When restarting openvswitch, if the master remains the same ODL node, the 
pipeline flows are pushed down successfully.
However, if the master switches to a different ODL node, the pipeline flows are 
not pushed down and it appears that the previous workaround of inserting a 
short delay between 'start openvswitch' and 'stop openvswitch' does not work. 
I've tested with a delay of 20 seconds between stopping and starting 
openvswitch.

If I don't include the 51676 patch in the my deployment, now the master doesn't 
change, but 7462 is intermittently reproduced but the difference is that while 
most of the time the pipeline flows are successfully pushed to the device, 
sometimes only some of the pipeline flows are pushed (~10% of the time), while 
at other times none are pushed at all (< 5% of the time).

I'll do more testing and let you know if I find anything else.

Thanks,
Bertrand

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Luis 
Gomez
Sent: February 9, 2017 7:16 PM
To: openflowplugin-dev <[email protected]>
Subject: [openflowplugin-dev] Test feedback on switch connect patch

OK, I just investigated switch connection patch in [1] and the failure I see is 
openflow breaks after switch in HA mode disconnects from candidate instance.

To reproduce:

1) connect switch to all instances:

sudo ovs-vsctl set-controller s1 "tcp:192.168.0.101:6633" 
"tcp:192.168.0.102:6633" "tcp:192.168.0.103:6633"

2) use sudo ovs-vsctl list Controller to determine master instance (e.g. 101 
above)

3) disconnect a candidate (103 above):

sudo ovs-vsctl set-controller s1 "tcp:192.168.0.101:6633" 
"tcp:192.168.0.102:6633"

After that I see the following in karaf log of the candidate:

2017-02-10 03:01:19,830 | INFO  | entLoopGroup-7-1 | 
SystemNotificationsListenerImpl  | 227 - org.opendaylight.openflowplugin.impl - 
0.4.0.SNAPSHOT | ConnectionEvent: Connection closed by device, 
Device:/192.168.0.24:59753, NodeId:openflow:1
2017-02-10 03:01:19,832 | INFO  | entLoopGroup-7-1 | ContextChainHolderImpl     
      | 227 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Device 
openflow:1 disconnected.
2017-02-10 03:01:19,832 | INFO  | entLoopGroup-7-1 | ContextChainHolderImpl     
      | 227 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Context 
chain for device openflow:1 successfully stopped
2017-02-10 03:01:20,838 | INFO  | pool-31-thread-1 | ContextChainHolderImpl     
      | 227 - org.opendaylight.openflowplugin.impl - 0.4.0.SNAPSHOT | Removing 
device: openflow:1 from DS

As a result of candidate clearing the DS, the master gets all kind of 
exceptions and switch cannot connect anymore to controller. Workaround: restart 
cluster.

Conclusion: the patch creates regression.

BR/Luis

[1] https://git.opendaylight.org/gerrit/#/c/51500

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


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or 
may contain viruses in transmission. The e mail and its contents (with or 
without referred errors) shall therefore not attach any liability on the 
originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the views or opinions of HCL or its 
affiliates. Any form of reproduction, dissemination, copying, disclosure, 
modification, distribution and / or publication of this message without the 
prior written consent of authorized representative of HCL is strictly 
prohibited. If you have received this email in error please delete it and 
notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------


JozefBacigál
Senior Software Engineer

Sídlo / Mlynské Nivy 56 / 821 05 Bratislava / Slovakia R&D centrum / Janka 
Kráľa 9 /  974 01 Banská Bystrica / Slovakia
+421 908 766 972 / [email protected]
reception: +421 2 206 65 114 / www.pantheon.tech

[logo]


Attachment: 7462.tar.gz
Description: 7462.tar.gz

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

Reply via email to