Launch instance got libvirtError for qemu unsupported IDE bus in AARCH64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Kevin Zhao |
Bug Description
Description
===========
After setup the nova development environment with devstack in aarch64 machine ,use the glance upload the image ,then use nova to launch the instance.Launching failed with the error "libvirtError: unsupported configuration: IDE controllers are unsupported for this QEMU binary or machine type".
Steps to reproduce
==================
1.Using devstack to deploy openstack. Using default local.conf.
2.Upload the aarch64 image with glance.
$ source ~/devstack/openrc admin admin
$ glance image-create --name image-arm64.img --disk-format qcow2 --container-format bare --visibility public --file images/
$ glance image-create --name image-arm64.vmlinuz --disk-format aki --container-format aki --visibility public --file images/
$ glance image-create --name image-arm64.initrd --disk-format ari --container-format ari --visibility public --file images/
$ IMAGE_UUID=$(glance image-list | grep image-arm64.img | awk '{ print $2 }')
$ IMAGE_KERNEL_
$ IMAGE_INITRD_
$ glance image-update --kernel-id ${IMAGE_
3.nova add keypair
$ nova keypair-add default --pub-key ~/.ssh/id_rsa.pub
4.Launch the instance:
$ image=$(nova image-list | egrep "image-
$ nova boot --flavor m1.medium --image ${image} --key-name default test-arm64
5.screen -x and select the n-cpu session to see the output.
Then will got the error.
Expected result
===============
After spawningn the instance, use :
$ nova list
We can see the instance is active.
Actual result
=============
Got the error:
libvirtError: unsupported configuration: IDE controllers are unsupported for this QEMU binary or machine type
We can see the detailed information:
ERROR nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
TRACE nova.compute.
INFO nova.compute.
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://
Nova development, commit code: 9a05d38f48ef0f6
2. Which hypervisor did you use?
Libvirt+KVM
$ kvm --version
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-
$ libvirtd --version
libvirtd (libvirt) 1.3.1
2. Which storage type did you use?
In the host file system,all in one physics machine.q
stack@u202154:
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 61M 1.6G 4% /run
/dev/sda2 917G 41G 830G 5% /
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/sda1 511M 888K 511M 1% /boot/efi
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 1.6G 0 1.6G 0% /run/user/1002
tmpfs 1.6G 0 1.6G 0% /run/user/1000
tmpfs 1.6G 0 1.6G 0% /run/user/0
3. Which networking type did you use?
nova-network
4. Environment information:
Architecture : AARCH64
OS: Ubuntu 16.04
Detailed log info is in the accessory.
The guest xml is also in the log info.
Changed in nova: | |
status: | New → Confirmed |
status: | Confirmed → New |
Changed in nova: | |
status: | New → Confirmed |
status: | Confirmed → In Progress |
importance: | Undecided → Low |
Changed in nova: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: master /review. openstack. org/323244
Review: https:/