Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

distribution fails to start in both stable/beryllium and stable/boron

asked 2016-09-20 10:03:29 -0800

danielZt gravatar image

updated 2016-09-20 10:11:02 -0800

I cloned the l2switch from https://github.com/opendaylight/l2switch , checked-out the stable/beryllium and built successfully this project. The problems is the controller fails to start and it is stuck after few log lines. Here are the last ones I see:

2016-09-20 17:45:21,419 | INFO  | Event Dispatcher | core                             | 58 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5e481248 with name osgi.core:type=serviceState,version=1.7,framework=org.eclipse.osgi,uuid=f0b30b9c-517f-0016-14e3-f0e8ee69b9df
2016-09-20 17:45:21,423 | INFO  | Event Dispatcher | core                             | 58 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5e481248 with name osgi.core:type=bundleState,version=1.7,framework=org.eclipse.osgi,uuid=f0b30b9c-517f-0016-14e3-f0e8ee69b9df
2016-09-20 17:45:21,424 | INFO  | Event Dispatcher | core                             | 58 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5e481248 with name osgi.core:type=packageState,version=1.5,framework=org.eclipse.osgi,uuid=f0b30b9c-517f-0016-14e3-f0e8ee69b9df
2016-09-20 17:45:21,424 | INFO  | Event Dispatcher | core                             | 58 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5e481248 with name osgi.core:type=framework,version=1.7,framework=org.eclipse.osgi,uuid=f0b30b9c-517f-0016-14e3-f0e8ee69b9df

This was working last Friday, but it doesn't anymore. It might be because one of the bundles has been updated.

Do you know exactly what causes this issue?

Here it is the tail of the log I see when I set the logging level to TRACE:

2016-09-20 17:58:45,456 | DEBUG | ion(2)-127.0.0.1 | tcp                              |  -  -  | RMI TCP Connection(2)-127.0.0.1: (port 44444) connection closed
2016-09-20 17:58:45,456 | DEBUG | RMI Scheduler(0) | tcp                              |  -  -  | RMI Scheduler(0): wake up
2016-09-20 17:58:45,457 | DEBUG | ion(2)-127.0.0.1 | tcp                              |  -  -  | RMI TCP Connection(2)-127.0.0.1: close connection
2016-09-20 17:58:45,457 | DEBUG | RMI Scheduler(0) | tcp                              |  -  -  | RMI Scheduler(0): connection timeout expired
2016-09-20 17:58:45,457 | DEBUG | RMI Scheduler(0) | tcp                              |  -  -  | RMI Scheduler(0): close connection
2016-09-20 17:58:45,459 | DEBUG | ion(1)-127.0.0.1 | tcp                              |  -  -  | RMI TCP Connection(1)-127.0.0.1: (port 1099) connection closed
2016-09-20 17:58:45,459 | DEBUG | ion(1)-127.0.0.1 | tcp                              |  -  -  | RMI TCP Connection(1)-127.0.0.1: close connection
edit retag flag offensive close merge delete

Comments

I had this problem even after I deleted the ~/.m2/ folder and build. Luckily the frozen controller has been fixed the day after I noticed it. God job ODL!

danielZt ( 2016-09-21 01:35:06 -0800 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-21 07:59:00 -0800

Hello,

Have you installed any feature? The information you gave don't indicated any issues.

Checkout the install features using

features:list -i

To install l2switch feature, checkout the available ones and install the one you want

feature:list | grep l2switch

Hope this helps, Alexis

edit flag offensive delete publish link more

Comments

as I already commented the question, the next day the issue was fixed.

danielZt ( 2016-10-24 01:56:38 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-09-20 10:03:29 -0800

Seen: 21 times

Last updated: Oct 21 '16