[CONTROLLER-687] Error when installing netconf feature targets on ODL-Karaf Created: 13/Aug/14 Updated: 25/Jul/23 Resolved: 20/Oct/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jamie Goodyear | Assignee: | Maros Marsalek |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| External issue ID: | 1542 |
| Description |
|
Install netconf feature to ODL-Karaf: feature:repo-add mvn:org.opendaylight.controller/netconf-features/0.2.5-SNAPSHOT/xml/features Install feature target: opendaylight-user@root>feature:install odl-netconf-api Note: I've built controller project locally, so my m2 repo should be fully populated. The feature file name is "netconf-features" yet the target appears to be looking for "features-netconf" - this needs to be investigated. |
| Comments |
| Comment by Maros Marsalek [ 08/Sep/14 ] |
|
Unable to reproduce: 1. Latest ODL controller code Error executing command: Error resolving artifact org.opendaylight.controller:netconf-features:xml:features:0.2.5-SNAPSHOT: Could not find artifact org.opendaylight.controller:netconf-features:xml:features:0.2.5-SNAPSHOT in defaultlocal (file:/home/mmarsale/.m2/repository/) The features for netconf are called features-netconf and installing those works fine. Tested on ubuntu, can you verify with latest code ? |
| Comment by Jamie Goodyear [ 09/Sep/14 ] |
|
I tried the new feature target name, and could install the repo. I tried to install the target odl-netconf-all and got the following: opendaylight-user@root>feature:install odl-netconf-all |
| Comment by Maros Marsalek [ 10/Sep/14 ] |
|
I see. After recent change to features, the netconf-tcp feature was moved from features-netconf into features-netconf-connector repo. However, it was still referenced in the netconf-all feature from features-netconf. Fix: Now when I run karaf: You should then see similar log(log:tail): 2014-09-10 09:54:39,541 | INFO | ssing-executor-3 | NetconfDevice | 203 - org.opendaylight.controller.sal-netconf-connector - 1.1.0.SNAPSHOT | RemoteDevice {controller-config}: Netconf connector initialized successfully Which means that the netconf server along with netconf connector (with loopback netconf connection) were initialized successfully. |
| Comment by Carol Sanders [ 24/Sep/14 ] |
|
I downloaded the latest karaf bundle today and was not able to install feature odl-netconf-connector-all Here's what and how I did. Steps: 100%[=========================================================================================================================================================================================>] 230,918,549 2.22MB/s in 2m 35s 2014-09-23 18:47:30 (1.42 MB/s) - ‘distribution-karaf-0.2.0-SNAPSHOT.zip’ saved [230918549/230918549] 2. Unzipped file 3. Started the controller carolsand@devstack-R210-II:~/distribution-karaf-0.2.0-SNAPSHOT$ bin/karaf ________ ________ .__ .__ .__ __ Hit '<tab>' for a list of available commands 4.Attempted to install netconf feature opendaylight-user@root>feature:install odl-netconf-connector-all Is there a feature dependency needed before installing netconf-connector-all? |
| Comment by Maros Marsalek [ 24/Sep/14 ] |
|
(In reply to Carol Sanders from comment #4) Hello Carol, I have tried to test this by performing all the steps on my machine, but I didnt see the issue, the feature started as expected. So could you please attach the logs from karaf ? (You can view them using log:display or log:tail in karaf) And also information about your environment: OS, Java version? Thanks |