[NEUTRON-11] Neutron component doesn't start in karaf ( web state - failed, always) Created: 06/Nov/14  Updated: 19/Oct/17  Resolved: 14/Apr/15

Status: Resolved
Project: neutron
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Oleg 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
Platform: PC


Attachments: File log_karaf.tar.gz     Text File neutron.log.txt     Text File openvswitch_agent.txt    
External issue ID: 2331

 Description   

Hello,
I installed ODL last version from here: http://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.0-Helium/distribution-karaf-0.2.0-Helium.tar.gz

OS: CentOS release 6.6
java: OpenJDK u71-b14 or jdk-1.7.0_71

I installed features:
odl-packetcable-all
odl-nsf-all
odl-ovsdb-all
odl-vtn-manager-all
odl-integration-compatible-with-all
odl-aaa-all
odl-snmp4sdn-all
odl-lispflowmapping-all
odl-sfc-all
odl-bgpcep-all
odl-sfclisp
odl-tcpmd5-all
odl-base-all
odl-ttp-all
odl-snbi-all
odl-l2switch-all
odl-dlux-all
odl-sdninterfaceapp-all
odl-adsal-all

Always components don't have deployed( I tryed to restart many times):

web:list
ID | State | Web-State | Level | Web-ContextPath | Name
---------------------------------------------------------------------------------------------------------------------------------------------
235 | Active | Deployed | 80 | /oauth2 | aaa-authn-sts (0.1.0.Helium)
238 | Active | Deployed | 80 | /auth | aaa-idmlight (0.1.0.Helium)
247 | Active | Deployed | 80 | /oauth2/federation | aaa-authn-federation (0.1.0.Helium)
253 | Active | Deployed | 80 | /restconf | MD SAL Restconf Connector (1.1.0.Helium)
408 | Active | Waiting | 80 | /controller/nb/v2/connectionmanager | connectionmanager.northbound (0.1.2.Helium)
409 | Active | Failed | 80 | /controller/nb/v2/flowprogrammer | flowprogrammer.northbound (0.4.2.Helium)
410 | Active | Failed | 80 | /controller/nb/v2/hosttracker | hosttracker.northbound (0.4.2.Helium)
411 | Active | Failed | 80 | /controller/nb/v2/networkconfig/bridgedomain | networkconfig.bridgedomain.northbound (0.0.3.Helium)
413 | Active | Waiting | 80 | /controller/nb/v2/neutron | networkconfig.neutron.northbound (0.4.2.Helium)
414 | Active | Failed | 80 | /controller/nb/v2/staticroute | forwarding.staticrouting.northbound (0.4.2.Helium)
415 | Active | Failed | 80 | /controller/nb/v2/statistics | statistics.northbound (0.4.2.Helium)
416 | Active | Failed | 80 | /controller/nb/v2/subnetservice | subnets.northbound (0.4.2.Helium)
417 | Active | Failed | 80 | /controller/nb/v2/switchmanager | switchmanager.northbound (0.4.2.Helium)
418 | Active | Failed | 80 | /controller/nb/v2/topology | topology.northbound (0.4.2.Helium)
419 | Active | Failed | 80 | /controller/nb/v2/usermanager | usermanager.northbound (0.0.2.Helium)
420 | Active | Failed | 80 | /lispflowmapping/nb/v2 | LISP Flow Mapping Northbound APIs (1.1.11.Helium)
435 | Active | Deployed | 80 | /apidoc | MD SAL Rest Api Doc Generator (1.1.0.Helium)
445 | Active | Failed | 80 | /ovsdb/nb | OpenDaylight OVSDB Northbound APIs (0.6.0.Helium)
455 | Active | Failed | 80 | /controller/nb/v2/sdni | sdni (0.5.2.Helium)
476 | Active | Failed | 80 | /controller/nb/v2/vtn | manager.northbound (0.2.0.Helium)

There are errors like in log file( Full log file attached ) :

2014-11-06 07:29:37,674 | ERROR | -bio-8080-exec-2 | [JAXRSNeutron] | 363 - org.apache.juli.extras - 7.0.53.v201406060720 | Allocate exception for servlet JAXRSNeutron
java.lang.NoClassDefFoundError: org/eclipse/persistence/jaxb/rs/MOXyJsonProvider
at org.opendaylight.controller.networkconfig.neutron.northbound.NeutronNorthboundRSApplication.getSingletons(NeutronNorthboundRSApplication.java:51)[413:org.opendaylight.controller.networkconfig.neutron.northbound:0.4.2.Helium]
at com.sun.jersey.api.core.ResourceConfig.add(ResourceConfig.java:810)
at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1140)
at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:168)
at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:774)
at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:770)
at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:770)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:765)
at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:489)[223:com.sun.jersey.servlet:1.17.0]
at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:319)[223:com.sun.jersey.servlet:1.17.0]
at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:605)[223:com.sun.jersey.servlet:1.17.0]
at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210)[223:com.sun.jersey.servlet:1.17.0]
at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:374)[223:com.sun.jersey.servlet:1.17.0]
at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:557)[223:com.sun.jersey.servlet:1.17.0]
at javax.servlet.GenericServlet.init(GenericServlet.java:161)[194:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0]
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:312)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)[356:org.apache.catalina:7.0.53.v201406061610]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)[356:org.apache.catalina:7.0.53.v201406061610]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_71]

In openstack, if I am trying to connect this controller from neutron, I have errors like:

