[Openstack] [nova][Openstack-operators] Unable to launch an ARM instance on an x86_64 compute node

Sean Heath sheath at vigilantsys.com
Wed Mar 8 20:16:58 UTC 2017


Hello all,

I am attempting to launch an ARM guest VM on an x86_64 compute node using OpenStack Ocata. I am testing on a deployment of DevStack Ocata on Centos7. I was directed to this bug: https://answers.launchpad.net/nova/+question/222187 which seems to outline a similar issue.

What I have tried so far:
- Configuring nova.conf
compute_driver=libvirt.LibvirtDriver
libvirt_type=qemu
compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler

- Verified that libvirt supports ARM
$ sudo virsh capabilities
File is attached and shows that both ppc and arm are supported - virsh_capabilities.txt

- Uploaded ARM image as an AMI and updated properties to launch it as ARM File is attached and shows successful steps through the launching of the VM which ends with an error of:
'XML error: No PCI buses available' - cirros_arm_instance.txt File is attached showing n-cpu.log of this attempt.
Research into this error indicates that it may be an issue with libvirt:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1396595
https://bugzilla.redhat.com/show_bug.cgi?id=983306 

- Researched cpu_map.xml / cpu_mode=custom / cpu_model I believe this file defines the type of host cpu to expose to KVM - not the guest CPU. Regardless there were no ARM CPUs supported, as shown in the attachment cpu_map.txt
 
Is this a bug or am I doing something wrong? What are the next steps to get this working?

Thanks,
Sean Heath
-------------- next part --------------
A non-text attachment was scrubbed...
Name: n-cpu.log
Type: application/octet-stream
Size: 108720 bytes
Desc: n-cpu.log
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170308/3b43cbfe/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cirros_arm_instance.txt
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170308/3b43cbfe/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: virsh_capabilities.txt
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170308/3b43cbfe/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cirros_ppc_instance.txt
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170308/3b43cbfe/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cpu_map.txt
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170308/3b43cbfe/attachment-0003.txt>


More information about the Openstack mailing list