[Bug 1754015] Re: nova-compute-kvm does not pull ipxe-qemu on non-amd64 archs

ChristianEhrhardt 1754015 at bugs.launchpad.net
Mon Mar 12 09:33:50 UTC 2018


Hi,
first I agree to Coreys first checks.

In terms of packages, arm (as well as ppc) clearly are recommend dependencies.
They have several use cases that work without ipxe-qemu - just not the one that nova-compute-kvm is driving.

If we would follow the depend/recommend definition hard also x86 would become a recommend.
But for historical compatibility x86 stays a depend.
OTOH on arm/ppc there are more (likely) cases were one doesn't need ipxe-qemu.

That said making it a depends from ther qemu- packages is wrong.
The solution is:
1. install with recommends or fix up what you lack (general recommends case)
OR
2. nova-compute-kvm might depend on it since the use case "from nova-compute-kvm" seems to need it always
OR
3. pull it in from the charm or whatever is driving your install.

** Changed in: libvirt (Ubuntu)
       Status: New => Incomplete

-- 
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:
  New
Status in libvirt package in Ubuntu:
  Incomplete
Status in nova package in Ubuntu:
  New

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