# OpenNebula aarch64(pine64) adventure and error message

**URL:** <https://forum.opennebula.io/t/opennebula-aarch64-pine64-adventure-and-error-message/5474>\
**Category:** Product Support\
**Created:** [December 23, 2017, 9:08am UTC](https://forum.opennebula.io/t/opennebula-aarch64-pine64-adventure-and-error-message/5474 "2017-12-23T09:08:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![czd](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/czd/32/7021_2.png) [@czd](https://forum.opennebula.io/u/czd)\
**Post date:** [December 23, 2017, 9:08am UTC](https://forum.opennebula.io/t/opennebula-aarch64-pine64-adventure-and-error-message/5474/1 "2017-12-23T09:08:52Z")

</div>

Hi,

I installed OpenNebula 4.12.3 to aarch64 base pine64 machine, after a little struggle I have created a node with command “onehost create pine1 -i kvm -v kvm -n dummy”. But in oned.log file, I get this error message and “onehost list” lists the host with **retry** status.  
Thanks for the help.

Additional information:  
DISTRIB\_ID=Ubuntu  
DISTRIB\_RELEASE=16.04  
DISTRIB\_CODENAME=xenial  
DISTRIB\_DESCRIPTION=“Ubuntu 16.04.3 LTS”

Error message:

Sat Dec 23 12:06:32 2017 [Z0][ReM][D]: Req:4256 UID:0 VirtualMachinePoolInfo invoked , -2, -1, -1, -1  
Sat Dec 23 12:06:32 2017 [Z0][ReM][D]: Req:4256 UID:0 VirtualMachinePoolInfo result SUCCESS, "\<VM\_POOL\>\</VM\_POOL\>"  
Sat Dec 23 12:06:32 2017 [Z0][ReM][D]: Req:4256 UID:0 VirtualMachinePoolInfo invoked , -2, -1, -1, -1  
Sat Dec 23 12:06:32 2017 [Z0][ReM][D]: Req:4256 UID:0 VirtualMachinePoolInfo result SUCCESS, "\<VM\_POOL\>\</VM\_POOL\>"  
Sat Dec 23 12:06:47 2017 [Z0][ONE][E]: Error parsing host information: syntax error, unexpected VARIABLE, expecting EQUAL or EQUAL\_EMPTY at line 35, columns 507:509. Monitoring information:  
ARCH=aarch64  
MODELNAME="HYPERVISOR=kvm  
TOTALCPU=400  
CPUSPEED=0  
TOTALMEMORY=2035752  
USEDMEMORY=315104  
FREEMEMORY=1720648  
FREECPU=388  
USEDCPU=12  
NETRX=277059  
NETTX=480703  
DS\_LOCATION\_USED\_MB=6501  
DS\_LOCATION\_TOTAL\_MB=14832  
DS\_LOCATION\_FREE\_MB=8150  
DS = [  
ID = 0,  
USED\_MB = 6501,  
TOTAL\_MB = 14832,  
FREE\_MB = 8150  
]  
DS = [  
ID = 1,  
USED\_MB = 6501,  
TOTAL\_MB = 14832,  
FREE\_MB = 8150  
]  
DS = [  
ID = 2,  
USED\_MB = 6501,  
TOTAL\_MB = 14832,  
FREE\_MB = 8150  
]  
HOSTNAME=pine1  
VM\_POLL=YES  
VERSION=“4.12.3”

---

<div class="post-metadata">

**Author:** ![svega](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/svega/32/5504_2.png) [@svega](https://forum.opennebula.io/u/svega)\
**Post date:** [December 28, 2017, 5:07pm UTC](https://forum.opennebula.io/t/opennebula-aarch64-pine64-adventure-and-error-message/5474/2 "2017-12-28T17:07:09Z")

</div>

Hello

KVM is not totally ready yet for any ARM architecture as far as I know. I recommend you to go with Operating System Level Virtualization using LXD. This was already done, you can find it here: [http://clox.cloud](http://clox.cloud). At this moment, the project only supports Raspberry Pi 3 single board computers, but thanks to the people from Pine64 we are finishing support for their SBCs. We are currently testing and hope to release it at mid-january.

If you can’t wait till then, you can use this guides ([http://clox.cloud/docs/long\_road/index.html](http://clox.cloud/docs/long_road/index.html)) for manually deploying the project on RPi3 and try to do it with a Pine64, you will only need to make small changes.

Bests

---

<div class="post-metadata">

**Author:** ![czd](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/czd/32/7021_2.png) [@czd](https://forum.opennebula.io/u/czd)\
**Post date:** [January 1, 2018, 7:31am UTC](https://forum.opennebula.io/t/opennebula-aarch64-pine64-adventure-and-error-message/5474/3 "2018-01-01T07:31:36Z")

</div>

Thanks for the link and the information Sergio.

---

<div class="post-metadata">

**Author:** ![czd](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/czd/32/7021_2.png) [@czd](https://forum.opennebula.io/u/czd)\
**Post date:** [January 28, 2018, 6:15am UTC](https://forum.opennebula.io/t/opennebula-aarch64-pine64-adventure-and-error-message/5474/4 "2018-01-28T06:15:45Z")

</div>

I compiled the source code as stated in the [http://clox.cloud/docs/long\_road/frontend\_installation.html](http://clox.cloud/docs/long_road/frontend_installation.html) page successfully. But when I add the host to the cluster an error occurs in the oned.conf file. And host status waiting in the INIT state.  
Can someone clarify the error and help me?  
Thanks.

Sun Jan 28 09:13:04 2018 [Z0][ReM][D]: Req:8400 UID:0 one.zone.raftstatus invoked  
Sun Jan 28 09:13:04 2018 [Z0][ReM][D]: Req:8400 UID:0 one.zone.raftstatus result SUCCESS, "\<SERVER\_ID\>-1\<…"  
Sun Jan 28 09:13:04 2018 [Z0][ReM][D]: Req:9600 UID:0 [one.vmpool.info](http://one.vmpool.info) invoked , -2, -1, -1, -1  
Sun Jan 28 09:13:04 2018 [Z0][ReM][D]: Req:9600 UID:0 [one.vmpool.info](http://one.vmpool.info) result SUCCESS, "\<VM\_POOL\>\</VM\_POOL\>"  
Sun Jan 28 09:13:04 2018 [Z0][ReM][D]: Req:9600 UID:0 [one.vmpool.info](http://one.vmpool.info) invoked , -2, -1, -1, -1  
Sun Jan 28 09:13:04 2018 [Z0][ReM][D]: Req:9600 UID:0 [one.vmpool.info](http://one.vmpool.info) result SUCCESS, "\<VM\_POOL\>\</VM\_POOL\>"  
Sun Jan 28 09:13:12 2018 [Z0][MKP][D]: Monitoring marketplace OpenNebula Public (0)  
Sun Jan 28 09:13:13 2018 [Z0][InM][D]: Monitoring datastore default (1)  
Sun Jan 28 09:13:13 2018 [Z0][InM][D]: Monitoring datastore files (2)  
Sun Jan 28 09:13:13 2018 [Z0][MKP][D]: Marketplace OpenNebula Public (0) successfully monitored.  
Sun Jan 28 09:13:14 2018 [Z0][ImM][D]: Datastore files (2) successfully monitored.  
Sun Jan 28 09:13:14 2018 [Z0][ImM][D]: Datastore default (1) successfully monitored.  
Sun Jan 28 09:13:14 2018 [Z0][ONE][E]: Error parsing host information: syntax error, unexpected VARIABLE, expecting EQUAL or EQUAL\_EMPTY at line 35, columns 511:513. Monitoring information:  
ARCH=aarch64  
MODELNAME="HYPERVISOR=kvm  
TOTALCPU=400  
CPUSPEED=0  
TOTALMEMORY=2035752  
USEDMEMORY=544164  
FREEMEMORY=1491588  
FREECPU=360  
USEDCPU=40  
NETRX=87725336  
NETTX=11598462  
DS\_LOCATION\_USED\_MB=7752  
DS\_LOCATION\_TOTAL\_MB=14832  
DS\_LOCATION\_FREE\_MB=6899  
DS = [  
ID = 0,  
USED\_MB = 7752,  
TOTAL\_MB = 14832,  
FREE\_MB = 6899  
]  
DS = [  
ID = 1,  
USED\_MB = 7752,  
TOTAL\_MB = 14832,  
FREE\_MB = 6899  
]  
DS = [  
ID = 2,  
USED\_MB = 7752,  
TOTAL\_MB = 14832,  
FREE\_MB = 6899  
]  
HOSTNAME=pine1  
VM\_POLL=YES  
VERSION=“4.12.3”

---

<div class="post-metadata">

**Author:** ![czd](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/czd/32/7021_2.png) [@czd](https://forum.opennebula.io/u/czd)\
**Post date:** [January 29, 2018, 8:23am UTC](https://forum.opennebula.io/t/opennebula-aarch64-pine64-adventure-and-error-message/5474/5 "2018-01-29T08:23:45Z")

</div>

I followed the [https://github.com/OpenNebula/addon-lxdone/blob/master/Setup.md](https://github.com/OpenNebula/addon-lxdone/blob/master/Setup.md) page and successfully completed the setup, sorry for the inconvenience. But kvm bug still remains. 🙂  
Thanks.

---

<div class="post-metadata">

**Author:** ![svega](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/svega/32/5504_2.png) [@svega](https://forum.opennebula.io/u/svega)\
**Post date:** [January 31, 2018, 8:07pm UTC](https://forum.opennebula.io/t/opennebula-aarch64-pine64-adventure-and-error-message/5474/6 "2018-01-31T20:07:47Z")

</div>

Opennebula’s KVM driver won’t work. IM driver needs a few modifications to be able to monitor the virtualization node, but VM driver will definitely not work. Remember that KVM, and generally speaking HVM support is not ready yet for although ARM’s engineers have done a great work with ARM Virtualization Extensions in ARM v8 and v8.1 and KVM and Xen are being modified to run there…sooo, soon we will see it.

---

<div class="post-metadata">

**Author:** ![Jesse](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@Jesse](https://forum.opennebula.io/u/Jesse)\
**Post date:** [October 28, 2019, 9:40pm UTC](https://forum.opennebula.io/t/opennebula-aarch64-pine64-adventure-and-error-message/5474/7 "2019-10-28T21:40:07Z")

</div>

I’ve also been working to get virtualization working on a Pine64, and have had success with virt-manager/virsh using a custom compiled Armbian kernel with KVM enabled.

Working through lots of challenges with OpenNebula, the error message @czd is encountering can be fixed with a modification to the “cpu.sh” script in /usr/lib/one/remotes/im/kvm-probes.d/ on the head end. This issue is an unmatched open quote due to a grep statement not finding an expected string in /proc/cpuinfo.

To get around it, I changed this line:  
grep -m 1 “Hardware” /proc/cpuinfo | cut -d: -f2 | sed -e ‘s/^ \*//’ | sed -e ‘s/$/"/’

To this:  
grep -m 1 “model name\|Hardware” /proc/cpuinfo | cut -d: -f2 | sed -e ‘s/^ \*//’ | sed -e ‘s/$/"/’

Then do a “onehost sync --rsync --force” (I have better luck using the rsync method with my Pine64), and the monitoring script should no longer error out this way.

I currently have two Pine64’s in registered in my OpenNebula cloud now, although I am not sure I’ll be able to create any VM’s on them. I tried to create a new template, but the only Architecture options were i686 or x86\_64.

Can OpenNebula create a VM with an aarch64 architecture?

Thanks!  
-Jesse
