Re: [controller-dev] What is the condition under which IllegalStateException - "store tree and candidate base differ" is thrown

2016-08-04 Thread Tom Pantelis
It means preCommit/commit occurred out-of-order, eg preCommit txn 1 preCommit txn 2 commit txn 2 commit txn 1 It's an internal problem in the CDS. We put a hack in Be to workaround it. This patch in master https://git.opendaylight.org/gerrit/#/c/42728/ explains the scenario and implements a

Re: [controller-dev] How to create CDS shards

2017-02-02 Thread Tom Pantelis
Alexis, On a side note, I was curious about the purpose of the mount point cache. Can you explain a bit more? The Conceptual Data Tree stuff does have an API to dynamically create prefixed shards. However the patches to implement the new APIs in CDS is still in progress. Tomas Cere is working on

Re: [controller-dev] [mdsal-dev] cluster - recovery from dual failure

2017-01-22 Thread Tom Pantelis
.J > > https://groups.google.com/forum/#!topic/akka-user/506ErDM_KA4 > > > > > > *From:* mdsal-dev-boun...@lists.opendaylight.org [mailto: > mdsal-dev-boun...@lists.opendaylight.org] *On Behalf Of *Sela, Guy > *Sent:* Sunday, January 22, 2017 5:28 PM > *To:* Tom Pantelis &

Re: [controller-dev] Questions about Backup

2017-02-21 Thread Tom Pantelis
On Tue, Feb 21, 2017 at 9:32 AM, Esther Terrero <esther.terr...@ericsson.com > wrote: > Hi, > > > > Thanks a lot for the quick response. > > > > Please, see my doubts below. > > > > Thanks again and best regards/ > > Esther > > > &

Re: [controller-dev] Shard leader down scenario

2017-02-23 Thread Tom Pantelis
ays for the main thread to wait for > the CheckedFuture to get completed ? > > > > Regards, > > -Satish > > > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* Thursday, February 23, 2017 12:27 AM > *To:* Satish Dutt <sd...@advaoptic

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

2017-02-23 Thread Tom Pantelis
Only the RPC building blocks for adding/removing replicas have been implemented upstream. The akka.conf has to be updated as well so the new node can join the existing cluster, which one could script. On Thu, Feb 23, 2017 at 3:53 AM, bjb wrote: > > Thanks a lot for your

Re: [controller-dev] Cluster-admin question

2017-02-13 Thread Tom Pantelis
e operational state on restart. Therefore operational data isn't persisted by default but it can be configured to be persistent if desired. > > 在 2017-02-14 11:22:08,"Tom Pantelis" <tompante...@gmail.com> 写道: > > > > On Mon, Feb 13, 2017 at 10:15 PM, bjb &

Re: [controller-dev] dynamic shards for CDS

2017-02-17 Thread Tom Pantelis
Can you be more specific? Thanks On Thu, Feb 16, 2017 at 9:25 PM, bjb wrote: > Hello Tom: >Is there any plan for cluster, especially for dynamic shards for CDS. > Will it released in Carbon? > > Thanks > > > > ___ controller-dev

Re: [controller-dev] Backup and Restore

2017-01-19 Thread Tom Pantelis
:31 AM, Vikram Darsi <vda...@advaoptical.com> wrote: > Hi Tom Pantelis and team > > > > One question regarding backup and restore. > > > > We wanted to consume the RPC’s defined in cluster-admin.yang using java > code ,so, defined odl:rpc-service tag in bluepr

Re: [controller-dev] dlux split commit

2017-02-28 Thread Tom Pantelis
I'll merge after it rebases. On Tue, Feb 28, 2017 at 8:26 AM, Daniel Malachovsky -X (dmalacho - PANTHEON TECHNOLOGIES at Cisco) wrote: > Hi Controller comitters, > > > > I’d like to ask your for a review and merge of this commit: >

Re: [controller-dev] [release] Blueprint injects incorrect implementation of DOMDataBroker

2016-08-23 Thread Tom Pantelis
se. Are we supposed to > ignore that and just use it as DOMDataBroker interface? > > Thanks > ------ > *Od:* Tom Pantelis <tompante...@gmail.com> > *Odoslané:* 23. augusta 2016 14:57 > *Komu:* Robert Varga > *Kópia:* Martin Dindoffer;

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-15 Thread Tom Pantelis
* on every read operation. Correct? > > > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* Thursday, September 15, 2016 4:29 PM > *To:* Sela, Guy <guy.s...@hpe.com> > *Cc:* Muthukumaran K <muthukumara...@ericsson.com>; Moiz Raja (moraja) < >

Re: [controller-dev] Blueprint issues while starting karaf (Boron)

2016-10-26 Thread Tom Pantelis
I assume you're referring to UnableToProxyException. I've seen this too but it's a benign INFO message. It's trying to create a proxy object for a concrete class but it fails so uses the original instance instead. On Wed, Oct 26, 2016 at 4:40 PM, Vikram Darsi wrote: > Hi

Re: [controller-dev] Stepping Down as Controller PTL, PTL Election

