Re: Nominate Anil Vishnoi as OVSDB committer
Flavio Fernandes <ffernand@...>
+1 from flaviof on having Anil aboard!
toggle quoted messageShow quoted text
— flavio
On Apr 29, 2015, at 2:52 PM, Sam Hague <shague@...> wrote:
|
|
Nominate Anil Vishnoi as OVSDB committer
Sam Hague
I would like to nominate Anil Vishnoi as committer to the OVSDB project. Current committers, please respond with a vote for the nomination.
Anil has been working on all the areas in the OVSDB project: - worked on the adsal deprecation that required learning all the code in OVSDB - added an adsal compatibility layer for the plugin - added different parts of the southbound - working on migrating netvirt to the southbound Thanks, Sam
|
|
OVSDB Lithium Release Investigation
LNT-OpenDayLight
Hi, We would like to know OVSDB lithium release. We would like to know the following details. ・ Abstract network virt. from OVSDB library and plugin ・ Remove AD-SAL dependencie ・ Support existing OVSDB plugin interface for VTN ・ Add MD-SAL southbound plugin ・ Migrate network virt. to MD-SAL southbound plugin ・ Test and improve scale, stability and performance ・ Close feature gap with Neutron and OpenStack OVSplugin, e.g., L3, LBaaS, FWaaS, VPNaaS Please share the available information. Thanks & Regards, lnt
|
|
Looking for Review - Overlay Topology - OVSDB Southbound
Koontz, Marcus G <marcus.g.koontz@...>
I'd love to get some feedback on this:
https://git.opendaylight.org/gerrit/#/c/18127/ Thanks, /** Marcus */
|
|
Re: ovsdb error
Vinllen Chen <cvinllen@...>
Sorry, i sent to the wrong mailing list address!!!
On Mon, Apr 27, 2015 at 7:46 PM, Vinllen Chen <cvinllen@...> wrote:
|
|
ovsdb error
Vinllen Chen <cvinllen@...>
Hi, Dear all: My ovs was ok before, but recently, my ovs got an error when i add-port in bridge: ovs-vsctl add-br br0 ovs-vsctl add-port br0 port0 ovs-vsctl: Error detected while setting up 'port0'. See ovs-vswitchd log for details. My ovs version is 2.3.90, the problem cannot be resloved even when i reinstall the ovs. The log in the /var/log/openvswitch/ovs-vswitchd.log show : 2015-04-27T11:38:15.746Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log 2015-04-27T11:38:15.749Z|00002|ovs_numa|INFO|Discovered 4 CPU cores on NUMA node 0 2015-04-27T11:38:15.749Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 4 CPU cores 2015-04-27T11:38:15.749Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting... 2015-04-27T11:38:15.749Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected 2015-04-27T11:38:15.750Z|00006|ovsdb_idl|WARN|Open_vSwitch database lacks AutoAttach table (database needs upgrade?) 2015-04-27T11:38:15.750Z|00007|ovsdb_idl|WARN|Bridge table in Open_vSwitch database lacks auto_attach column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00008|ovsdb_idl|WARN|Bridge table in Open_vSwitch database lacks datapath_version column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00009|ovsdb_idl|WARN|Bridge table in Open_vSwitch database lacks mcast_snooping_enable column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00010|ovsdb_idl|WARN|Bridge table in Open_vSwitch database lacks rstp_enable column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00011|ovsdb_idl|WARN|Bridge table in Open_vSwitch database lacks rstp_status column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00012|ovsdb_idl|WARN|Flow_Table table in Open_vSwitch database lacks external_ids column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00013|ovsdb_idl|WARN|Flow_Table table in Open_vSwitch database lacks prefixes column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00014|ovsdb_idl|WARN|IPFIX table in Open_vSwitch database lacks other_config column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00015|ovsdb_idl|WARN|Interface table in Open_vSwitch database lacks cfm_flap_count column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00016|ovsdb_idl|WARN|Interface table in Open_vSwitch database lacks error column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00017|ovsdb_idl|WARN|Interface table in Open_vSwitch database lacks lldp column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00018|ovsdb_idl|WARN|Open_vSwitch table in Open_vSwitch database lacks datapath_types column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00019|ovsdb_idl|WARN|Open_vSwitch table in Open_vSwitch database lacks iface_types column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00020|ovsdb_idl|WARN|Port table in Open_vSwitch database lacks bond_active_slave column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00021|ovsdb_idl|WARN|Port table in Open_vSwitch database lacks rstp_statistics column (database needs upgrade?) 2015-04-27T11:38:15.750Z|00022|ovsdb_idl|WARN|Port table in Open_vSwitch database lacks rstp_status column (database needs upgrade?) 2015-04-27T11:38:15.751Z|00023|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.3.90 2015-04-27T11:38:27.897Z|00024|memory|INFO|7688 kB peak resident set size after 12.2 seconds Could anyone help me ? Great appreciate for anyone's relpy. Best Regards, Vinllen
|
|
Netty exception while trying connecting to a switch
Tomer Pearl <Tomer.Pearl@...>
Good day everyone, I’m using Helium release of ODL.
I have a mechanism of connection retry while a switch is not available. Every x seconds I use the OvsdbConnectionService.connect method from org.opendaylight.ovsdb.plugin.api to try to connect to a switch that is unavailable. After something like 150 retries I receive the following log error:
java.lang.IllegalStateException: failed to create a child event loop at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:68)[170:io.netty.common:4.0.23.Final] at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:49)[169:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:61)[169:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:52)[169:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:44)[169:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:36)[169:io.netty.transport:4.0.23.Final] at org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.connect(OvsdbConnectionService.java:92)[191:org.opendaylight.ovsdb.library:1.0.1.Helium-SR1] at org.opendaylight.ovsdb.plugin.impl.ConnectionServiceImpl.connect(ConnectionServiceImpl.java:165)[205:org.opendaylight.ovsdb.plugin:1.0.1.Helium-SR1] at com.cxtrm.contexcontrol.ovsdb.impl.OvsdbDao$OvsdbServerImpl.reconnect(OvsdbDao.java:104)[379:com.cxtrm.contexcontrol.ovsdb.impl:1.1.0.0-SNAPSHOT] at com.cxtrm.contexcontrol.ovsdb.impl.OvsdbServerPool$1.work(OvsdbServerPool.java:85)[379:com.cxtrm.contexcontrol.ovsdb.impl:1.1.0.0-SNAPSHOT] at com.cxtrm.contexmap.fw.scheduler.SchedulerService$RunnableWrapperForWorker.run(SchedulerService.java:102)[355:com.cxtrm.contexmap.common-infrastructure.impl:1.1.0.0-SNAPSHOT] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)[:1.7.0_25] at java.util.concurrent.FutureTask.run(Unknown Source)[:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)[:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)[:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[:1.7.0_25] at java.lang.Thread.run(Unknown Source)[:1.7.0_25] Caused by: io.netty.channel.ChannelException: failed to open a new selector at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:128)[169:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:120)[169:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:87)[169:io.netty.transport:4.0.23.Final] at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:64)[170:io.netty.common:4.0.23.Final] ... 18 more Caused by: java.io.IOException: Too many open files at sun.nio.ch.IOUtil.makePipe(Native Method)[:1.7.0_25] at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)[:1.7.0_25] at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)[:1.7.0_25] at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:126)[169:io.netty.transport:4.0.23.Final] ... 21 more
Even if I try somehow to disconnect from the previous OvsdbClient by calling OvsdbClient.disconnect, I still receive this error. Is this really a bug or maybe I need to use a different java interface?
Thank you very much, Tomer.
|
|
Re: [controller-dev] Continuing the BUG-2825 discussion
Anton Ivanov <anton.ivanov@...>
On 25/04/15 02:47, Edward Warnicke
wrote:
I think we should just do a once over on all projects and audit IpvXPrefix usage. While most of the breakage is in the testcases, there are some cases where the core code is broken - 3053 and there are logic issues. This is mostly related to how you map match-ers to prefixes to protocol semantics and vice versa. That may or may not show up with a broken test once we push the change out. By the way, even if we do not push this change back to Li (and even He), we should still fix the broken per project code as it will result in erratic runtime behaviour. A.
|
|
Re: [Need Help] Arbitrary connection port is part of the node-id
Edward Warnicke <hagbard@...>
If we do not receive the initial dump of the DB... we aren't getting anything to work at all... it s a fundamental failure. And always remember that OVSDB can connect to us unsolicted... so we will always have to deal with ovsdb instances that we *didn't* create the connection for. This is another reason that the solution I'm advocating for here is good... it works consistently in active and passive mode. Ed
On Fri, Apr 24, 2015 at 7:08 PM, Amit Mandke (ammandke) <ammandke@...> wrote:
|
|
Cluster support?
Amit Mandke (ammandke) <ammandke@...>
Hi All,
Is it possible to connect ovsdb/ovsswitch to clustered(3 node) odl controller? or currently it can connect to only single node/ non-clustered controller? I couldn’t find a way of doing that.
-Amit
|
|
Re: [Need Help] Arbitrary connection port is part of the node-id
Amit Mandke (ammandke) <ammandke@...>
Isn’t that tricky for a person who is trying to connect ovs to controller? Its like you may or may not see the node in operations based whether or not it succeeds or fails to update.However the ovs would show conencted=true and manager ip, with no data
in operations. :-)
IMO connection received is exclusive event for creating ovsdb node and then registering for callbacks for update. Current implementation seems more logical(to me) than changing it for 1 case of IID creation.
My further 2 cents on iid serialization/deserialization:
In general, IMO this IID serialization and deserialization is a risk. And should be avoided if possible. If a system is running for long period of time and for some reason someone connected disconnected same ovs nodes with diff setting once with IID
passed to it once without. Your config would be looking very out of synch of your operations. On top of that if the apps that are trying to use this data programmatically would most likely fail to take care of such situations.
Also different apps may choose different strategies to generate iids and would be impossible for them to coexist.
So having only one way of creating IIDs would help in longer run. If one wants avoid iid generation while connecting to OVS or creating bridges then we can always expose RPCs for that. However, if one wants to use CONFIG store to configure, then they
have to build appropriate iid.
Thoughts?
-Amit
From: Edward Warnicke <hagbard@...>
Date: Friday, April 24, 2015 at 2:09 PM To: Amit Mandke <ammandke@...> Cc: "Prateek Garg (prategar)" <prategar@...>, "ovsdb-dev@..." <ovsdb-dev@...> Subject: Re: [ovsdb-dev] [Need Help] Arbitrary connection port is part of the node-id Not so tricky... we either get that dump or we are borked...
Ed
On Fri, Apr 24, 2015 at 2:07 PM, Amit Mandke (ammandke)
<ammandke@...> wrote:
|
|
Re: [controller-dev] Continuing the BUG-2825 discussion
Edward Warnicke <hagbard@...>
Looping in ovsdb, openflowplugin, groupbasedpolicy... Ed On Fri, Apr 24, 2015 at 3:34 PM, Tony Tkacik -X (ttkacik - Pantheon Technologies SRO at Cisco) <ttkacik@...> wrote:
|
|
Re: [Need Help] Arbitrary connection port is part of the node-id
Edward Warnicke <hagbard@...>
Not so tricky... we either get that dump or we are borked... Ed
On Fri, Apr 24, 2015 at 2:07 PM, Amit Mandke (ammandke) <ammandke@...> wrote:
|
|
Re: [Need Help] Arbitrary connection port is part of the node-id
Amit Mandke (ammandke) <ammandke@...>
It sounds tricky, cause once you register for callbacks you can’t be sure of the sequence of all the updates right? Or even guaranty if each update would be processed?
So essentially you are letting go a sure-shot event where you received the connection to store the OVSDB node and relying on the future updates to create it.
I am not sure if that is the best thing to do.
-Amit
From: Edward Warnicke <hagbard@...>
Date: Friday, April 24, 2015 at 11:07 AM To: "Prateek Garg (prategar)" <prategar@...> Cc: "ovsdb-dev@..." <ovsdb-dev@...> Subject: Re: [ovsdb-dev] [Need Help] Arbitrary connection port is part of the node-id I had an idea last night as I was falling asleep that might be interesting.
How about we create the ovsdb-node in operational with the OpenVSwitchUpdateCommand (which should get tripped with the original dump of data from ovsdb on connect) rather than invoking OvsdbNodeCreatedCommand in the OvsdbConnectionInstance() constructor.
That way you have access to the info you need, don't have to do a select (and thus a new round trip) etc.
Thoughts?
Ed
On Wed, Apr 22, 2015 at 3:40 PM, Prateek Garg (prategar)
<prategar@...> wrote:
|
|
Re: [Need Help] Arbitrary connection port is part of the node-id
Edward Warnicke <hagbard@...>
I had an idea last night as I was falling asleep that might be interesting. How about we create the ovsdb-node in operational with the OpenVSwitchUpdateCommand (which should get tripped with the original dump of data from ovsdb on connect) rather than invoking OvsdbNodeCreatedCommand in the OvsdbConnectionInstance() constructor. That way you have access to the info you need, don't have to do a select (and thus a new round trip) etc. Thoughts? Ed
On Wed, Apr 22, 2015 at 3:40 PM, Prateek Garg (prategar) <prategar@...> wrote:
|
|
Re: Integration of Controller with OVSDB Server
Sam Hague
LNT,
toggle quoted messageShow quoted text
there are multiple examples in the OVSDB southbound code. An easy start is to look at the OvsdbDatachangeListener. Simply change use the Operational datastore instead of the Configuration in the Iid path and you will receive ovsdb updates. The SouthboundIT code shows some simple methods to initiate connections to the OVSDB nodes and how to add and remove Bridges and Ports. This wiki [1] describes some methods on how to drive the southbound via the RESTCONF. Thanks, Sam [1] https://wiki.opendaylight.org/view/OVSDB:MDSAL_Southbound
----- Original Message -----
From: "Lnt OpenDayLight" <opendaylight.lnt@...>
|
|
Integration of Controller with OVSDB Server
LNT-OpenDayLight
Hi We would like to know how to integrate or connect between Controller and OVSDB server. Currently we are using Toaster Step by Step sample project and we would like to access Bridge table information in this MD-SAL application. But we are not able to do establish database OVSDB Server with our provider. Could you please provide us any URL or sample examples available? Regards, LNT
|
|
Re: [Need Help] Arbitrary connection port is part of the node-id
Edward Warnicke <hagbard@...>
Sam, The thinking there is to do what we do for bridges... put the iid from config in the external-ids of OpenVSwitch, and on the operational side if that's present use it for the iid there too :) Ed
On Thu, Apr 23, 2015 at 5:14 AM, Sam Hague <shague@...> wrote: What was the solution for the cases where ODL connects to the ovsdb nodes? In that case odl only has the ip:port of the node to make the outgoing connection.
|
|
Re: odl ovsdb net-girt pipeline part 1 is finished
Flavio Fernandes <ffernand@...>
Thanks Anil. Sorry for the delay; I now feel that this should have been done a year go. Better late than ever, I guess. ;) I think having this one will be a good stepping stone to describe L3 fwd; which it on top of my list.
Good idea. I’ve added it here [1]. — flavio PS. Sorry for the typo in the subject! My spell checker automatically assumed that I meant to say ‘girt’ when I typed virt. ARGH!!! ;)
|
|
Re: odl ovsdb net-girt pipeline part 1 is finished
Anil Vishnoi
This is really a great tutorial, thanks a lot for doing it. Can we link this from the ovsdb wiki main page, under external link session or any other appropriate place? Thanks Anil
On Thu, Apr 23, 2015 at 6:33 PM, Flavio Fernandes <ffernand@...> wrote:
--
Thanks Anil
|
|