[Bug 1819509] Re: qemu-kvm is not installed with nova-compute

Christian Ehrhardt  1819509 at bugs.launchpad.net
Tue Mar 12 06:23:33 UTC 2019


These dependencies reflect part of the history of these packages and are fine as-is.
It is also fine to not have qemu-kvm installed for the use by nova.

A brief overview of history:
- initially and up to precise the package kvm existed and was used for virtualization (a wrapper 
  around qemu to enable kvm)
- later qemu-kvm was added which just provided a symlink "how it used to be" to the kvm-spice 
  binary which was no more needed
- anything modern actually activates kvm on their own and does not necesarily required the old 
  binary paths. It only needs qemu-system-<arch> and that is what the dependencies reflect (qemu-
  system pulls in all the main architectures)

In fact due to the wrappers and the compat symlinks for more than ten releases we now had
  kvm == kvm-spice == qemu-system-x86
Therefore IMHO this bug status is invalid, but I'll leave that final decision to the Openstack Team owning Nova.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1819509

Title:
  qemu-kvm is not installed with nova-compute

Status in nova package in Ubuntu:
  New

Bug description:
  After upgrading compute nodes from mitaka to newton we are not able to migrate virtual machine.
  We are not able to migrate VMs from recently onboarded compute nodes to old compute nodes that has been upgraded to newton.
  Reason is:
  Xenial-mitaka nova-compute (2.13) depends on nova-compute-kvm which does not depend on qemu-kvm:
  Package: nova-compute-kvm
  Architecture: all
  Depends: nova-compute-libvirt (= ${binary:Version}),
           qemu-system (>= 1.3.0) | kvm,
           ${misc:Depends},

  
  Newton nova-compute (2.14) package depends on nova-compute-kvm which depends on qemu-kvm or qemu-system:

  Package: nova-compute-kvm
  Architecture: all
  Depends: nova-compute-libvirt (= ${binary:Version}),
           qemu-kvm | qemu-system (>= 1.3.0) | kvm,
           ${misc:Depends},

  
  When we install newton nova-compute from scratch on compute node  we have qmu-kvm package installed => all virtual machines created on this compute node are using kvm-spice emulator

  When we upgrade nova-compute package from Mitaka to Newton, we don't
  have qemu-kvm package installed  => all virtual machines created on
  this compute node are using qemu-system-x86_64 emulator.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1819509/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list