[Bug 1720397] Re: qemu-kvm doesnt restart after node reboot

ChristianEhrhardt 1720397 at bugs.launchpad.net
Wed Oct 11 10:34:50 UTC 2017


On upgrades before Artful/Pike this file was not properly cleaned.
So maybe then they kept the old config with the sysV wrapper in those upgrade cases until cleaned up?

Anyway - I checked releases X to A and found that:
X - only sysv - ok
Y - only sysv - ok
Z - systemd service, disabled - bug
A - systemd service, disabled - bug

Along the placement of the default file we have in d/rules:
  dh_installinit -pqemu-system-common --no-restart-on-upgrade --error-handler=true --name=qemu-kvm
Since we have no dh --with systemd to cover automatically and formerly the generators picked it up by default as active (by considering the sysv active) this might now need something like:
  dh_systemd_enable -pqemu-system-common --name=qemu-kvm qemu-kvm.service

Given that this is broken for all of Zesty (and UCA-Ocata) time I'll mark it medium.
Depending how the testing works and if we collide with the Artful release locking down uploads the fix might be delayed a bit.

** Changed in: qemu (Ubuntu)
       Status: Confirmed => Triaged

** Also affects: cloud-archive
   Importance: Undecided
       Status: New

-- 
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/1720397

Title:
  qemu-kvm doesnt restart after node reboot

Status in Ubuntu Cloud Archive:
  New
Status in qemu package in Ubuntu:
  Triaged

Bug description:
  Upon a MAAS reboot openstack nova-compute services come up blocked
  with the following message in juju status:

  Services not running that should be: qemu-kvm

  services qemu-kvm status shows the services as dead
  services qemu-kvm restart fixes issue.

  ubuntu at fair-dingo:~$ service qemu-kvm status
  ● qemu-kvm.service - QEMU KVM preparation - module, ksm, hugepages
     Loaded: loaded (/lib/systemd/system/qemu-kvm.service; disabled; vendor preset: enabled)
     Active: active (exited) since Thu 2017-09-28 19:54:17 UTC; 3min 20s ago
    Process: 33714 ExecStart=/usr/share/qemu/init/qemu-kvm-init start (code=exited, status=0/SUCCESS)
   Main PID: 33714 (code=exited, status=0/SUCCESS)

  Linux MaaS 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC
  2017 x86_64 x86_64 x86_64 GNU/Linux

  Juju 2.2.4-xenial-amd64

  openstack 3.12.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1720397/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list