[Bug 1754015] Re: nova-compute-kvm does not pull ipxe-qemu on non-amd64 archs
James Page
james.page at ubuntu.com
Mon Mar 12 16:12:35 UTC 2018
** Changed in: nova (Ubuntu)
Assignee: (unassigned) => James Page (james-page)
** Changed in: nova (Ubuntu)
Status: Triaged => In Progress
** Also affects: cloud-archive/pike
Importance: Undecided
Status: New
** Also affects: cloud-archive/queens
Importance: High
Status: Triaged
** Changed in: cloud-archive/pike
Status: New => Triaged
** Changed in: cloud-archive/pike
Importance: Undecided => High
** Also affects: libvirt (Ubuntu Artful)
Importance: Undecided
Status: New
** Also affects: nova (Ubuntu Artful)
Importance: Undecided
Status: New
** Also affects: libvirt (Ubuntu Bionic)
Importance: Undecided
Status: Incomplete
** Also affects: nova (Ubuntu Bionic)
Importance: High
Assignee: James Page (james-page)
Status: In Progress
** Changed in: nova (Ubuntu Artful)
Status: New => Triaged
** Changed in: nova (Ubuntu Artful)
Importance: Undecided => High
** Changed in: nova (Ubuntu Artful)
Assignee: (unassigned) => James Page (james-page)
** Changed in: nova (Ubuntu Artful)
Milestone: None => artful-updates
** Description changed:
- Hi,
+ [Impact]
+ On Ubuntu installs where --no-recommends is enabled as the default, users of nova are unable to boot instances on non-x86 based architecures
- 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 :
+ [Test Case]
+ Deploy openstack using charms on amr64
+ Boot instance
+ Fails with error message from original bug report
+
+ [Regression Potential]
+ Minimal; ipxe-qemu is a Depends for x86, but this appears to be a legacy feature; nova will use libvirt in such a way that ipxe-qemu roms are needed on all architectures.
+
+ [Original Bug Report]
+ 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
--
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:
Triaged
Status in Ubuntu Cloud Archive pike series:
Triaged
Status in Ubuntu Cloud Archive queens series:
Triaged
Status in libvirt package in Ubuntu:
Incomplete
Status in nova package in Ubuntu:
In Progress
Status in libvirt source package in Artful:
New
Status in nova source package in Artful:
Triaged
Status in libvirt source package in Bionic:
Incomplete
Status in nova source package in Bionic:
In Progress
Bug description:
[Impact]
On Ubuntu installs where --no-recommends is enabled as the default, users of nova are unable to boot instances on non-x86 based architecures
[Test Case]
Deploy openstack using charms on amr64
Boot instance
Fails with error message from original bug report
[Regression Potential]
Minimal; ipxe-qemu is a Depends for x86, but this appears to be a legacy feature; nova will use libvirt in such a way that ipxe-qemu roms are needed on all architectures.
[Original Bug Report]
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