cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Pretorious <pdxpi....@gmail.com>
Subject Apache-Cloudstack 4.11.2.0, Maven Error: java.lang.UnsatisfiedLinkError (com/sun/jna/linux-aarch64/libjnidispatch.so not found)
Date Thu, 23 May 2019 04:31:00 GMT
I'm attempting to build/install Cloudstack 4.11.2.0 on a Pine64 Rock64
<https://wiki.pine64.org/index.php/ROCK64_Main_Page> running Armbian
5.75 - *This
time* Ubuntu-18.04 [Bionic Beaver]...

root@rock64:/usr/local/src/apache-cloudstack-4.11.2.0-src# lsb_release -a
Distributor ID: Ubuntu
Description:    *Ubuntu 18.04.2* LTS
Release:        *18.04*
Codename:       *bionic*


...using the instructions that are available on the Apache Cloudstack
Documentation page
<http://docs.cloudstack.apache.org/en/latest/installguide/buil>. But when I
get to the "Building DEB packages
<http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-deb-packages>"
section and
I execute the command...

root@rock64:/usr/local/src/apache-cloudstack-4.11.2.0-src# mvn -P deps


...the command fails (after 38 minutes on execution time). I found this
test report:

root@rock64:/usr/local/src/apache-cloudstack-4.11.2.0-
src/plugins/hypervisors/kvm/target/surefire-reports# cat
*com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.txt*
-------------------------------------------------------------------------------
Test set: com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest
-------------------------------------------------------------------------------
Tests run: 152, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.094 sec
<<< FAILURE! - in
com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest
testMemoryFreeInKBsDomainReturningOfSomeMemoryStatistics(com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest)
 Time elapsed: 0.072 sec  <<< ERROR!
java.lang.UnsatisfiedLinkError: Native library
(com/sun/jna/linux-aarch64/libjnidispatch.so) not found in resource path
([file:/usr/local/src/apache-cloudstack-4.11.2.0-src/plugins/hypervisors/kvm/target/surefire/surefirebooter1769709325062728267.jar])
at
com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:776)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736)
at com.sun.jna.Native.<clinit>(Native.java:131)
at com.sun.jna.Pointer.<clinit>(Pointer.java:42)
at com.sun.jna.Structure.<clinit>(Structure.java:1933)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.createMemoryStatisticFreeMemory100(LibvirtComputingResourceTest.java:5147)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.testMemoryFreeInKBsDomainReturningOfSomeMemoryStatistics(LibvirtComputingResourceTest.java:5129)


*I'm only planning on managing a cluster of XenServer hosts* (i.e., A
XenServer resource pool). *Can I skip the other hypervisor plugins?* e.g.,

   - Hypervisor KVM
   - Hypervisor Baremetal
   - Hypervisor UCS
   - Hypervisor Hyper-V
   - Hypervisor OracleVM3

How would I do *that*?

TIA,
Eric Pretorious,
Portland, Oregon

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message