2014-11-06 07:24:11.092 22628 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Error while processing VIF ports
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.6/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1335, in rpc_loop
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent ovs_restarted)
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.6/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1151, in process_network_ports
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent devices_added_updated, ovs_restarted)
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.6/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1051, in treat_devices_added_or_updated
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent self.context, device, self.agent_id, cfg.CONF.host)
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.6/site-packages/neutron/agent/rpc.py", line 107, in update_device_up
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent topic=self.topic)
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/proxy.py", line 125, in call
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent result = rpc.call(context, real_topic, msg, timeout)
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/_init_.py", line 112, in call
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent return _get_impl().call(CONF, context, topic, msg, timeout)
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/impl_qpid.py", line 784, in call
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent rpc_amqp.get_connection_pool(conf, Connection))
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 575, in call
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent rv = list(rv)
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 540, in _iter_
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent raise result
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent RemoteError: Remote error: MechanismDriverError update_port_postcommit failed.
2014-11-06 07:24:11.092 22628 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 462, in _process_data\n **args)\n', u' File "/usr/lib/python2.6/site-packages/neutron/common/rpc.py", line 45, in dispatch\n neutron_ctxt, version, method, namespace, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n result = getattr(proxyobj, method)(ctxt, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/neutron/plugins/ml2/rpc.py", line 203, in update_device_up\n q_const.PORT_STATUS_ACTIVE)\n', u' File "/usr/lib/python2.6/site-packages/neutron/plugins/ml2/plugin.py", line 782, in update_port_status\n self.mechanism_manager.update_port_postcommit(mech_context)\n', u' File "/usr/lib/python2.6/site-packages/neutron/plugins/ml2/managers.py", line 397, in update_port_postcommit\n self._call_on_drivers("update_port_postcommit", context)\n', u' File "/usr/lib/python2.6/site-packages/neutron/plugins/ml2/managers.py", line 169, in _call_on_drivers\n method=method_name\n', u'MechanismDriverError: update_port_postcommit failed.\n'].

Please, why features for neutron in ODL doesn't start?



 Comments   
Comment by Oleg [ 06/Nov/14 ]

Attachment log_karaf.tar.gz has been added with description: log files from karaf

Comment by Christopher O'Shea [ 26/Nov/14 ]

Hi Oleg,

First question is why do you have all these feature installed? Cause normally with all these memory install you run into memory issues have to change the max memory from 2048M to 3072M.

Second, i have seen these "failed" come up but the API still work, and this can been seen in CSIT we run on the release. So can you please try and access the API.

The reason i was told for the failed message is due to something cause the way we have package jetty.

Chris

Comment by Oleg [ 05/Dec/14 ]

Attachment neutron.log.txt has been added with description: neutron_server_log_file

Comment by Oleg [ 05/Dec/14 ]

I updated to Helium-SR1 and installed only

feature:install odl-base-all odl-aaa-authn odl-restconf odl-nsf-all odl-adsal-northbound odl-mdsal-apidocs odl-ovsdb-openstack odl-ovsdb-northbound odl-dlux-core

( like as https://wiki.opendaylight.org/view/OVSDB:Helium_and_Openstack_on_Fedora20 )

I tryied set max memory to 3GB or 4GB, it doesn't affect to it.

opendaylight-user@root>web:list
ID | State | Web-State | Level | Web-ContextPath | Name
-------------------------------------------------------------------------------------------------------------------------------------------------
117 | Active | Deployed | 80 | /oauth2 | aaa-authn-sts (0.1.1.Helium-SR1)
120 | Active | Deployed | 80 | /auth | aaa-idmlight (0.1.1.Helium-SR1)
129 | Active | Deployed | 80 | /oauth2/federation | aaa-authn-federation (0.1.1.Helium-SR1)
222 | Active | Deployed | 80 | /restconf | MD SAL Restconf Connector (1.1.1.Helium-SR1)
253 | Active | Deployed | 80 | /apidoc | MD SAL Rest Api Doc Generator (1.1.1.Helium-SR1)
367 | Active | Failed | 80 | /controller/nb/v2/connectionmanager | connectionmanager.northbound (0.1.3.Helium-SR1)
368 | Active | Failed | 80 | /controller/nb/v2/flowprogrammer | flowprogrammer.northbound (0.4.3.Helium-SR1)
369 | Active | Failed | 80 | /controller/nb/v2/hosttracker | hosttracker.northbound (0.4.3.Helium-SR1)
370 | Active | Failed | 80 | /controller/nb/v2/networkconfig/bridgedomain | networkconfig.bridgedomain.northbound (0.0.4.Helium-SR1)
371 | Active | Failed | 80 | /controller/nb/v2/neutron | networkconfig.neutron.northbound (0.4.3.Helium-SR1)
372 | Active | Failed | 80 | /controller/nb/v2/staticroute | forwarding.staticrouting.northbound (0.4.3.Helium-SR1)
373 | Active | Failed | 80 | /controller/nb/v2/statistics | statistics.northbound (0.4.3.Helium-SR1)
374 | Active | Failed | 80 | /controller/nb/v2/subnetservice | subnets.northbound (0.4.3.Helium-SR1)
375 | Active | Failed | 80 | /controller/nb/v2/switchmanager | switchmanager.northbound (0.4.3.Helium-SR1)
376 | Active | Failed | 80 | /controller/nb/v2/topology | topology.northbound (0.4.3.Helium-SR1)
377 | Active | Failed | 80 | /controller/nb/v2/usermanager | usermanager.northbound (0.0.3.Helium-SR1)
378 | Active | Failed | 80 | /ovsdb/nb | OpenDaylight OVSDB Northbound APIs (0.6.1.Helium-SR1)

I changed configuration file of neutron for use opendaylight and reboot neutron-server and neutron-openvswitch-agent

IceHouse Openstack is used.

My log file /var/log/neutron/server.log was attached

Comment by Oleg [ 05/Dec/14 ]

Attachment openvswitch_agent.txt has been added with description: openvswitch_agent_log

Comment by Oleg [ 05/Dec/14 ]

Was added logs if tryied to connect as ovsdb manager. like here - https://openstack.redhat.com/OpenDaylight_integration

Comment by Luis Gomez [ 05/Dec/14 ]

Hi Oleg,

I see you are enabling 2 simultaneous Neutron apps: VTN mgr and OVSB all, can you please try to shutdown one of them . Also if you are interested in using Neutron I would recommend to ask either OVSDB or VTN project what would be the recommended karaf features set and after that you can add any other feature you need.

BR/Luis

Comment by Oleg [ 05/Dec/14 ]

I have new installations with features:

feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core
feature:install odl-ovsdb-all odl-ovsdb-openstack

opendaylight-user@root>feature:list -i
Name | Version | Installed | Repository | Description
------------------------------------------------------------------------------------------------------------------------------------------------------------------
standard | 3.0.1 | x | standard-3.0.1 | Karaf standard feature
config | 3.0.1 | x | standard-3.0.1 | Provide OSGi ConfigAdmin support
package | 3.0.1 | x | standard-3.0.1 | Package commands and mbeans
http | 3.0.1 | x | standard-3.0.1 | Implementation of the OSGI HTTP Service
war | 3.0.1 | x | standard-3.0.1 | Turn Karaf as a full WebContainer
kar | 3.0.1 | x | standard-3.0.1 | Provide KAR (KARaf archive) support
ssh | 3.0.1 | x | standard-3.0.1 | Provide a SSHd server on Karaf
management | 3.0.1 | x | standard-3.0.1 | Provide a JMX MBeanServer and a set of MBeans in K
odl-ovsdb-all | 1.0.1-Helium-SR1 | x | ovsdb-1.0.1-Helium-SR1 | OpenDaylight :: OVSDB :: all
odl-ovsdb-library | 1.0.1-Helium-SR1 | x | ovsdb-1.0.1-Helium-SR1 | OVSDB :: Library
odl-ovsdb-schema-openvswitch | 1.0.1-Helium-SR1 | x | ovsdb-1.0.1-Helium-SR1 | OVSDB :: Schema :: Open_vSwitch
odl-ovsdb-schema-hardwarevtep | 1.0.1-Helium-SR1 | x | ovsdb-1.0.1-Helium-SR1 | OVSDB :: Schema :: hardware_vtep
odl-ovsdb-plugin | 1.0.1-Helium-SR1 | x | ovsdb-1.0.1-Helium-SR1 | OpenDaylight :: OVSDB :: Plugin
odl-ovsdb-northbound | 0.6.1-Helium-SR1 | x | ovsdb-1.0.1-Helium-SR1 | OpenDaylight :: OVSDB :: Northbound
odl-ovsdb-openstack | 1.0.1-Helium-SR1 | x | ovsdb-1.0.1-Helium-SR1 | OpenDaylight :: OVSDB :: OpenStack Network Virtual
odl-openflowjava-protocol | 0.5.1-Helium-SR1 | x | odl-openflowjava-0.5.1-Helium-SR1 | OpenDaylight :: Openflow Java :: Protocol
odl-restconf | 1.1.1-Helium-SR1 | x | odl-controller-1.1.1-Helium-SR1 | OpenDaylight :: Restconf
odl-restconf-noauth | 1.1.1-Helium-SR1 | x | odl-controller-1.1.1-Helium-SR1 | OpenDaylight :: Restconf
odl-mdsal-apidocs | 1.1.1-Helium-SR1 | x | odl-controller-1.1.1-Helium-SR1 | OpenDaylight :: MDSAL :: APIDOCS
odl-l2switch-switch | 0.1.1-Helium-SR1 | x | l2switch-0.1.1-Helium-SR1 | OpenDaylight :: L2Switch :: Switch
odl-l2switch-switch-rest | 0.1.1-Helium-SR1 | x | l2switch-0.1.1-Helium-SR1 | OpenDaylight :: L2Switch :: Switch
odl-l2switch-hosttracker | 0.1.1-Helium-SR1 | x | l2switch-0.1.1-Helium-SR1 | OpenDaylight :: L2Switch :: HostTracker
odl-l2switch-addresstracker | 0.1.1-Helium-SR1 | x | l2switch-0.1.1-Helium-SR1 | OpenDaylight :: L2Switch :: AddressTracker
odl-l2switch-arphandler | 0.1.1-Helium-SR1 | x | l2switch-0.1.1-Helium-SR1 | OpenDaylight :: L2Switch :: ArpHandler
odl-l2switch-loopremover | 0.1.1-Helium-SR1 | x | l2switch-0.1.1-Helium-SR1 | OpenDaylight :: L2Switch :: LoopRemover
odl-l2switch-packethandler | 0.1.1-Helium-SR1 | x | l2switch-0.1.1-Helium-SR1 | OpenDaylight :: L2Switch :: PacketHandler
odl-openflowplugin-southbound | 0.0.4-Helium-SR1 | x | openflowplugin-0.0.4-Helium-SR1 | OpenDaylight :: Openflow Plugin :: SouthBound
odl-openflowplugin-flow-services | 0.0.4-Helium-SR1 | x | openflowplugin-0.0.4-Helium-SR1 | OpenDaylight :: Openflow Plugin :: Flow Services
odl-mdsal-common | 1.1.1-Helium-SR1 | x | odl-config-0.2.6-Helium-SR1 | OpenDaylight :: Config :: All
odl-config-api | 0.2.6-Helium-SR1 | x | odl-config-0.2.6-Helium-SR1 | OpenDaylight :: Config :: API
odl-config-netty-config-api | 0.2.6-Helium-SR1 | x | odl-config-0.2.6-Helium-SR1 | OpenDaylight :: Config :: Netty Config API
odl-config-core | 0.2.6-Helium-SR1 | x | odl-config-0.2.6-Helium-SR1 | OpenDaylight :: Config :: Core
odl-config-manager | 0.2.6-Helium-SR1 | x | odl-config-0.2.6-Helium-SR1 | OpenDaylight :: Config :: Manager
odl-protocol-framework | 0.5.1-Helium-SR1 | x | odl-protocol-framework-0.5.1-Helium-SR1 | OpenDaylight :: Protocol Framework
odl-mdsal-broker | 1.1.1-Helium-SR1 | x | odl-mdsal-1.1.1-Helium-SR1 | OpenDaylight :: MDSAL :: Broker
odl-yangtools-models | 0.6.3-Helium-SR1 | x | odl-yangtools-0.6.3-Helium-SR1 | OpenDaylight :: Yangtools :: Models
odl-yangtools-data-binding | 0.6.3-Helium-SR1 | x | odl-yangtools-0.6.3-Helium-SR1 | OpenDaylight :: Yangtools :: Data Binding
odl-yangtools-binding | 0.6.3-Helium-SR1 | x | odl-yangtools-0.6.3-Helium-SR1 | OpenDaylight :: Yangtools :: Binding
odl-yangtools-common | 0.6.3-Helium-SR1 | x | odl-yangtools-0.6.3-Helium-SR1 | OpenDaylight :: Yangtools :: Common
odl-yangtools-binding-generator | 0.6.3-Helium-SR1 | x | odl-yangtools-0.6.3-Helium-SR1 | OpenDaylight :: Yangtools :: Binding Generator
odl-flow-model | 1.1.1-Helium-SR1 | x | odl-flow-1.1.1-Helium-SR1 | OpenDaylight :: Flow :: Model
odl-flow-services | 1.1.1-Helium-SR1 | x | odl-flow-1.1.1-Helium-SR1 | OpenDaylight :: Flow :: Services
odl-dlux-core | 0.1.1-Helium-SR1 | x | odl-dlux-0.1.1-Helium-SR1 |
odl-openflow-nxm-extensions | 0.0.4-Helium-SR1 | x | ovsdb-0.0.4-Helium-SR1 | OpenDaylight :: Openflow :: Nicira Extensions
odl-netconf-api | 0.2.6-Helium-SR1 | x | odl-netconf-0.2.6-Helium-SR1 | OpenDaylight :: Netconf :: API
odl-netconf-mapping-api | 0.2.6-Helium-SR1 | x | odl-netconf-0.2.6-Helium-SR1 | OpenDaylight :: Netconf :: Mapping API
odl-netconf-util | 0.2.6-Helium-SR1 | x | odl-netconf-0.2.6-Helium-SR1 |
odl-netconf-impl | 0.2.6-Helium-SR1 | x | odl-netconf-0.2.6-Helium-SR1 | OpenDaylight :: Netconf :: Impl
odl-config-netconf-connector | 0.2.6-Helium-SR1 | x | odl-netconf-0.2.6-Helium-SR1 | OpenDaylight :: Netconf :: Connector
odl-netconf-netty-util | 0.2.6-Helium-SR1 | x | odl-netconf-0.2.6-Helium-SR1 | OpenDaylight :: Netconf :: Netty Util
odl-netconf-monitoring | 0.2.6-Helium-SR1 | x | odl-netconf-0.2.6-Helium-SR1 | OpenDaylight :: Netconf :: Monitoring
transaction | 1.0.1 | x | enterprise-3.0.1 | OSGi Transaction Manager
odl-aaa-authn | 0.1.1-Helium-SR1 | x | odl-aaa-0.1.1-Helium-SR1 | OpenDaylight :: AAA :: Authentication
pax-jetty | 8.1.14.v20131031 | x | org.ops4j.pax.web-3.1.0 | Provide Jetty engine support
pax-http | 3.1.0 | x | org.ops4j.pax.web-3.1.0 | Implementation of the OSGI HTTP Service
pax-http-whiteboard | 3.1.0 | x | org.ops4j.pax.web-3.1.0 | Provide HTTP Whiteboard pattern support
pax-war | 3.1.0 | x | org.ops4j.pax.web-3.1.0 | Provide support of a full WebContainer
odl-config-netty | 0.2.6-Helium-SR1 | x | odl-config-persister-0.2.6-Helium-SR1 | OpenDaylight :: Config-Netty
odl-adsal-compatibility | 0.8.2-Helium-SR1 | x | odl-adsal-compatibility-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Compatibility
odl-config-persister | 0.2.6-Helium-SR1 | x | odl-config-persister-0.2.6-Helium-SR1 | OpenDaylight :: Config Persister
odl-config-startup | 0.2.6-Helium-SR1 | x | odl-config-persister-0.2.6-Helium-SR1 | OpenDaylight :: Config Persister:: Config Startup
odl-adsal-all | 0.8.2-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight AD-SAL All Features
odl-adsal-core | 0.8.2-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Core
odl-adsal-networkconfiguration | 0.0.4-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Network Configuration
odl-adsal-connection | 0.1.3-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Connection
odl-adsal-clustering | 0.5.2-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Clustering
odl-adsal-configuration | 0.4.4-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Configuration
odl-adsal-thirdparty | 0.8.2-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Third-Party Depenencies
odl-base-all | 1.4.3-Helium-SR1 | x | odl-base-1.4.3-Helium-SR1 | OpenDaylight Controller
odl-base-dummy-console | 1.1.1-Helium-SR1 | x | odl-base-1.4.3-Helium-SR1 | Temporary Dummy Console
odl-base-felix-dm | 3.1.0 | x | odl-base-1.4.3-Helium-SR1 | Felix Dependency Manager
odl-base-aries-spi-fly | 1.0.0 | x | odl-base-1.4.3-Helium-SR1 | Aries SPI Fly
odl-base-netty | 4.0.23.Final | x | odl-base-1.4.3-Helium-SR1 |
odl-base-jersey | 1.17 | x | odl-base-1.4.3-Helium-SR1 | Jersey
odl-base-jackson | 2.3.2 | x | odl-base-1.4.3-Helium-SR1 | Jackson JAX-RS
odl-base-slf4j | 1.7.2 | x | odl-base-1.4.3-Helium-SR1 | SLF4J Logging
odl-base-apache-commons | 1.4.3-Helium-SR1 | x | odl-base-1.4.3-Helium-SR1 | Apache Commons Libraries
odl-base-eclipselink-persistence | 2.0.4.v201112161009 | x | odl-base-1.4.3-Helium-SR1 | EclipseLink Persistence API
odl-base-gemini-web | 2.2.0.RELEASE | x | odl-base-1.4.3-Helium-SR1 | Gemini Web
odl-base-tomcat | 7.0.53 | x | odl-base-1.4.3-Helium-SR1 | OpenDaylight Tomcat
odl-base-spring | 3.1.3.RELEASE | x | odl-base-1.4.3-Helium-SR1 | Opendaylight Spring Support
odl-base-spring-web | 3.1.3.RELEASE | x | odl-base-1.4.3-Helium-SR1 | OpenDaylight Spring Web
odl-base-spring-security | 3.1.3.RELEASE | x | odl-base-1.4.3-Helium-SR1 | OpenDaylight Spring Security
odl-nsf-all | 0.4.3-Helium-SR1 | x | nsf-0.4.3-Helium-SR1 | OpenDaylight :: NSF :: All Network Service Functio
odl-nsf-managers | 0.4.3-Helium-SR1 | x | nsf-0.4.3-Helium-SR1 | OpenDaylight :: AD-SAL :: Network Service Function
odl-adsal-northbound | 0.4.3-Helium-SR1 | x | nsf-0.4.3-Helium-SR1 | OpenDaylight :: AD-SAL :: Northbound APIs

Please, which applications should I disable?

Comment by Luis Gomez [ 05/Dec/14 ]

Actually I am trying this combination:

feature:install odl-base-all odl-aaa-authn odl-restconf odl-nsf-all odl-adsal-northbound odl-mdsal-apidocs odl-ovsdb-openstack odl-ovsdb-northbound odl-dlux-core

And I also see Neutron down:

opendaylight-user@root>bundle:list | grep neutron
322 | Active | 80 | 0.4.4.SNAPSHOT | networkconfig.neutron
323 | Active | 80 | 0.4.4.SNAPSHOT | networkconfig.neutron.implementation
337 | Active | 80 | 0.4.4.SNAPSHOT | networkconfig.neutron.northbound

Chris, which combination are you using in the community lab?

Comment by Luis Gomez [ 05/Dec/14 ]

Actually it is Active so it is working, Oleg you do not see the neutron bundles Active?

Comment by Oleg [ 08/Dec/14 ]

opendaylight-user@root>bundle:list |grep neutron
357 | Active | 80 | 0.4.3.Helium-SR1 | networkconfig.neutron
358 | Active | 80 | 0.4.3.Helium-SR1 | networkconfig.neutron.implementation
371 | Active | 80 | 0.4.3.Helium-SR1 | networkconfig.neutron.northbound

opendaylight-user@root>web:list |grep neutron
371 | Active | Failed | 80 | /controller/nb/v2/neutron | networkconfig.neutron.northbound (0.4.3.Helium-SR1)

Comment by Oleg [ 08/Dec/14 ]

opendaylight-user@root>bundle:list |grep -i ovsdb
326 | Active | 80 | 1.0.1.Helium-SR1 | OVSDB Library
338 | Active | 80 | 1.0.1.Helium-SR1 | OVSDB Open_vSwitch Schema
339 | Active | 80 | 1.0.1.Helium-SR1 | OVSDB hardware_vtep Schema
340 | Active | 80 | 1.0.1.Helium-SR1 | OpenDaylight OVSDB Plugin
341 | Active | 80 | 1.0.1.Helium-SR1 | OpenDaylight OVSDB Plugin Shell
378 | Active | 80 | 0.6.1.Helium-SR1 | OpenDaylight OVSDB Northbound APIs

opendaylight-user@root>web:list |grep -i ovsdb
378 | Active | Failed | 80 | /ovsdb/nb | OpenDaylight OVSDB Northbound APIs (0.6.1.Helium-SR1)

I tryed to stop OVSDB and run only neutron, and stop neutron and OVSDB.
It were for neutron Infinetely "waiting" for neutron, and "undeployed" for ovsdb.

Periodically I got this error in the karaf.log:

2014-12-08 19:43:25,649 | ERROR | Local user karaf | RegisterWebAppVisitorWC | 96 - org.ops4j.pax.web.pax-web-extender-war - 3.1.0 | Registration exception. Skipping
java.lang.IllegalArgumentException: Security Mapping [NB api] is already registered.
at org.ops4j.pax.web.service.spi.model.ServiceModel.addSecurityConstraintMappingModel(ServiceModel.java:330)
at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerConstraintMapping(HttpServiceStarted.java:929)
at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerConstraintMapping(HttpServiceProxy.java:356)
at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:329)
at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:669)
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.register(WebAppPublisher.java:237)
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:182)
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:135)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf-org.osgi.core.jar:]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)[karaf-org.osgi.core.jar:]
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf-org.osgi.core.jar:]
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf-org.osgi.core.jar:]
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf-org.osgi.core.jar:]
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf-org.osgi.core.jar:]
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:101)
at org.ops4j.pax.web.extender.war.internal.WebObserver.undeploy(WebObserver.java:257)
at org.ops4j.pax.web.extender.war.internal.WebObserver.stop(WebObserver.java:301)
at Proxyc029a230_42de_4c15_bda1_5c0cec4c4feb.stop(Unknown Source)
at org.apache.karaf.web.internal.WebContainerServiceImpl.stop(WebContainerServiceImpl.java:131)
at Proxyd86d29da_365d_4851_a785_afe93b78dcfe.stop(Unknown Source)
at Proxy95579d4e_8d86_4d30_8595_5dfc7a7c7211.stop(Unknown Source)
at org.apache.karaf.web.commands.Stop.doExecute(Stop.java:43)
at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_71]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_71]
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at org.apache.karaf.shell.console.commands.$BlueprintCommand849649959.execute(Unknown Source)[37:org.apache.karaf.shell.console:3.0.1]
at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_71]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_71]
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at org.apache.karaf.shell.console.commands.$BlueprintCommand849649959.execute(Unknown Source)[37:org.apache.karaf.shell.console:3.0.1]
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[37:org.apache.karaf.shell.console:3.0.1]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[37:org.apache.karaf.shell.console:3.0.1]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[37:org.apache.karaf.shell.console:3.0.1]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[37:org.apache.karaf.shell.console:3.0.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[37:org.apache.karaf.shell.console:3.0.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[37:org.apache.karaf.shell.console:3.0.1]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.karaf.shell.console.impl.jline.ConsoleImpl$DelegateSession.execute(ConsoleImpl.java:521)
at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:212)
at java.lang.Thread.run(Thread.java:745)[:1.7.0_71]
at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:126)[37:org.apache.karaf.shell.console:3.0.1]
at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3$1.run(ConsoleFactoryService.java:117)
at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_71]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[38:org.apache.karaf.jaas.modules:3.0.1]
at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.run(ConsoleFactoryService.java:115)[37:org.apache.karaf.shell.console:3.0.1]

