[CONTROLLER-1078] Clustering : 3 Node Clustering of ODL is not working Created: 19/Dec/14 Updated: 19/Oct/17 Resolved: 03/Jun/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | Post-Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Bhanu Prakash | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
| External issue ID: | 2527 |
| Description |
|
HI, opendaylight-user@root>Exception in thread "config-pusher" java.lang.IllegalStateException: Failed to send commit for configuration 05-clustering.xml(odl-mdsal-clustering,odl-mdsal-clustering) in transaction TransactionIdentifier {name='ConfigTransaction-39-41'} at org.opendaylight.controller.config.manager.impl.ConfigTransactionControllerImpl.secondPhaseCommit(ConfigTransactionControllerImpl.java:402) 3. When i try to make a REST call for GET on the member-1 (which is a Leader controller), it returns with Leader=null and RaftState as Candidate. {"timestamp":1418995610,"status":200,"request": {"mbean":"org.opendaylight.controller:Category=Shards,name=member-1-shard-inventory-config,type=DistributedConfigDatastore","type":"read"},"value":{"ReadWriteTransactionCount":0,"LastLogIndex":-1,"MaxNotificationMgrListenerQueueSize":1000,"ReadOnlyTransactionCount":0,"LastLogTerm":-1,"CommitIndex":-1,"CurrentTerm":3255,"FailedReadTransactionsCount":0,"Leader":null,"ShardName":"member-1-shard-inventory-config","FailedTransactionsCount":0,"DataStoreExecutorStats":null,"CommittedTransactionsCount":0,"NotificationMgrExecutorStats": {"activeThreadCount":0,"largestQueueSize":0,"currentThreadPoolSize":0,"maxThreadPoolSize":20,"totalTaskCount":0,"largestThreadPoolSize":0,"currentQueueSize":0,"completedTaskCount":0,"rejectedTaskCount":0,"maxQueueSize":1000},"AbortTransactionsCount":0,"LastApplied":-1,"LastCommittedTransactionTime":"1970-01-01 05:30:00.000","WriteOnlyTransactionCount":0,"RaftState":"Candidate","CurrentNotificationMgrListenerQueueStats":[]}} Please help me |
| Comments |
| Comment by Bhanu Prakash [ 19/Dec/14 ] |
|
am using this distribution: |
| Comment by Bhanu Prakash [ 23/Dec/14 ] |
|
Attachment akka-Moduleshardsconf.zip has been added with description: conf files |
| Comment by Bhanu Prakash [ 23/Dec/14 ] |
|
attached the conf files used for all the 3 nodes |
| Comment by Luis Gomez [ 24/Dec/14 ] |
|
Hi Bhanu I guess this is for cluster experts in controller project. Let me change the product in bugzilla. BR/Luis |
| Comment by Vratko Polak [ 07/Jan/15 ] |
|
Hi Bhanu. Looking at your config files I can pattern-match this: > Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: /192.168.31.190:2550 Each akka-member*.conf file has two lines starting with |
| Comment by Bhanu Prakash [ 07/Jan/15 ] |
|
(In reply to Vratko Polák from comment #5) Hello Vratko Polak, |
| Comment by Vratko Polak [ 07/Jan/15 ] |
|
Hi Bhanu. > that there will be only one In cluster, all nodes should be able to serve requests from OVS. > can you let me know how to make one particular node a leader for one User cannot pinpoint which node is Leader, as far as I know. If all devices are configured to connect to the same ODL node, > Please let me know if the other config look good? Nothing else looked wrong to my fallible eyes. Vratko. |
| Comment by Bhanu Prakash [ 08/Jan/15 ] |
|
(In reply to Vratko Polák from comment #7) Hello Vratko, |
| Comment by Bhanu Prakash [ 08/Jan/15 ] |
|
incase of data persistence enabled (in this by default), where does the data sit in the file system? |
| Comment by Vratko Polak [ 08/Jan/15 ] |
|
Hi Bhanu. > In the 3 nodes of a cluster, i can see only one node can be accessed for the I have next to zero experience with dlux, but from https://wiki.opendaylight.org/view/OpenDaylight_dlux:Setup_and_Run#Run_the_DLUX_code_against_the_controller > incase of data persistence enabled (in this by default), At /journal and /snapshot directories (under ${karaf.home}). > any way to configure this? It seems to be the akka default, I have not found a way to override it Vratko. |
| Comment by Bhanu Prakash [ 08/Jan/15 ] |
|
(In reply to Vratko Polák from comment #10) Hello Vratko, |
| Comment by Vratko Polak [ 08/Jan/15 ] |
|
(In reply to Bhanu Prakash from comment #11) Can you describe what do REST responses look like now? |