2016-10-27 Thread Tom Pantelis
So that's 3 of 5 committers voting +1, that's a majority. I'm declaring victory On Wed, Oct 26, 2016 at 8:24 AM, Anil Vishnoi <vishnoia...@gmail.com> wrote: > +1 for Tom Pantelis Nomination for PTL. > > On Tue, Oct 25, 2016 at 9:50 AM, Edward Warnicke <hagb...@gmail.com

Re: [controller-dev] 答复: Re: A explanation of https://bugs.opendaylight.org/show_bug.cgi?id=7033

2016-10-28 Thread Tom Pantelis
On Fri, Oct 28, 2016 at 11:08 AM, Robert Varga <n...@hq.sk> wrote: > On 10/28/2016 04:24 PM, Tom Pantelis wrote: > > > > > > On Fri, Oct 28, 2016 at 10:00 AM, Robert Varga <n...@hq.sk > > <mailto:n...@hq.sk>> wrote: > > > > On 10/28

Re: [controller-dev] Is it possible to parallel proceed can-commit in three-phase-commit of datastore

2016-10-23 Thread Tom Pantelis
They used to be issued in parallel but it caused deadlock - see https://bugs.opendaylight.org/show_bug.cgi?id=2792 On Sun, Oct 23, 2016 at 5:56 AM, Hangyu wrote: > Hi guys, > I've found that while submitting data that located in multiple shards > to datastore,

Re: [controller-dev] Re-configuration of Blueprint modules by RESTCONF requests

2016-10-24 Thread Tom Pantelis
> > > *PUT (or POST) > http://localhost:8181/restconf/config/onem2m-plugin-loader-config:plugin-loaders-configs/LoaderInstanceNew > <http://localhost:8181/restconf/config/onem2m-plugin-loader-config:plugin-loaders-configs/LoaderInstanceNew>* > > > > *{* > > *

Re: [controller-dev] Re-configuration of Blueprint modules by RESTCONF requests

2016-10-24 Thread Tom Pantelis
On Mon, Oct 24, 2016 at 4:20 AM, Tomas Janciga -X (tjanciga - PANTHEON TECHNOLOGIES at Cisco) wrote: > Hi Guys, > > I’m testing possibilities of the configuration of modules using Blueprint > instead of CSS. > > I’ve got troubles with retrieving default configuration and

Re: [controller-dev] Fwd: [netvirt-dev] Member is not removed from the entity list, when we kill the ODL karaf process.

2016-11-01 Thread Tom Pantelis
This is expected behavior - I noted the bug. On Tue, Nov 1, 2016 at 9:57 AM, Sam Hague wrote: > Adding Tom and controller-dev to thread. > -- Forwarded message -- > From: Arthi Bhattacharjee > Date: Tue, Nov 1, 2016 at 5:56 AM > Subject:

Re: [controller-dev] CONTROLLER Carbon Autorelease Build Failure

2016-10-27 Thread Tom Pantelis
Controller builds are fine. The dependency for edu.umd.cs.findbugs.annotations comes from odlparent via https://git.opendaylight.org/gerrit/#/c/47357/ which was merged a few days ago . However the patch indicates the merge job was SUCCESS but skipped: jenkins-releng Oct 24 3:47 AM ↩ Patch Set

Re: [controller-dev] 答复: Re: A explanation of https://bugs.opendaylight.org/show_bug.cgi?id=7033

2016-10-28 Thread Tom Pantelis
On Fri, Oct 28, 2016 at 10:00 AM, Robert Varga wrote: > On 10/28/2016 08:00 AM, he.yu...@zte.com.cn wrote: > > so we need to public the DataTreeCandidateTip.getTipRoot() API in > > yangtools to get the last tx's root > > > > All of the above is not related to commit phase, the

Re: [controller-dev] Serialization AnyXML

2016-10-11 Thread Tom Pantelis
This patch, https://git.opendaylight.org/gerrit/#/c/46747/, should fix it. On Fri, Oct 7, 2016 at 11:57 AM, Rudolf Brisuda -X (rbrisuda - PANTHEON TECHNOLOGIES at Cisco) wrote: > Hi, > > > > I try to serialize NormalizedNode with AnyXML attribute and I get >

Re: [controller-dev] register rpc at 1 node in cluster

2016-10-11 Thread Tom Pantelis
There's a bug for it: https://bugs.opendaylight.org/show_bug.cgi?id=3128. There was a patch pushed but not sure where it stands as the author is no longer working on ODL. On Tue, Oct 11, 2016 at 3:01 AM, Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco) wrote: > Hi

Re: [controller-dev] [release] Memory leaks on blueprint restart

2016-10-13 Thread Tom Pantelis
the list of Bundle > that we be restarted, using [0]? > > [0]: https://aries.apache.org/downloads/javadocs/quiesce/0. > 3/org/apache/aries/quiesce/manager/QuiesceManager.html# > quiesce(java.util.List) > > > On Oct 13, 2016, at 1:13 PM, Tom Pantelis <tompante...@gmail.com> w

Re: [controller-dev] [mdsal-dev] Netvirt Scale tests: OutOfMemory from datastore

2017-01-10 Thread Tom Pantelis
On Tue, Jan 10, 2017 at 7:08 PM, Robert Varga <n...@hq.sk> wrote: > On 01/10/2017 09:20 PM, Robert Varga wrote: > > On 01/10/2017 08:16 PM, Tom Pantelis wrote: > >> Since the length field of an array is an int, it's constrained to > >> Integer.MAX_VALUE (~2G). T

