SD-WAN

 View Only
  • 1.  HP VAN SDN not listening on port 8443

    Posted Jan 24, 2017 07:59 AM

    Hi,

    I know this question was asked before, but I am still unable to solve my problem.

    I have installed hpe-van-sdn-ctlr-2.7.18-x64 successfully without any errors. However, it is not binding to port 8443, so I am not able to open the web UI. Here is the info:

    enas@Enas-WorkStation:~$ uname -a
    Linux Enas-WorkStation 3.19.0-69-generic #77~14.04.1-Ubuntu SMP Tue Aug 30 01:29:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
    enas@Enas-WorkStation:~$ sudo service sdnc status
    sdnc start/running, process 23183
    enas@Enas-WorkStation:~$ sudo service sdna status
    sdna start/running, process 23181
    enas@Enas-WorkStation:~$ sudo service keystone status
    keystone start/running, process 16933
    enas@Enas-WorkStation:~$ sudo dpkg -l | grep -i sdn
    ii  hp-sdn-ctl                                            2.7.18.0503                                         amd64        HP VAN SDN Controller
    enas@Enas-WorkStation:~$ sudo dpkg -l | grep -i keystone
    ii  keystone                                              1:2014.2.4-0ubuntu1~cloud2                          all          OpenStack identity service - Daemons
    ii  keystone-doc                                          1:2014.2.4-0ubuntu1~cloud2                          all          OpenStack identity service - Documentation
    ii  python-keystone                                       1:2014.2.4-0ubuntu1~cloud2                          all          OpenStack identity service - Python library
    ii  python-keystoneclient                                 1:0.10.1-0ubuntu1.2~cloud0                          all          Client library for OpenStack Identity API
    ii  python-keystonemiddleware                             1.0.0-1ubuntu0.14.10.3~cloud0                       all          Middleware for OpenStack Identity (Keystone) - Python 2.x
    enas@Enas-WorkStation:~$ netstat -na | grep 8443
    enas@Enas-WorkStation:~$ sudo cat /var/log/sdn/virgo/logs/log.log | grep -i except            hp.cass.conn                                                      Retrying connection due to PersistenceException
    enas@Enas-WorkStation:~$ sudo update-alternatives --config java
    There are 2 choices for the alternative java (providing /usr/bin/java).

    Selection Path Priority Status
    ------------------------------------------------------------
    0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode
    * 1 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode
    2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode


    sudo cat /var/log/sdn/virgo/logs/log.log | grep -i except
    [2017-01-24 15:41:44.959] WARN system-artifacts com.hazelcast.osgi.OSGiScriptEngineManager Found ScriptEngineFactory candidate for com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load class! -> org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory in KernelBundleClassLoader: [bundle=com.hazelcast_3.3.4]
    [2017-01-24 15:42:09.656] INFO SequencerThread hp.cass.conn Retrying connection due to PersistenceException
    [2017-01-24 15:42:13.391] INFO TaskExecSched-2-thread-2 hp.cass.conn Retrying connection due to PersistenceException
    [2017-01-24 15:42:14.671] INFO SequencerThread hp.cass.conn Retrying connection due to PersistenceException
    enas@Enas-WorkStation:~$ sudo tail /var/log/sdn/admin/stdout.log
    Jan 24, 2017 3:41:59 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
    INFO: Alert listener not registered. Will try again in 2048 seconds(s)
    Jan 24, 2017 3:42:01 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
    INFO: Alert listener not registered. Will try again in 4096 seconds(s)
    Jan 24, 2017 3:42:05 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
    INFO: Alert listener not registered. Will try again in 8192 seconds(s)
    Jan 24, 2017 3:42:13 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
    INFO: Alert listener not registered. Will try again in 16384 seconds(s)
    Jan 24, 2017 3:42:13 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
    WARNING: Failed to register Alert Listener.
    enas@Enas-WorkStation:~$ sudo tail /var/log/sdn/virgo/stdout.log[2017-01-24 15:42:20.321] start-signalling-2 <DE0005I> Started bundle 'com.hp.sdn.sdn-ctl-oflinkdisco' version '2.7.18'.
    [2017-01-24 15:42:20.322] start-signalling-2 <DE0005I> Started plan 'com.hp.sdn.ctl.oflinksupplier' version '2.7.18'.
    [2017-01-24 15:42:20.464] SequencerThread <DE0000I> Installing plan 'com.hp.sdn.ctl.path' version '2.7.18'.
    [2017-01-24 15:42:20.470] SequencerThread <DE0000I> Installing bundle 'com.hp.sdn.sdn-ctl-path' version '2.7.18'.
    [2017-01-24 15:42:20.487] SequencerThread <DE0001I> Installed bundle 'com.hp.sdn.sdn-ctl-path' version '2.7.18'.
    [2017-01-24 15:42:20.487] SequencerThread <DE0001I> Installed plan 'com.hp.sdn.ctl.path' version '2.7.18'.
    [2017-01-24 15:42:20.491] SequencerThread <DE0004I> Starting plan 'com.hp.sdn.ctl.path' version '2.7.18'.
    [2017-01-24 15:42:20.492] SequencerThread <DE0004I> Starting bundle 'com.hp.sdn.sdn-ctl-path' version '2.7.18'.
    [2017-01-24 15:42:20.492] start-signalling-2 <DE0005I> Started bundle 'com.hp.sdn.sdn-ctl-path' version '2.7.18'.
    [2017-01-24 15:42:20.493] start-signalling-2 <DE0005I> Started plan 'com.hp.sdn.ctl.path' version '2.7.18'.



     

    Any idea on what I am doing wrong?

     

    Thanks,

    Enas



  • 2.  RE: HP VAN SDN not listening on port 8443

    Posted Jan 25, 2017 08:37 AM

    Hi EnasAhmad,

    Thank you for providing this info. The only line that looks suspicious to me is the following, but I can't say I know what would resolve it:

    WARN system-artifacts com.hazelcast.osgi.OSGiScriptEngineManager Found ScriptEngineFactory candidate for com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load class! -> org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory in KernelBundleClassLoader: [bundle=com.hazelcast_3.3.4] 

    Would you be able to provide the output of these commands? They may include other potential warnings or errors:

    grep WARN /var/log/sdn/virgo/logs/log.log
    grep ERROR /var/log/sdn/virgo/logs/log.log

    Shaun



  • 3.  RE: HP VAN SDN not listening on port 8443

    Posted Jan 26, 2017 02:01 AM

    Sure, here you go:

    enas@Enas-WorkStation:~$ sudo grep WARN /var/log/sdn/virgo/logs/log.log
    [2017-01-24 15:41:43.522] WARN  system-artifacts             org.apache.catalina.core.StandardHost                             Using an empty string for appBase on host [localhost] will set it to CATALINA_BASE, which is a bad idea 
    [2017-01-24 15:41:44.959] WARN  system-artifacts             com.hazelcast.osgi.OSGiScriptEngineManager                        Found ScriptEngineFactory candidate for com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load class! -> org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory in KernelBundleClassLoader: [bundle=com.hazelcast_3.3.4] 
    [2017-01-24 15:41:48.306] WARN  t Resolve Thread (Bundle 81) net.sf.ehcache.config.ConfigurationFactory                        No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/opt/sdn/virgo/repository/ext/ehcache-2.7.4.jar!/ehcache-failsafe.xml 
    [2017-01-24 15:41:53.485] WARN  TaskExecSched-2-thread-1     hp.keystone                                                       Get revoked tokens failed. 
    [2017-01-24 15:42:13.392] WARN  TaskExecSched-2-thread-2     hp.sdn.db                                                         Unable to establish connection to Cassandra DB 
    [2017-01-25 10:38:27.226] WARN  system-artifacts             org.apache.catalina.core.StandardHost                             Using an empty string for appBase on host [localhost] will set it to CATALINA_BASE, which is a bad idea 
    [2017-01-25 10:38:28.861] WARN  system-artifacts             com.hazelcast.osgi.OSGiScriptEngineManager                        Found ScriptEngineFactory candidate for com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load class! -> org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory in KernelBundleClassLoader: [bundle=com.hazelcast_3.3.4] 
    [2017-01-25 10:38:32.437] WARN  t Resolve Thread (Bundle 81) net.sf.ehcache.config.ConfigurationFactory                        No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/opt/sdn/virgo/repository/ext/ehcache-2.7.4.jar!/ehcache-failsafe.xml 
    [2017-01-25 10:38:37.619] WARN  TaskExecSched-2-thread-1     hp.keystone                                                       Get revoked tokens failed. 
    [2017-01-25 10:38:56.376] WARN  TaskExecSched-2-thread-1     hp.sdn.db                                                         Unable to establish connection to Cassandra DB 
    [2017-01-25 16:45:25.639] WARN  system-artifacts             org.apache.catalina.core.StandardHost                             Using an empty string for appBase on host [localhost] will set it to CATALINA_BASE, which is a bad idea 
    [2017-01-25 16:45:27.339] WARN  system-artifacts             com.hazelcast.osgi.OSGiScriptEngineManager                        Found ScriptEngineFactory candidate for com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load class! -> org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory in KernelBundleClassLoader: [bundle=com.hazelcast_3.3.4] 
    [2017-01-25 16:45:30.991] WARN  t Resolve Thread (Bundle 81) net.sf.ehcache.config.ConfigurationFactory                        No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/opt/sdn/virgo/repository/ext/ehcache-2.7.4.jar!/ehcache-failsafe.xml 
    [2017-01-25 16:45:36.197] WARN  TaskExecSched-2-thread-1     hp.keystone                                                       Get revoked tokens failed. 
    [2017-01-25 17:07:00.525] WARN  system-artifacts             org.apache.catalina.core.StandardHost                             Using an empty string for appBase on host [localhost] will set it to CATALINA_BASE, which is a bad idea 
    [2017-01-25 17:07:01.991] WARN  system-artifacts             com.hazelcast.osgi.OSGiScriptEngineManager                        Found ScriptEngineFactory candidate for com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load class! -> org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory in KernelBundleClassLoader: [bundle=com.hazelcast_3.3.4] 
    [2017-01-25 17:07:05.297] WARN  t Resolve Thread (Bundle 81) net.sf.ehcache.config.ConfigurationFactory                        No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/opt/sdn/virgo/repository/ext/ehcache-2.7.4.jar!/ehcache-failsafe.xml 
    [2017-01-25 17:07:10.798] WARN  TaskExecSched-2-thread-1     hp.keystone                                                       Get revoked tokens failed. 
    [2017-01-25 17:09:54.152] WARN  system-artifacts             org.apache.catalina.core.StandardHost                             Using an empty string for appBase on host [localhost] will set it to CATALINA_BASE, which is a bad idea 
    [2017-01-25 17:09:55.618] WARN  system-artifacts             com.hazelcast.osgi.OSGiScriptEngineManager                        Found ScriptEngineFactory candidate for com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load class! -> org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory in KernelBundleClassLoader: [bundle=com.hazelcast_3.3.4] 
    [2017-01-25 17:09:58.927] WARN  t Resolve Thread (Bundle 81) net.sf.ehcache.config.ConfigurationFactory                        No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/opt/sdn/virgo/repository/ext/ehcache-2.7.4.jar!/ehcache-failsafe.xml 
    [2017-01-25 17:10:04.376] WARN  TaskExecSched-2-thread-1     hp.keystone                                                       Get revoked tokens failed. 
    [2017-01-25 17:10:22.973] WARN  TaskExecSched-2-thread-2     hp.sdn.db                                                         Unable to establish connection to Cassandra DB 
    [2017-01-26 09:52:24.772] WARN  RxQPool-7-thread-3           hp.of.ctl                                                         com.hp.sdn.disco.of.device.impl.OfPortStatusListener: interrupted exception: java.lang.InterruptedException 
    [2017-01-26 09:52:24.774] WARN  DpQPool-8-thread-4           hp.of.ctl                                                         com.hp.sdn.disco.of.device.impl.OfApDeviceDiscovery$ApDpListener: interrupted exception: java.lang.InterruptedException 
    [2017-01-26 09:52:25.003] WARN  DpQPool-8-thread-2           hp.of.ctl                                                         com.hp.sdn.dvc.impl.FacetComponent$DeviceCleaner: interrupted exception: java.lang.InterruptedException 
    [2017-01-26 09:54:12.662] WARN  system-artifacts             org.apache.catalina.core.StandardHost                             Using an empty string for appBase on host [localhost] will set it to CATALINA_BASE, which is a bad idea 
    [2017-01-26 09:54:14.159] WARN  system-artifacts             com.hazelcast.osgi.OSGiScriptEngineManager                        Found ScriptEngineFactory candidate for com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load class! -> org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory in KernelBundleClassLoader: [bundle=com.hazelcast_3.3.4] 
    [2017-01-26 09:54:17.462] WARN  t Resolve Thread (Bundle 81) net.sf.ehcache.config.ConfigurationFactory                        No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/opt/sdn/virgo/repository/ext/ehcache-2.7.4.jar!/ehcache-failsafe.xml 
    [2017-01-26 09:54:22.613] WARN  TaskExecSched-2-thread-1     hp.keystone                                                       Get revoked tokens failed.
    
    
    enas@Enas-WorkStation:~$ clear
    enas@Enas-WorkStation:~$ sudo grep ERROR /var/log/sdn/virgo/logs/log.log
    [2017-01-25 10:39:41.783] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.785] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.811] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.813] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.814] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.815] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.817] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.818] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.936] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.937] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.938] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 10:39:41.940] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.366] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.370] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.427] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.429] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.431] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.432] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.433] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.434] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.549] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.550] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.551] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 16:51:37.552] ERROR GiLogServiceListener@840727c org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:07:00.661] ERROR system-artifacts             org.apache.coyote.http11.Http11Protocol                           Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"] java.net.BindException: Address already in use <null>:8080
    [2017-01-25 17:07:00.664] ERROR system-artifacts             org.apache.catalina.core.StandardService                          Failed to initialize connector [Connector[HTTP/1.1-8080]] org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]
    [2017-01-25 17:09:41.733] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.734] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.783] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.785] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.789] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.790] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.792] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.793] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.910] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.912] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.913] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-25 17:09:41.914] ERROR iLogServiceListener@1cbc5000 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.121] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle com.hp.sdn.sdn-common-bl_2.7.18, [SCR] Error while attempting to deactivate instance of component Component[
    [2017-01-26 09:52:25.124] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Error while attempting to deactivate instance of component Component[
    [2017-01-26 09:52:25.128] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.130] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.185] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.186] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.187] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.188] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.190] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.191] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.308] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.309] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.310] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid
    [2017-01-26 09:52:25.312] ERROR iLogServiceListener@5891cc92 org.osgi.service.log.LogService                                   Bundle org.eclipse.equinox.ds_1.4.0.v20120112-1400, [SCR] Unexpected exception occurred! java.lang.IllegalStateException: BundleContext is no longer valid

    Thanks,

    Enas



  • 4.  RE: HP VAN SDN not listening on port 8443

    Posted Jan 26, 2017 03:47 PM

    Hi Enas,

    The lines that indicate the possible cause are as follows:

    [2017-01-26 09:52:24.772] WARN  RxQPool-7-thread-3           hp.of.ctl                                                         com.hp.sdn.disco.of.device.impl.OfPortStatusListener: interrupted exception: java.lang.InterruptedException 
    [2017-01-26 09:52:24.774] WARN  DpQPool-8-thread-4           hp.of.ctl                                                         com.hp.sdn.disco.of.device.impl.OfApDeviceDiscovery$ApDpListener: interrupted exception: java.lang.InterruptedException 
    [2017-01-26 09:52:25.003] WARN  DpQPool-8-thread-2           hp.of.ctl                                                         com.hp.sdn.dvc.impl.FacetComponent$DeviceCleaner: interrupted exception: java.lang.InterruptedException 

    These lines themselves aren't the root cause, but the InterruptedException that each of these 3 key services hit will likely point us at the root cause for 8443 not being listened to.

    I'm not sure if you're just trying to get the SDN controller back up and running, or if you'd like to dig into the root cause of this issue. You could try "sudo service sdnc restart" (or "sudo service sdnc stop" and "sudo service sdnc start" separately) to see if that will get the controller to start fresh. If that works, then we'd like to see the full log.log file to identify why this condition happened.

    Shaun