Re: [controller-dev] Shard leader down scenario

2017-02-22 Thread Satish Dutt
Hi Tom, Please correct me if am wrong in understanding the below statement. The CheckedFuture will produce a derived TransactionCommitFailedException indicating there's no leader or it timed out. You have to wait for the CheckedFuture to be completed one way or another. It may take some number

Re: [controller-dev] How to conveniently deploy odl cluster

2017-02-22 Thread Jamo Luhrsen
also, there are script(s) packaged with the distribution that should be useful. The one-click 3node cluster setup that Alexis pointed you to consumes those as well, iirc. http://docs.opendaylight.org/en/latest/getting-started-guide/common-features/clustering.html?highlight=clustering#clustering-s

Re: [controller-dev] How to conveniently deploy odl cluster

2017-02-22 Thread Alexis de Talhouët
2017-02-22 6:25 GMT-05:00 bjb : > Hello All: > > I see the steps to deploy a cluster in http://docs.opendaylight. > org/en/latest/getting-started-guide/common-features/ > clustering.html?highlight=clustering > > I need to modify *.conf(akka.conf, modules.conf, module-shards.conf) > on each

controller-dev@lists.opendaylight.org

2017-02-22 Thread Alexis de Talhouët
Daexim project worth being look at when we talk about backup/restore: https://wiki.opendaylight.org/view/Daexim:Main Related video showcasing some of its capabilities: https://www.youtube.com/watch?v=fCWuuS-_xy4&feature=youtu.be HTH, Alexis 2017-02-21 9:56 GMT-05:00 Tom Pantelis : > > > On Tue,

Re: [controller-dev] Shard leader down scenario

2017-02-22 Thread Tom Pantelis
On Wed, Feb 22, 2017 at 1:36 PM, Satish Dutt wrote: > Hi All, > > > > We have a 3-node clustered deployment. > > > > *Code extract : * > > > > WriteTransaction writeTxn = dataBroker.newWriteOnlyTransaction(); > > writeTxn.put() > > CheckedFuture<> checkedFuture = writeTxn.submit() > > > > > > *Sc

[controller-dev] Blocking a transaction in the transaction chain

2017-02-22 Thread Satish Dutt
Hi, I have created two WriteTransactions from a TransactionChain instance. If I block using the checkGet() on checkedFuture after submit on the first transaction, will there be any impacts on the other transaction apart from the performance deterioration ? BindingTransactionChain bindingTransa

[controller-dev] Shard leader down scenario

2017-02-22 Thread Satish Dutt
Hi All, We have a 3-node clustered deployment. Code extract : WriteTransaction writeTxn = dataBroker.newWriteOnlyTransaction(); writeTxn.put() CheckedFuture<> checkedFuture = writeTxn.submit() Scenario : 1) Three nodes in the setup N1, N2, N3 2) N3 is the shard leader. 3) All RPC requests fro

Re: [controller-dev] Delay in reading data from Config DS after a write

2017-02-22 Thread Tom Pantelis
The future is completed after the transaction has been replicated to a majority of the followers and committed by the leader. If the transaction was submitted on the leader node then a subsequent read will return the data however this isn't guaranteed on a follower b/c the transaction may not have

[controller-dev] Delay in reading data from Config DS after a write

2017-02-22 Thread Hari Prasad
Hi All, We write a bridge information in config DS and reading the same in next few lines of code. (used 3 node cluster setup). write operation is performed via org.opendaylight.netvirt.utils.mdsal.utils.MdsalUtils::put call and read is performed via MdsalUtils::read call. Observed that in Md

[controller-dev] Delay in reading data from Config DS after a write

2017-02-22 Thread Hari Prasad
Hi All, We write a bridge information in config DS and reading the same in next few lines of code. (used 3 node cluster setup). write operation is performed via org.opendaylight.netvirt.utils.mdsal.utils.MdsalUtils::put call and read is performed via MdsalUtils::read call. Observed that in Md

Re: [controller-dev] [opendaylight-dev] Karaf 4 based integration tests

2017-02-22 Thread Robert Varga
On 02/22/2017 11:51 AM, Lori Jakab wrote: > > org.opendaylight.controller.blueprint/0.6.0.SNAPSHOT: missing > requirement [org.opendaylight.controller.blueprint/0.6.0.SNAPSHOT] > osgi.wiring.package; > filter:="(&(osgi.wiring.package=org.apache.aries.quiesce.manager)(version>=1.0.0)(!(version>=2

[controller-dev] How to conveniently deploy odl cluster

2017-02-22 Thread bjb
Hello All: I see the steps to deploy a cluster in http://docs.opendaylight.org/en/latest/getting-started-guide/common-features/clustering.html?highlight=clustering I need to modify *.conf(akka.conf, modules.conf, module-shards.conf) on each cluster member and then start karaf. Fo

[controller-dev] Karaf 4 based integration tests

2017-02-22 Thread Lori Jakab
Hi, I just tried migrating the lispflowmapping integration tests to use our local Karaf 4 distribution instead of Karaf 3. The integration tests use org.opendaylight.controller/mdsal-it-parent/1.5.0-SNAPSHOT as the parent POM. Unfortunately things don't work out of the box, the container doesn't