Re: [controller-dev] [netvirt-dev] [mdsal-dev] Netvirt Scale tests: OutOfMemory from datastore

2017-01-11 Thread Tom Pantelis
ight.org [mailto: > netvirt-dev-boun...@lists.opendaylight.org] *On Behalf Of *Sela, Guy > *Sent:* Wednesday, 11 January 2017 11:23 > *To:* Tom Pantelis <tompante...@gmail.com> > *Cc:* odl netvirt dev <netvirt-...@lists.opendaylight.org>; > controller-dev@lists.openda

Re: [controller-dev] Backup and Restore

2017-01-12 Thread Tom Pantelis
You restore by putting the backup file in $KARAF_HOME/clustered-datastore-restore (create it), delete journal and snapshots directories and start karaf. On Thu, Jan 12, 2017 at 5:20 AM, David Suarez Fuentes < david.suarez.fuen...@ericsson.com> wrote: > Hi, > > > Thanks Lori to point out to this

Re: [controller-dev] Backup and Restore

2017-01-12 Thread Tom Pantelis
every node in the > cluster, am I right? > > > > Thank you very much, > > Miguel Ángel. > > > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* jueves, 12 de enero de 2017 15:08 > *To:* Lori Jakab <lorand.jakab+...@gmail.com> > *Cc:*

Re: [controller-dev] [mdsal-dev] Netvirt Scale tests: OutOfMemory from datastore

2017-01-10 Thread Tom Pantelis
e cluster. > > It uses a different mechanism? > > > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* Wednesday, January 11, 2017 1:06 AM > *To:* Sela, Guy <guy.s...@hpe.com> > *Cc:* Robert Varga <n...@hq.sk>; controller-dev@lists.opendaylight.org; >

Re: [controller-dev] [mdsal-dev] Netvirt Scale tests: OutOfMemory from datastore

2017-01-10 Thread Tom Pantelis
Actually the OOM error isn't b/c the JVM ran out of memory but is being thrown directly from ByteArrayOutputStream: private static int hugeCapacity(int minCapacity) { if (minCapacity < 0) // overflow *throw new OutOfMemoryError();* return (minCapacity >

Re: [controller-dev] DataTreeChangeService - pre-existing data

2016-12-01 Thread Tom Pantelis
Actually I pushed https://git.opendaylight.org/gerrit/#/c/48846/ to change the AbstractDOMStoreTreeChangePublisher to batch. I think it's better to do it in the base class. I also have a patch to change the DefaultShardDataTreeChangeListenerPublisher to derive from the mdsal

Re: [controller-dev] Use of DOMDataTreeCommitCohorts

2017-01-03 Thread Tom Pantelis
The ConcurrentDOMDataBroker implements DOMDataTreeCommitCohortRegistry but it does not advertise it from what I can see. Must've been an oversight. It either needs to add it as an extension or, better yet, advertise the DOMDataTreeCommitCohortRegistry interface in the OSGi service registry via

Re: [controller-dev] Backward compatibility of akka-persistence journal

2017-03-23 Thread Tom Pantelis
akka.io/docs/akka/ >> 2.4/project/migration-guide-persistence-experimental-2.3.x-2.4.x.html it >> seemed no binary compatibility is offered for the journal. >> >> >> On Sunday, March 19, 2017, Tom Pantelis <tompante...@gmail.com> wrote: >> >>> W

Re: [controller-dev] Backward compatibility of akka-persistence journal

2017-03-24 Thread Tom Pantelis
There isn't any cluster-admin RPCs to defined new shards and migrate data. You'd have to capture the data via REST from Beryllium and re-write it. There is also a data import/export project but I'm not really familiar with it. On Fri, Mar 24, 2017 at 1:06 AM, Srini Seetharaman <

Re: [controller-dev] [netconf-dev] Validation hooks when using restconf

2017-03-27 Thread Tom Pantelis
On Mon, Mar 27, 2017 at 11:44 AM, Satish Dutt wrote: > Hi Tomas, > > > > You told in the previous mail the below API needs to be overridden in the > class which extends the DOMDataTreeCommitCohort class, for implementing the > validation logic, before storing the data in

Re: [controller-dev] Backward compatibility of akka-persistence journal

2017-03-19 Thread Tom Pantelis
What doesn't work exactly? Is there an error? From what I recall I thought they were compatible wrt the journal schema but I could be wrong. You could use the online backup/restore. On Sun, Mar 19, 2017 at 12:50 PM, Srini Seetharaman < srini.seethara...@gmail.com> wrote: > Hi, I recently

Re: [controller-dev] Using anyxml in rpc input

2017-03-15 Thread Tom Pantelis
anyxml is not supported in the binding code generation. You'll have to use the binding independent (ie DOM) API. On Wed, Mar 15, 2017 at 7:55 AM, Sahil Shah wrote: > Hi, > > I want to use anyxml in the rpc input to receive xml file from the user. > The file contents

Re: [controller-dev] prevLogIndex 3 was found in the log but the term -1 is not equal to the append entriesprevLogTerm 1 - lastIndex: 5, snapshotIndex: 4

