[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 |
||
| Attachments: |
|
| External issue ID: | 2331 |
| Description |
|
Hello, OS: CentOS release 6.6 I installed features: Always components don't have deployed( I tryed to restart many times): web:list 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 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 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 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 opendaylight-user@root>feature:list -i 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 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 opendaylight-user@root>web:list |grep neutron |
| Comment by Oleg [ 08/Dec/14 ] |
|
opendaylight-user@root>bundle:list |grep -i ovsdb opendaylight-user@root>web:list |grep -i ovsdb I tryed to stop OVSDB and run only neutron, and stop neutron and 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 |
| 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 ________ ________ .__ .__ .__ __ Hit '<tab>' for a list of available commands opendaylight-user@root>web:list 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 opendaylight-user@root>bundle:list |grep -i neutron opendaylight-user@root>bundle:list |grep -i ovsdb user@odl:~/two$ curl -u admin:admin http://$IP_ODL:8080/controller/nb/v2/neutron 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 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 |
| Comment by Oleg [ 14/Jan/15 ] |
|
There are more cosmetic bugs, for example: opendaylight-user@root>info JVM But APIs work |
| Comment by Ryan Moats [ 17/Feb/15 ] |
|
Moving from current project to neutron |