Ask Your Question
0

Lithium RC2 feature install error on ARMv8 platform

asked 2015-06-26 05:34:50 -0700

fldu gravatar image

updated 2015-06-26 05:36:16 -0700

Hi everyone,

I am working to integrate Lithium RC2 from here:

https://nexus.opendaylight.org/content/repositories/automatedweeklyreleases-1074/org/opendaylight/integration/distribution-karaf/0.3.0-Lithium/distribution-karaf-0.3.0-Lithium.tar.gz

with Openstack Juno on an ARMv8 server.

Previously I had successfully integrated Helium SR2 with Openstack Juno on the same platform.

With Lithium I am now trying to follow the same steps, installing the required features:

opendaylight-user@root>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

But I am getting an error when "odl-aaa-auth" is installed:

Error executing command: Can't
install feature odl-aaa-authn/0.0.0:
Could not start bundle
mvn:org.fusesource.leveldbjni/leveldbjni-all/1.8
in feature(s) odl-akka-leveldb-0.7:
The bundle
"org.fusesource.leveldbjni.leveldbjni-all_1.8.0
[282]" could not be resolved.
Reason: No match found for native
code:
META-INF/native/windows32/leveldbjni.dll;
processor=x86; osname=Win32,
META-INF/native/windows64/leveldbjni.dll;
processor=x86-64; osname=Win32,
META-INF/native/osx/libleveldbjni.jnilib;
processor=x86; osname=macosx,
META-INF/native/osx/libleveldbjni.jnilib;
processor=x86-64; osname=macosx,
META-INF/native/linux32/libleveldbjni.so;
processor=x86; osname=Linux,
META-INF/native/linux64/libleveldbjni.so;
processor=x86-64; osname=Linux

I have tried to install the same Lithium distribution on an Intel machine and it worked, all features were installed successfully. So I am guessing it's related to the ARM architecture. However the same "libleveldbjni" (1.8.0) bundle was installed successfully on the ARM server when using Helium SR2.

I am quite new to Karaf and Maven, so I am not sure where to look for troubleshooting this. Any help or hint to look in the right direction would be highly appreciated.

Thank you !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-09 01:30:53 -0700

jsmoeller gravatar image

The message means there is no native ARMv8 build of the libleveldbjni in the maven repositories available.

IIRC it is possible to build leveldbjni for armv8 - but I don't know how to inject the dependency.

Tracking as bug https://bugs.opendaylight.org/show_bug.cgi?id=3973 .

edit flag offensive delete publish link more

Comments

Thank you @jsmoeller for tracking this and pointing to the Fedora armv8 build. I'll try to inject the dependency into my copy of Lithium. Will update if successful. Cheers !

fldu ( 2015-07-10 07:44:15 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2015-06-26 05:34:50 -0700

Seen: 531 times

Last updated: Jul 09 '15