2017-03-20 Thread Tom Pantelis
Actually set the log level to trace instead of debug. On Mon, Mar 20, 2017 at 8:29 AM, Tom Pantelis <tompante...@gmail.com> wrote: > Hmm... please enable Shard debug (add log4j.logger.org.opendaylight. > controller.cluster.datastore.Shard=debug to > etc/org.ops4j.pax.logging.cfg)

Re: [controller-dev] prevLogIndex 3 was found in the log but the term -1 is not equal to the append entriesprevLogTerm 1 - lastIndex: 5, snapshotIndex: 4

2017-03-20 Thread Tom Pantelis
Hmm... please enable Shard debug (add log4j.logger.org.opendaylight.controller.cluster.datastore.Shard=debug to etc/org.ops4j.pax.logging.cfg) on all 3 nodes and let it run for like 10 sec and capture the logs and open a bug. Also capture the JMX Shard output from each node, ie: http://

Re: [controller-dev] [release] Autorelease boron failed to build sal-distributed-datastore

2017-03-21 Thread Tom Pantelis
It's sporadic - fixed in master at some point. Just re-run it. On Tue, Mar 21, 2017 at 9:49 PM, Anil Belur wrote: > +controller-dev: > > We have seeing the following test failing for autorelease Boron: > > Tests in error: > >

Re: [controller-dev] InvalidActorNameException

2017-04-10 Thread Tom Pantelis
I guess it didn't make the SR3 cutoff. On Mon, Apr 10, 2017 at 2:23 PM, Srini Seetharaman < srini.seethara...@gmail.com> wrote: > Ok. thanks! Likely that is my issue. Any reason this didn't make it to > Boron? > > On Mon, Apr 10, 2017 at 11:17 AM, Tom Pantelis <tompante.

Re: [controller-dev] InvalidActorNameException

2017-04-10 Thread Tom Pantelis
Yes - that second patch was the final fix but didn't make Boron SR3. On Mon, Apr 10, 2017 at 1:53 PM, Srini Seetharaman < srini.seethara...@gmail.com> wrote: > Perhaps the second patch https://git.opendaylight.org/gerrit/#/c/53646/ was > not merged into Boron-SR3 causing my issue? > > On Mon,

Re: [controller-dev] NPE - Supervisor Strategy caught unexpected exception

2017-04-11 Thread Tom Pantelis
; > In any case, it seems odd that we hit a NPE. > > On Fri, Apr 7, 2017 at 8:22 AM, Tom Pantelis <tompante...@gmail.com> > wrote: > >> >> >> On Wed, Apr 5, 2017 at 3:18 PM, Srini Seetharaman < >> srini.seethara...@gmail.com> wrote: >> >>>

Re: [controller-dev] Re-configuration of module using Blueprint on Karaf4 distribution

2017-04-19 Thread Tom Pantelis
200OK but the new configuration is not used by the module. > > > > Thanks, > > Tomas > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* Wednesday, April 19, 2017 4:02 PM > *To:* Tomas Janciga -X (tjanciga - PANTHEON TECHNOLOGIES at Cisco) > *Cc:* controll

Re: [controller-dev] Question about Geo-distributed Active/BackupSetup in Carbon

2017-04-19 Thread Tom Pantelis
so doesn't participate in leader elections and thus cannot become the leader. Thus a a non-voting node is strictly a backup. > Best regards, > Simpler > > > -- 原始邮件 -- > *发件人:* "Tom Pantelis";<tompante...@gmail.com>; >

Re: [controller-dev] Re-configuration of module using Blueprint on Karaf4 distribution

2017-04-19 Thread Tom Pantelis
Blueprint > configuration of modules, but I haven’t found any. > > Is IoTDM project the first project testing it ? > > > > Thanks, > > Tomas > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* Tuesday, April 18, 2017 4:12 PM > *To:* Tomas Ja

Re: [controller-dev] [release] Autorelease carbon failed to build sal-distributed-datastore from controller

2017-04-13 Thread Tom Pantelis
Actually I just noticed that it was the tell-based protocol (with that ClientBackedDataStore) run of that test that failed. DistributedDataStoreIntegrationTest is parameterized to run all the test cases twice - once with the existing ask-based protocol and the second with the new tell-based

Re: [controller-dev] [release] Autorelease carbon failed to build sal-distributed-datastore from controller

2017-04-14 Thread Tom Pantelis
at 12:34 AM, Tom Pantelis <tompante...@gmail.com> wrote: > Actually I just noticed that it was the tell-based protocol (with that > ClientBackedDataStore) > run of that test that failed. DistributedDataStoreIntegrationTest is > parameterized to run all the test

[controller-dev] Nomination for new committer

2017-04-18 Thread Tom Pantelis
Hello controller committers, I'd like to nominate Robert Varga for the committer role on the controller project. As we all know, Robert has been a significant contributor to all the kernel projects since the inception of ODL and, particularly, has been contributing to CDS code in the controller

Re: [controller-dev] Re-configuration of module using Blueprint on Karaf4 distribution

