Ask Your Question
0

Helium distro: Error executing command: No feature named 'transaction' with version '0.0.0' available

asked 2014-10-27 05:12:11 -0700

chandralekha gravatar image

updated 2014-10-27 05:15:21 -0700

I downloaded the distribution-karaf-0.2.0-Helium.zip and unzipped it to run ./bin/karaf and am getting some error while installing some features.

opendaylight-user@root>feature:install odl-ovsdb-openstack odl-ovsdb-northbound odl-restconf odl-mdsal-apidocs odl-adsal-all odl-adsal-northbound odl-dlux-core Error executing command: No feature named 'transaction' with version '0.0.0' available

While debugging :

opendaylight-user@root>feature:info odl-adsal-clustering
Feature odl-adsal-clustering 0.5.1-Helium
Description:
  OpenDaylight :: AD-SAL :: Clustering
Feature has no configuration
Feature has no configuration files
Feature depends on:
  transaction 0.0.0
  odl-base-felix-dm 0.0.0
  odl-base-eclipselink-persistence 0.0.0
  odl-adsal-core 0.8.1-Helium
Feature contains followed bundles:
  mvn:org.opendaylight.controller/clustering.services/0.5.1-Helium
  mvn:org.opendaylight.controller/clustering.services-implementation/0.4.3-Helium
Feature has no conditionals.

which means adsal is depending on transaction feature.

Ubuntu version: 14.04 Java version: 1.7

I had this worst work around: performed "mvn clean install" to controller source code. The issue was gone for pre-built package.

I need a better solution. Any idea how to resolve this issue?

Thanks, Chandralekha

edit retag flag offensive close merge delete

Comments

Hi Chandralekha, I am running into the same issue. Can you explain your workaround? I do not have ODL source on this machine. I just have the distribution-karaf-0.2.0-Helium downloaded. This is a Fedora 20 machine. What can I do to workaround this issue? Thanks

snmishra ( 2014-11-05 08:08:03 -0700 )edit

Did you guys manage to figure this one out?

davejohnston ( 2014-12-18 12:27:31 -0700 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2014-12-19 12:22:03 -0700

mgkwill gravatar image

This is likely a proxy issue or some sort of corrupted local maven repository. Try the following steps.

Maven Settings

Check that maven is installed and your settings.xml file for maven at /usr/share/maven/conf/settings.xml is configured correctly (double check proxy settings, nexus repository settings etc). Edit etc files for karaf to point to shared maven config:

cd /home/<user>/distribution-karaf-<version>-<release>/etc

Edit org.ops4j.pax.url.mvn.cfg and add

org.ops4j.pax.url.mvn.settings=/usr/share/maven/conf/settings.xml

Proxy

Add proxy setting below only if you are using a proxy

org.ops4j.pax.url.mvn.proxySupport=true

Delete Local Maven Repository and Karaf Data contents

Remove the repository folder in your .m2 directory:

rm -rf ~/.m2/repository

Remove the data folder content:

rm -rf <karaf-distro>/data/*

Karaf uses maven to download dependencies at run-time, if there are conflicts in the maven repository or a proxy is blocking maven from downloading dependencies you will experience this issue.

edit flag offensive delete publish link more
0

answered 2015-03-04 03:17:58 -0700

chandralekha gravatar image

updated 2015-03-11 22:25:39 -0700

Perform mvn clean install for both controller source code and integration code. This resolved the issues. I have tried this in several PCs and this solution works well. Reported bug https://bugs.opendaylight.org/show_bug.cgi?id=2257

edit flag offensive delete publish link more
0

answered 2015-05-04 13:37:21 -0700

lmcdasm gravatar image

Hello.

I ran into this issue today using a pre-built binary downloaded from the site and while I can certainly implement this fix with a node that is connected to the internet, what is the method to correct this when im in a production environment and there is no access to public repos? Any way to work around that?

Cheers, Daniel

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2014-10-27 05:12:11 -0700

Seen: 7,842 times

Last updated: May 04 '15