Eric, if you are sucessful in your interesting project - please consider a blog post somewhere (and share here on ML) - it always helps the community.
Cheers Andrija On Fri, 24 May 2019 at 03:11, Eric Pretorious <[email protected]> wrote: > Thank you, Rohit: > > Commenting-out the portions of XML related to the different hypervisor > plugins was exactly what was needed! > > Eric Pretorious, > Portland, Oregon > > On Thu, May 23, 2019 at 12:27 AM Rohit Yadav <[email protected]> > wrote: > > > Eric, > > > > > > We don't have flags to disable list of hypervisors but you can remove kvm > > and other hypervisor plugins from plugins/pom.xml and client/pom.xml and > > retry building. > > > > > > Regards, > > > > Rohit Yadav > > > > Software Architect, ShapeBlue > > > > https://www.shapeblue.com > > > > ________________________________ > > From: Eric Pretorious <[email protected]> > > Sent: Thursday, May 23, 2019 10:01:00 AM > > To: [email protected] > > Subject: Apache-Cloudstack 4.11.2.0, Maven Error: > > java.lang.UnsatisfiedLinkError > (com/sun/jna/linux-aarch64/libjnidispatch.so > > not found) > > > > 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 > > > > [email protected] > > www.shapeblue.com > > Amadeus House, Floral Street, London WC2E 9DPUK > > @shapeblue > > > > > > > > > -- Andrija Panić