2017-04-18 Thread Tom Pantelis
Tomas, The "Unable to create a proxy object..." message is related to blueprint and is benign (logged as INFO). When registering a service instance, it tries to create a proxy for it (for the quiesce functionality which isn't important) - on failure it uses the original instance (lucky for us).

Re: [controller-dev] about opendaylight in-memory databse

2017-04-19 Thread Tom Pantelis
Qasmaoui, I'm not sure exactly what you mean by the name of it but ODL uses a clustered datastore (we informally call it CDS for short) which is stored in memory and also persisted. Tom On Wed, Apr 19, 2017 at 4:35 PM, qasmaoui youssef wrote: > hello every one , > > excuse

Re: [controller-dev] MD-SAL Binding Generator API Change Waiver

2017-03-02 Thread Tom Pantelis
I added +2. What's the next step? I can remove jenkins-releng and merge that way. On Thu, Mar 2, 2017 at 11:35 AM, Ryan Goulding wrote: > Hi Martin, > > I reached out to Tom offline and asked him to review these changes, and > explained that they won't get +1 from

Re: [controller-dev] Getting exception when using Transaction Chain

2017-03-06 Thread Tom Pantelis
It seems you're trying to access a chain concurrently? If so, this is not supported. You must coordinate access to the chain such that the previous write transaction is submitted before you allocate a new one. Tom On Mon, Mar 6, 2017 at 7:05 AM, Satish Dutt wrote: >

Re: [controller-dev] Getting exception when using Transaction Chain

2017-03-06 Thread Tom Pantelis
hain > waits for allocating a new one till the previous write transaction is > submitted ? > > > > Regards > > -Satish > > > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* Tuesday, March 07, 2017 2:38 AM > *To:* Satish Dutt <sd...@advaopti

Re: [controller-dev] Getting RPC error when registering my cohert

2017-04-07 Thread Tom Pantelis
eferring to. Can you elaborate? You can subclass DataValidationFailedException and add whatever additional information you want or format the error message appropriately with specific information. > Regards, > > -Satish > > > > *From:* Tom Pantelis [mailto:tompante...@gmail.com

[controller-dev] Nomination for new Committers

2017-04-07 Thread Tom Pantelis
Hello controller committers, I'd like to nominate Stephen Kitt and Michael Vorburger for the committer role on the controller project. Both have pushed and reviewed many patches over the last year or so. Also I've been the only active committer for quite a while now so we need other active

Re: [controller-dev] NPE - Supervisor Strategy caught unexpected exception

2017-04-07 Thread Tom Pantelis
On Wed, Apr 5, 2017 at 3:18 PM, Srini Seetharaman < srini.seethara...@gmail.com> wrote: > During this time, the shard leadership was in some weird state. I am not > sure what "PreLeader" means. Can you clarify? > > PreLeader is an intermediate state prior to Leader to apply any uncommitted

Re: [controller-dev] Question about Geo-distributed Active/Backup Setup in Carbon

2017-04-19 Thread Tom Pantelis
On Wed, Apr 19, 2017 at 4:04 AM, 风驰天下 <609790...@qq.com> wrote: > Hi,everyone, > > I have two question about Geo-distributed Active/Backup Setup in > Carbon. > > 1.It is said that the cluster can be expanded with nodes in a > different datacenter, but in a way that doesn’t affect latency

Re: [controller-dev] Circuit Breaker timed out

2017-08-10 Thread Tom Pantelis
That error is from akka persistence. It happens if the backend persistence plugin doesn't respond back in time. I've only seen this in a CSIT environment whose disk activity was overloaded. The timeouts can be tweaked - I don't recall exactly what they are but you can find them in the akka docs

Re: [controller-dev] FW: [Opendaylight-users] Clustering in ODL(Boron-SR3)

2017-07-20 Thread Tom Pantelis
for #1 - the traffic bandwidth between nodes depends on the datastore transaction activity of the applications you're running. On Thu, Jul 20, 2017 at 4:57 PM, Xingjun Chu wrote: > I found this question on user mailing list, kind of interesting . Any > comments from

Re: [controller-dev] Any changes to how new nodes are added to an existing cluster?

2017-07-25 Thread Tom Pantelis
On Tue, Jul 25, 2017 at 2:45 AM, Bertrand Low wrote: > Hi controller devs, > > > > I’m having trouble adding new nodes to an existing cluster at runtime > using the Carbon distribution. With Boron SR3, I am able to add a new node > to an existing cluster at runtime, without

Re: [controller-dev] Moving lldp code from controller

2017-07-20 Thread Tom Pantelis
On Thu, Jul 20, 2017 at 1:41 PM, Robert Varga wrote: > Hello everyone, > > since we would like to make some progress in the great controller purge > project, we need to decide what to do about liblldp. > > The code is 4KLOC with no dependencies on other projects (aside from >

[controller-dev] Karaf 4 Feature URL in Release Notes

2017-06-30 Thread Tom Pantelis
Hello, With karaf 4 the feature XML file is generated under target via the pom. So there's no file in git to which to point the Feature URL in RN. I guess we can point to the feature's pom file. Or remove the Feature URL? Tom ___ controller-dev

Re: [controller-dev] Add new ODL node to a cluster

2017-06-30 Thread Tom Pantelis
You also need to configure the seed-nodes to point to at least one of the nodes in the cluster. On Fri, Jun 30, 2017 at 8:14 AM, Tom Pantelis <tompante...@gmail.com> wrote: > I don't know what you did but it looks like the DOMEntityOwnershipService > didn't start. Look for other err

Re: [controller-dev] Add new ODL node to a cluster

2017-06-30 Thread Tom Pantelis
at java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1142)[:1.8.0_45] > > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecu > > 8ß > > > > > > Regards, &g

[controller-dev] [release] WEATHER - Remove mechanism for mounting netconf devices via the config system in Nitrogen

2017-06-29 Thread Tom Pantelis
e the config system mounting mechanism is being removed in Nitrogen. - *Reported By:* Tom Pantelis, Email: tompante...@gmail.com - *Reported On:* 06/29/2017 - *Links to opened bugs:* - https://bugs.opendaylight.org/show_bug.cgi?id=8725 - *Links to patches:* - https://git.open

Re: [controller-dev] 401 unauthorized error for a new proect

2017-07-05 Thread Tom Pantelis
Also don't forget to update any collections using the CSS netconf connector - https://git.opendaylight.org/gerrit/#/c/59669/ will finally nix it in Nitrogen :) On Wed, Jul 5, 2017 at 3:55 PM, Ryan Goulding wrote: > at any rate it’s probably time I updated all my postman

Re: [controller-dev] [release] Autorelease carbon failed to build sal-distributed-datastore from controller

2017-04-24 Thread Tom Pantelis
Most likely timing issue in the test. This was added pretty recently by Tomas Cere I believe - perhaps he could comment. On Mon, Apr 24, 2017 at 10:59 AM, Colin Dixon wrote: > This is the error. My guess is a timing issue. Others? > > --Colin > > Tests run: 4, Failures: 0,

Re: [controller-dev] Query on TransactionCommitFailedException

2017-08-01 Thread Tom Pantelis
On Tue, Aug 1, 2017 at 5:30 AM, Kency Kurian wrote: > Hi all, > > > > In one of our use case we are submitting a transaction in the DS and doing > a get() on the future object returned by the transaction submit() method. > > > > We were getting the below exception

Re: [controller-dev] Controller/Clustering Carbon SR2 Blocker Bug

2017-08-16 Thread Tom Pantelis
I would say to revert it at this point. On Wed, Aug 16, 2017 at 7:35 PM, An Ho <an...@huawei.com> wrote: > +Add CONTROLLER team. > > Hi Tom Pantelis and Robert Varga, > > Please help investigate this issue blocking Carbon SR2. Several projects > are having issues wit

Re: [controller-dev] Controller - how to write an internal module!!!

2017-05-11 Thread Tom Pantelis
Nathan, The toaster example in core tutorials was started but abandoned (as you can tell :(). This https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Toaster_Step-By-Step is the best one that I know of. The code is in the controller project under /opendaylight/md-sal/samples.

Re: [controller-dev] Touching multiple datastores in a single transaction.

2017-05-10 Thread Tom Pantelis
Anton, It works if a transaction spans both. I don't recall the details but I think the argument against it is more or less theoretical. Tom On Wed, May 10, 2017 at 11:48 AM, Anton Ivanov < anton.iva...@kot-begemot.co.uk> wrote: > Hi all, > > I need some advice on touching multiple datastores

Re: [controller-dev] Exception in receiveRecover when replaying event type

2017-05-15 Thread Tom Pantelis
Srini, Looks like you have operational persistence on. It seems something must have changed between the restart. Upgrade? Data model change? Caused by: org.opendaylight.yangtools.yang.data.api.schema.tree. ModifiedNodeDoesNotExistException: Node /(urn:ietf:params:xml:ns:yang:

Re: [controller-dev] Controller - how to write an internal module!!!

2017-05-17 Thread Tom Pantelis
t it? We should fix anything that's incorrect. > > What you might want to do, Arlindo, is look at the Nodes application and > track how that works through the various layers. > > Regards > > Nathan > > > On 11 May 2017, at 16:56, Tom Pantelis <tompante...@gmail.com>

Re: [controller-dev] [mdsal-dev] How to increase the timeout value for a commit operation to the data store ?

2017-05-16 Thread Tom Pantelis
yes - it is currently hard-coded to 5 sec. It was not intended for cohorts to take 5-20 sec to validate. Cohorts are supposed to be performant as the API javadocs stress, especially since they're currently invoked synchronously and thus block the Shard. On Mon, May 15, 2017 at 10:20 PM, Anil

Re: [controller-dev] [release] Autorelease carbon failed to build sal-distributed-datastore from controller

2017-05-10 Thread Tom Pantelis
On Wed, May 10, 2017 at 3:05 PM, Colin Dixon wrote: > Here's the snippet: > > 14:08:34 Running org.opendaylight.controller.cl > uster.datastore.entityownership.DistributedEntityOwnershipIntegrationTest > 14:09:42 Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time

Re: [controller-dev] [release] Autorelease nitrogen failed to build sal-distributed-datastore from controller

2017-05-10 Thread Tom Pantelis
On Wed, May 10, 2017 at 3:06 PM, Colin Dixon wrote: > Snippet: > > Running org.opendaylight.controller.cluster.datastore. > DistributedDataStoreRemotingIntegrationTest > Tests run: 36, Failures: 0, Errors: 1, Skipped: 3, Time elapsed: 263.336 > sec <<< FAILURE! - in

Re: [controller-dev] Conditional feature installation.

2017-06-08 Thread Tom Pantelis
On Thu, Jun 8, 2017 at 6:22 PM, Michael Vorburger wrote: > Abhishek, > > On Wed, Jun 7, 2017 at 6:41 AM, abhishek Sharma < > abhishek.sharma...@yahoo.com> wrote: > >> Hello Team, >> >> Is there any way to control installation of a feature based upon certain >> condition? >>

Re: [controller-dev] [mdsal-dev] Cohort or Restconf- How to alter input data?

2017-05-23 Thread Tom Pantelis
On Tue, May 23, 2017 at 10:50 AM, Vishweshwar Hegde wrote: > Thanks Robert for the information. > > Please refer below scenario: > public static final QName QNAME = QName.create(XYZ.QNAME, "abc").intern(); > public static final YangInstanceIdentifier.NodeIdentifier NODEID

Re: [controller-dev] [mdsal-dev] Bug 7370 OOM due to suspected memory leak in akka.dispatch.Dispatcher found by hprof

2017-05-29 Thread Tom Pantelis
with io.netty.util.concurrent.FastThreadLocalThread - not sure if that's normal. On Mon, May 29, 2017 at 9:30 AM, Michael Vorburger <vorbur...@redhat.com> wrote: > +openflowplugin-dev & +ovsdb-dev: > > Tom, > > On Mon, May 29, 2017 at 2:57 PM, Tom Pantelis <tompante...@gmail.com> > wrote: > > Than

Re: [controller-dev] [mdsal-dev] Bug 7370 OOM due to suspected memory leak in akka.dispatch.Dispatcher found by hprof

2017-05-29 Thread Tom Pantelis
It looks like the Dispatcher was for data change notifications. I suspect a listener was hung or responding slowly so the actor's mailbox filled up with change notifications. I would suggest getting a thread dump next time. On Mon, May 29, 2017 at 7:52 AM, Michael Vorburger

Re: [controller-dev] [Action Needed] CONTROLLER Carbon RC3 Distribution Test Failure

2017-05-25 Thread Tom Pantelis
The first 2 have been yellow or red for a while. There are many controller CSIT suite tests and I have no idea what most of them do or which ones are current/relevant. Vratko, Luis, Jamo - any of you familiar with these? On Thu, May 25, 2017 at 10:38 AM, An Ho wrote: > The

Re: [controller-dev] Are MD-SAL Notifications Clustered?

2017-05-19 Thread Tom Pantelis
lated. I'm not certain what the MessageBus API is for. > Thanks > > Vikram > > > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* 19 May 2017 21:16 > *To:* Vikram Darsi <vda...@advaoptical.com> > *Cc:* controller-dev@lists.opendaylight.org; mdsal-dev@lis

Re: [controller-dev] [mdsal-dev] How to increase the timeout value for a commit operation to the data store ?

2017-05-16 Thread Tom Pantelis
r) > will give user an option to change it (increase or decrease) as per their > usecase. > > On Tue, May 16, 2017 at 3:19 AM, Tom Pantelis <tompante...@gmail.com> > wrote: > >> yes - it is currently hard-coded to 5 sec. It was not intended for >> cohorts to tak

Re: [controller-dev] Backup: size of the in-memory database

2017-05-31 Thread Tom Pantelis
On Wed, May 31, 2017 at 5:45 AM, David Suarez Fuentes < david.suarez.fuen...@ericsson.com> wrote: > Hi all, > > > We are using the RPC to generate a backup file in a ODL cluster, and we'd > like to warn the user if there is not enough disk space to store the > generated file. Is there a way to

Re: [controller-dev] jmx mbeans to track transaction queue length

2017-06-13 Thread Tom Pantelis
No there's nothing like that. On Tue, Jun 13, 2017 at 3:36 PM, Colin Dixon <co...@colindixon.com> wrote: > Cool. Do we have anything similar in terms of time? Would that be hard to > add. Like TimeFromEnqueueToCommitForLastTxn or something? > > --Colin > > > On Tue, J

Re: [controller-dev] jmx mbeans to track transaction queue length

2017-06-13 Thread Tom Pantelis
I believe Shard PendingTxCommitQueueSize is what you're looking for. On Tue, Jun 13, 2017 at 3:25 PM, Colin Dixon wrote: > Hi controller devs, > > I know we have some really nice beans for looking at datastore stats: > https://github.com/opendaylight/controller/tree/ >

Re: [controller-dev] Moving protocol-framework

2017-06-13 Thread Tom Pantelis
On Tue, Jun 13, 2017 at 12:00 PM, Robert Varga <n...@hq.sk> wrote: > On 13/06/17 17:53, Tom Pantelis wrote: > > On a side note, I suspect commons/liblldp isn't used anymore either. In > > fact I don't even see the bundle installed by any feature. > > It is seems to

Re: [controller-dev] Moving protocol-framework

2017-06-13 Thread Tom Pantelis
On a side note, I suspect commons/liblldp isn't used anymore either. In fact I don't even see the bundle installed by any feature. Not sure if commons/filter-valve is used either. If so probably should be moved to netconf/restconf. On Tue, Jun 13, 2017 at 11:36 AM, Robert Varga

Re: [controller-dev] hangs in SFT in autorelease

2017-05-01 Thread Tom Pantelis
yeah - saw that too: 2017-05-01 10:44:13,976 | ERROR | rint Extender: 1 | BlueprintContainerImpl | 12 - org.apache.aries.blueprint.core - 1.7.1 | Unable to start blueprint container for bundle org.opendaylight.controller.sal-binding-broker-impl/1.5.0.Carbon due to unresolved

Re: [controller-dev] hangs in SFT in autorelease

2017-05-01 Thread Tom Pantelis
count for 12 of the last 16 > failures in autorelease that we don't have fixes for. > > --Colin > > > On Mon, May 1, 2017 at 4:12 PM, Tom Pantelis <tompante...@gmail.com> > wrote: > >> yeah - saw that too: >> >> 2017-05-01 10:44:13,976 | ERROR |

Re: [controller-dev] RPC or Cohort?

2017-05-08 Thread Tom Pantelis
Vishweshwar - see inline On Mon, May 8, 2017 at 10:15 AM, Vishweshwar Hegde wrote: > Hello, > > We are planning to use Cohort for NBI validations. > > Identified few scenarios may impact overall performance: > 1. Is it possible to use Cohort feature without tree

Re: [controller-dev] No ReadWriteTransaction (newReadWriteTransaction) on mdsal DataBroker, only controller's

2017-09-14 Thread Tom Pantelis
On Wed, Sep 13, 2017 at 8:11 PM, Michael Vorburger wrote: > Helo, > > I'm curious why the org.opendaylight.mdsal.binding.api.DataBroker does > not have a ReadWriteTransaction newReadWriteTransaction() method like the >

Re: [controller-dev] yang-jmx-generator AbstractYangTest.loadYangFiles:56->AbstractYangTest.getConfigApiYangInputStreams:81->AbstractYangTest.getStreams:101 /META-INF/yang/config.yang is null

2017-09-14 Thread Tom Pantelis
I just refreshed my local yangtools and controller and see the errors. Under config-api/target/classes/META-INF/yang/ the generated file is not con...@2013-04-05.yang. Something changed in yangtools I suppose we need to change the tests to look for con...@2013-04-05.yang On Thu, Sep 14,

Re: [controller-dev] yang-jmx-generator AbstractYangTest.loadYangFiles:56->AbstractYangTest.getConfigApiYangInputStreams:81->AbstractYangTest.getStreams:101 /META-INF/yang/config.yang is null

2017-09-14 Thread Tom Pantelis
On Thu, Sep 14, 2017 at 10:30 AM, Tom Pantelis <tompante...@gmail.com> wrote: > I just refreshed my local yangtools and controller and see the errors. > Under config-api/target/classes/META-INF/yang/ the generated file is > not con...@2013-04-05.yang. Something changed in yangtools

Re: [controller-dev] yang-jmx-generator AbstractYangTest.loadYangFiles:56->AbstractYangTest.getConfigApiYangInputStreams:81->AbstractYangTest.getStreams:101 /META-INF/yang/config.yang is null

2017-09-14 Thread Tom Pantelis
On Thu, Sep 14, 2017 at 11:25 AM, Robert Varga <n...@hq.sk> wrote: > > > On 14/09/17 16:31, Tom Pantelis wrote: > > > > > > On Thu, Sep 14, 2017 at 10:30 AM, Tom Pantelis <tompante...@gmail.com > > <mailto:tompante...@gmail.com>> wro

Re: [controller-dev] A question regarding binding independent components.

2017-09-15 Thread Tom Pantelis
On Fri, Sep 15, 2017 at 11:57 AM, Xingjun Chu wrote: > Hi Tom and Controller team, > > > > I was reading the following wiki about the MDSAL, basically it talks about > how Binding Independent Components work with each other. It states that > all consumers and providers

Re: [controller-dev] yang-jmx-generator AbstractYangTest.loadYangFiles:56->AbstractYangTest.getConfigApiYangInputStreams:81->AbstractYangTest.getStreams:101 /META-INF/yang/config.yang is null

2017-09-14 Thread Tom Pantelis
On Thu, Sep 14, 2017 at 12:54 PM, Robert Varga <n...@hq.sk> wrote: > On 14/09/17 17:25, Robert Varga wrote: > > > > On 14/09/17 16:31, Tom Pantelis wrote: > >> > >> On Thu, Sep 14, 2017 at 10:30 AM, Tom Pantelis <tompante...@gmail.com > >> <

Re: [controller-dev] Best way to gracefully shutdown Karaf in ODL context

2017-10-15 Thread Tom Pantelis
test with change and push the same > > > > Regards > > Muthu > > > > > > > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* Friday, October 13, 2017 6:40 PM > *To:* Muthukumaran K > *Cc:* Daniel Farrell; Jamo Luhrsen; controller-d

Re: [controller-dev] Expose Datastore health to applications via infrautils.diagstatus

2017-10-12 Thread Tom Pantelis
f course if it's the leader, its sync status is automatically true. Also a follower shard will report it's not in sync if it lags behind the leader by a certain # of commits (default 10). > Regards > > Muthu > > > > > > *From:* controller-dev-boun...@lists.opendaylight.org [mail

  1   2   >