Comment by Christopher O'Shea [ 08/Dec/14 ]

Hi Oleg,

As i have said from my 2nd comment these "failed" are cosmetic bugs, IE the system report failed but the system/API is working fine.

[odluser@controller1 ~]$ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@localhost
Warning: Permanently added '[localhost]:8101' (DSA) to the list of known hosts.
Authenticated with partial success.
Authenticated with partial success.
Password authentication
Password:

________ ________ .__ .__ .__ __
_____ \ ______ ____ ____ ______ \ _____ __..| | || ____ | |_/ |
/ |
____ _/ __ \ / \ | |
__ \< | || | | |/ ___| | \ __\
/ | \ |> > ___/| | | ` \/ __
___ || |
| / /_/ > Y \ |
_______ / _/ __ >__| /______ (____ / ___||__/__ /|__| /_|
\/|_| \/ \/ \/ \/\/ /____/ \/

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.

opendaylight-user@root>web:list
ID | State | Web-State | Level | Web-ContextPath | Name
-----------------------------------------------------------------------------------------------------------------------------------------------
318 | Active | Failed | 80 | /controller/nb/v2/connectionmanager | connectionmanager.northbound (0.2.0.SNAPSHOT)
319 | Active | Failed | 80 | /controller/nb/v2/flowprogrammer | flowprogrammer.northbound (0.5.0.SNAPSHOT)
320 | Active | Failed | 80 | /controller/nb/v2/hosttracker | hosttracker.northbound (0.5.0.SNAPSHOT)
321 | Active | Failed | 80 | /controller/nb/v2/networkconfig/bridgedomain | networkconfig.bridgedomain.northbound (0.1.0.SNAPSHOT)
322 | Active | Failed | 80 | /controller/nb/v2/neutron | networkconfig.neutron.northbound (0.5.0.SNAPSHOT)
323 | Active | Failed | 80 | /controller/nb/v2/staticroute | forwarding.staticrouting.northbound (0.5.0.SNAPSHOT)
324 | Active | Failed | 80 | /controller/nb/v2/statistics | statistics.northbound (0.5.0.SNAPSHOT)
325 | Active | Failed | 80 | /controller/nb/v2/subnetservice | subnets.northbound (0.5.0.SNAPSHOT)
326 | Active | Failed | 80 | /controller/nb/v2/switchmanager | switchmanager.northbound (0.5.0.SNAPSHOT)
327 | Active | Failed | 80 | /controller/nb/v2/topology | topology.northbound (0.5.0.SNAPSHOT)
328 | Active | Failed | 80 | /controller/nb/v2/usermanager | usermanager.northbound (0.1.0.SNAPSHOT)
359 | Active | Deployed | 80 | /oauth2 | aaa-authn-sts (0.2.0.SNAPSHOT)
362 | Active | Deployed | 80 | /auth | aaa-idmlight (0.2.0.SNAPSHOT)
371 | Active | Deployed | 80 | /oauth2/federation | aaa-authn-federation (0.2.0.SNAPSHOT)
375 | Active | Deployed | 80 | /restconf | MD SAL Restconf Connector (1.2.0.SNAPSHOT)
opendaylight-user@root>shell:logout
Connection to localhost closed.
[odluser@controller1 ~]$ curl -u admin:admin http://127.0.0.1:8080/controller/nb/v2/neutron/networks
{
"networks" : [ ]
}

This is output of my node, the API report as failed but they still work.

Check there is no firewall enable on the OpenDaylight system also have a look at the web log file found in log/web_access_log_2014-*.txt

Comment by Oleg [ 10/Dec/14 ]

opendaylight-user@root>web:list
ID | State | Web-State | Level | Web-ContextPath | Name
-------------------------------------------------------------------------------------------------------------------------------------------------
117 | Active | Deployed | 80 | /oauth2 | aaa-authn-sts (0.1.1.Helium-SR1)
120 | Active | Deployed | 80 | /auth | aaa-idmlight (0.1.1.Helium-SR1)
129 | Active | Deployed | 80 | /oauth2/federation | aaa-authn-federation (0.1.1.Helium-SR1)
222 | Active | Deployed | 80 | /restconf | MD SAL Restconf Connector (1.1.1.Helium-SR1)
253 | Active | Deployed | 80 | /apidoc | MD SAL Rest Api Doc Generator (1.1.1.Helium-SR1)
367 | Active | Failed | 80 | /controller/nb/v2/connectionmanager | connectionmanager.northbound (0.1.3.Helium-SR1)
368 | Active | Failed | 80 | /controller/nb/v2/flowprogrammer | flowprogrammer.northbound (0.4.3.Helium-SR1)
369 | Active | Failed | 80 | /controller/nb/v2/hosttracker | hosttracker.northbound (0.4.3.Helium-SR1)
370 | Active | Failed | 80 | /controller/nb/v2/networkconfig/bridgedomain | networkconfig.bridgedomain.northbound (0.0.4.Helium-SR1)
371 | Active | Failed | 80 | /controller/nb/v2/neutron | networkconfig.neutron.northbound (0.4.3.Helium-SR1)
372 | Active | Failed | 80 | /controller/nb/v2/staticroute | forwarding.staticrouting.northbound (0.4.3.Helium-SR1)
373 | Active | Failed | 80 | /controller/nb/v2/statistics | statistics.northbound (0.4.3.Helium-SR1)
374 | Active | Failed | 80 | /controller/nb/v2/subnetservice | subnets.northbound (0.4.3.Helium-SR1)
375 | Active | Failed | 80 | /controller/nb/v2/switchmanager | switchmanager.northbound (0.4.3.Helium-SR1)
376 | Active | Failed | 80 | /controller/nb/v2/topology | topology.northbound (0.4.3.Helium-SR1)
377 | Active | Failed | 80 | /controller/nb/v2/usermanager | usermanager.northbound (0.0.3.Helium-SR1)
378 | Active | Failed | 80 | /ovsdb/nb | OpenDaylight OVSDB Northbound APIs (0.6.1.Helium-SR1)

opendaylight-user@root>bundle:list |grep -i neutron
357 | Active | 80 | 0.4.3.Helium-SR1 | networkconfig.neutron
358 | Active | 80 | 0.4.3.Helium-SR1 | networkconfig.neutron.implementation
371 | Active | 80 | 0.4.3.Helium-SR1 | networkconfig.neutron.northbound

opendaylight-user@root>bundle:list |grep -i ovsdb
326 | Active | 80 | 1.0.1.Helium-SR1 | OVSDB Library
338 | Active | 80 | 1.0.1.Helium-SR1 | OVSDB Open_vSwitch Schema
339 | Active | 80 | 1.0.1.Helium-SR1 | OVSDB hardware_vtep Schema
340 | Active | 80 | 1.0.1.Helium-SR1 | OpenDaylight OVSDB Plugin
341 | Active | 80 | 1.0.1.Helium-SR1 | OpenDaylight OVSDB Plugin Shell
378 | Active | 80 | 0.6.1.Helium-SR1 | OpenDaylight OVSDB Northbound APIs

user@odl:~/two$ curl -u admin:admin http://$IP_ODL:8080/controller/nb/v2/neutron
<html><head><title>Apache Tomcat/7.0.53 - Error report</title><style><!--H1

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}

H2

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}

H3

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}

BODY

{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}

B

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}

P

{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}

A

{color : black;}

A.name

{color : black;}

HR

{color : #525D76;}

--></style> </head><body><h1>HTTP Status 404 - Not Found</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Not Found</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.53</h3></body></html>

user@odl:~/two$ curl -u admin:admin http://$IP_ODL:8080/controller/nb/v2/neutron/network
<html><head><title>Apache Tomcat/7.0.53 - Error report</title><style><!--H1

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}

H2

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}

H3

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}

BODY

{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}

B

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}

P

{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}

A

{color : black;}

A.name

{color : black;}

HR

{color : #525D76;}

--></style> </head><body><h1>HTTP Status 404 - Not Found</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Not Found</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.53</h3></body></html>

What do I wrong? What should I try ?

There are some errors in karaf.log

cat karaf.log |grep -v WARN |grep -v INFO
java.lang.Exception: rpcError:Channel disconnected;
at org.opendaylight.openflowplugin.openflow.md.core.RpcUtil.smokeRpc(RpcUtil.java:34)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeManagerImpl.postHandshake(HandshakeManagerImpl.java:320)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeManagerImpl.handleVersionBitmapNegotiation(HandshakeManagerImpl.java:184)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeManagerImpl.shake(HandshakeManagerImpl.java:111)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeStepWrapper.run(HandshakeStepWrapper.java:47)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_71]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_71]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_71]
2014-12-10 12:37:16,330 | ERROR | FHandshake-671-0 | ErrorHandlerSimpleImpl | 233 - org.opendaylight.openflowplugin - 0.0.4.Helium-SR1 | exception -> rpcError:Channel disconnected;, session -> null
java.lang.Exception: rpcError:Channel disconnected;
at org.opendaylight.openflowplugin.openflow.md.core.RpcUtil.smokeRpc(RpcUtil.java:34)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeManagerImpl.postHandshake(HandshakeManagerImpl.java:320)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeManagerImpl.handleVersionBitmapNegotiation(HandshakeManagerImpl.java:184)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeManagerImpl.shake(HandshakeManagerImpl.java:111)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeStepWrapper.run(HandshakeStepWrapper.java:47)[233:org.opendaylight.openflowplugin:0.0.4.Helium-SR1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_71]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_71]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_71]

Comment by Oleg [ 14/Jan/15 ]

There are more cosmetic bugs, for example:

opendaylight-user@root>info
Karaf
Karaf version 3.0.1
Karaf home /opt/distribution-karaf-0.3.0-SNAPSHOT
Karaf base /opt/distribution-karaf-0.3.0-SNAPSHOT
Karaf etc /opt/distribution-karaf-0.3.0-SNAPSHOT/etc
OSGi Framework org.eclipse.osgi - 3.8.2.v20130124-134944

JVM
Java Virtual Machine Java HotSpot(TM) 64-Bit Server VM version 24.71-b01
Version 1.7.0_71
Vendor Oracle Corporation
Pid 2276
Uptime 4 hours 18 minutes
Total compile time 1 minute
Threads
Live threads 189
Daemon threads 166
Peak 193
Total started 413
Memory
Current heap size 68,034 kbytes
Maximum heap size 2,027,264 kbytes
Committed heap size 210,948 kbytes
Pending objects 0
Garbage collector Name = 'Copy', Collections = 308, Time = 3.136 seconds
Garbage collector Name = 'MarkSweepCompact', Collections = 17, Time = 4.120 seconds
Classes
Current classes loaded 13,177
Total classes loaded 13,619
Total classes unloaded 442
Operating system
Name Linux version 3.10.0-123.el7.x86_64
Architecture amd64
Processors 1
opendaylight-user@root>web:list
ID | State | Web-State | Level | Web-ContextPath | Name
-----------------------------------------------------------------------------------------------------------------------------------------------
200 | Active | Deployed | 80 | /oauth2 | aaa-authn-sts (0.2.0.SNAPSHOT)
203 | Active | Deployed | 80 | /auth | aaa-idmlight (0.2.0.SNAPSHOT)
206 | Active | Deployed | 80 | /oauth2/federation | aaa-authn-federation (0.2.0.SNAPSHOT)
291 | Active | Deployed | 80 | /restconf | MD SAL Restconf Connector (1.2.0.SNAPSHOT)
329 | Active | Failed | 80 | /controller/nb/v2/connectionmanager | connectionmanager.northbound (0.2.0.SNAPSHOT)
330 | Active | Failed | 80 | /controller/nb/v2/flowprogrammer | flowprogrammer.northbound (0.5.0.SNAPSHOT)
331 | Active | Failed | 80 | /controller/nb/v2/hosttracker | hosttracker.northbound (0.5.0.SNAPSHOT)
332 | Active | Failed | 80 | /controller/nb/v2/networkconfig/bridgedomain | networkconfig.bridgedomain.northbound (0.1.0.SNAPSHOT)
333 | Active | Failed | 80 | /controller/nb/v2/neutron | networkconfig.neutron.northbound (0.5.0.SNAPSHOT)
334 | Active | Failed | 80 | /controller/nb/v2/staticroute | forwarding.staticrouting.northbound (0.5.0.SNAPSHOT)
335 | Active | Failed | 80 | /controller/nb/v2/statistics | statistics.northbound (0.5.0.SNAPSHOT)
336 | Active | Failed | 80 | /controller/nb/v2/subnetservice | subnets.northbound (0.5.0.SNAPSHOT)
337 | Active | Failed | 80 | /controller/nb/v2/switchmanager | switchmanager.northbound (0.5.0.SNAPSHOT)
338 | Active | Failed | 80 | /controller/nb/v2/topology | topology.northbound (0.5.0.SNAPSHOT)
339 | Active | Failed | 80 | /controller/nb/v2/usermanager | usermanager.northbound (0.1.0.SNAPSHOT)
340 | Active | Deployed | 80 | /apidoc | MD SAL Rest Api Doc Generator (1.2.0.SNAPSHOT)
346 | Active | Failed | 80 | /ovsdb/nb | OpenDaylight OVSDB Northbound APIs (0.7.0.SNAPSHOT)

But APIs work

Comment by Ryan Moats [ 17/Feb/15 ]

Moving from current project to neutron

Generated at Wed Feb 07 20:25:19 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.