[Bug 1754015] Re: nova-compute-kvm does not pull ipxe-qemu on non-amd64 archs
Corey Bryant
corey.bryant at canonical.com
Thu Mar 8 16:27:43 UTC 2018
Hi Junien,
Thanks for the detailed bug report. I'm wondering if ipxe-qemu installed
is not getting installed because you're not installing recommended
packages. ie. 'apt install --no-install-recommends'. They should get
installed by default. Note that qemu-system-arm specifies ipxe-qemu as a
'Recommends' package whereas qemu-system-x86 specifies ipxe-qemu as a
'Depends' package.
For qemu 1:2.10+dfsg-0ubuntu3.5~cloud0 from xenial-pike, the
debian/control file has:
Package: qemu-system
Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64
Multi-Arch: foreign
Depends: ${misc:Depends},
qemu-system-arm,
qemu-system-mips,
qemu-system-ppc,
qemu-system-sparc,
qemu-system-x86,
qemu-system-s390x,
qemu-system-misc
Package: qemu-kvm
Architecture: i386 amd64 x32 armhf armel arm64 powerpc ppc64 ppc64el s390x
Multi-Arch: foreign
Pre-Depends: ${misc:Pre-Depends}
Depends:
${misc:Depends},
qemu-system-x86 (= ${binary:Version}) [i386 amd64 x32],
qemu-system-arm (= ${binary:Version}) [armhf armel arm64],
qemu-system-ppc (= ${binary:Version}) [powerpc ppc64 ppc64el],
qemu-system-s390x (= ${binary:Version}) [s390x],
powerpc-utils [ppc64el],
Package: qemu-system-arm
Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64
Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common (>> 2.0.0+dfsg-7~)
Recommends: qemu-utils,
# aarch64 arm uses bootroms
ipxe-qemu (>= 1.0.0+git-20131111.c3d1e78-1~),
Please let me know what you find. For now I'm going to mark this
Thanks,
Corey
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1754015
Title:
nova-compute-kvm does not pull ipxe-qemu on non-amd64 archs
Status in Ubuntu Cloud Archive:
Incomplete
Bug description:
Hi,
If you deploy a nova-compute unit on arm64 with openstack-
origin='cloud:xenial-pike', ipxe-qemu does not get pulled, so nova
fails to create instances because :
2018-03-06 14:58:59.608 9770 ERROR nova.compute.manager [instance: 50a8ca28-d43c-4c36-8354-edea0138e7f1] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2018-03-06 14:58:59.608 9770 ERROR nova.compute.manager [instance: 50a8ca28-d43c-4c36-8354-edea0138e7f1] libvirtError: internal error: process exited while connecting to monitor: 2018-03-06T14:58:58.689865Z qemu-system-aarch64: -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:12:80:f6,bus=pci.1,addr=0x0: failed to find romfile "efi-virtio.rom"
(and efi-virtio.rom comes from ipxe-qemu)
This is because of the Depends change on nova-compute-kvm :
cloud-archive nova-compute-kvm has :
Depends: nova-compute-libvirt (= 2:16.0.3-0ubuntu1~cloud0), qemu-kvm | qemu-system (>= 1.3.0) | kvm
regular nova-compute-kvm has :
Depends: nova-compute-libvirt (= 2:13.1.4-0ubuntu4.2), qemu-system (>= 1.3.0) | kvm
and qemu-kvm only pulls qemu-system-arm, whereas qemu-system brings in
all architectures, including qemu-system-x86, which pulls in ipxe-
qemu.
I guess one fix is to make qemu-system-arm64 depend on ipxe-qemu
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1754015/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list