NCMount Cannot be Installed on ODL

asked 2017-06-09 09:51:29 -0700

Cheng Ian Liu gravatar image

updated 2017-06-09 09:52:03 -0700

Hi All,

I am trying to follow the NCMount APP to understand how Netconf Connector works. Here is the tutorial link: Netconf_Mount CoreTutorial.

Currently I am able to build NCMount App by itself. However when I try to install it onto ODL, I have some issues.

For your reference, below are the instructions on the tutorial to install NCMount to a generic ODL distribution.

If you work with a generic distribution, you have to install the pre-requisite features:

Start karaf:


Once karaf starts, add coretutorials repository:

repo-add mvn:org.opendaylight.coretutorials/ncmount-features/1.1.0-SNAPSHOT/xml/features

Note: It might be necessary to pull the coretutorials code ( ) and build it using maven (cd coretutorials; mvn clean install)

Install features for restconf, netconf connector(southbound), netconf northbound for config, netconf northbound for MD-SAL, ncmount(netconf coretutorial) ... and all their dependencies:

feature:install odl-restconf-all odl-netconf-mdsal odl-ncmount odl-netconf-connector-all

Here is the error I got when I try to run the repo-add command:

opendaylight-user@root>repo-add mvn:org.opendaylight.coretutorials/ncmount-features/1.2.0-SNAPSHOT/xml/features

Adding feature url mvn:org.opendaylight.coretutorials/ncmount-features/1.2.0-SNAPSHOT/xml/features

Error executing command: Error resolving artifact org.opendaylight.coretutorials:ncmount-features:xml:features:1.2.0-SNAPSHOT: Could not find artifact org.opendaylight.coretutorials:ncmount-features:xml:features:1.2.0-SNAPSHOT in defaultlocal (file:/Users/chengliu/ODL/distribution-karaf-0.6.0-Carbon/system/)

Notice that since my built NCMount shows 1.2.0-SNAPSHOT in the target folder, therefore I replaced 1.1.0-SNAPSHOT with 1.2.0-SNAPSHOT in tutorial example.

Here is my environment setup:

  1. NCMount branch: current Master Branch on ODL CoreTutorial github ( )
  2. ODL distribution: current Carbon release

I noticed some previous posts mentioned version mismatch (ODL vs. NCMount) might be the issue, but not really sure whether that's the case and how to solve it.

Your help is very appreciated!

Cheng (Ian) Liu

edit retag flag offensive close merge delete