[Bug 1425619] Re: Migration fails between QEMU 1.5 and QEMU 2.0
Seyeong Kim (xtrusia): You need to test with the following setup: * The source needs to run qemu 1.5. (which should be unpatched) * The destination needs to run a *PATCHED* versions of qemu 2.0 and libvirt 1.2. Furthermore, libvirt *NEEDS* to have allow_incoming_qemukvm set to true. Failure to set allow_incoming_qemukvm to true will result in this error: Length mismatch: :00:03.0/virtio-net-pci.rom: 2 in != 4 qemu: warning: error while loading state for instance 0x0 of device 'ram' Your logs show that you failed to follow the test steps as the destination isn't using the pc-i440fx-1.5-saucy machine type as expected. Make sure libvirt is properly configured and restarted with allow_incoming_qemukvm. The proposed patches (both libvirt and qemu) have been running in production environment without any issue since the bug report. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1425619 Title: Migration fails between QEMU 1.5 and QEMU 2.0 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1425619/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1425619] Re: Migration fails between QEMU 1.5 and QEMU 2.0
Patches I made and tested: https://gist.github.com/mgagne/95046681c59e4e20989c -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1425619 Title: Migration fails between QEMU 1.5 and QEMU 2.0 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1425619/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1425619] Re: Migration fails between QEMU 1.5 and QEMU 2.0
To make the migration work, you need to: - Create a qemu-kvm compatible machine type for pc-i440fx-1.5. Lets call it pc-i440fx-1.5-saucy. - Override cirrus-vga.vgamem_mb to 8mb (instead of 10mb) - Override virtio-net-pci.romfile to use pxe-virtio.rom (instead of efi-virtio.rom) - Patch libvirt to translate pc-i440fx-1.5 to pc-i440fx-1.5-saucy if allow_incoming_qemukvm is enabled. (just like with pc-1.0) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1425619 Title: Migration fails between QEMU 1.5 and QEMU 2.0 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1425619/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1425619] Re: Migration fails between QEMU 1.5 and QEMU 2.0
** Also affects: libvirt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/1425619 Title: Migration fails between QEMU 1.5 and QEMU 2.0 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1425619/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1425619] [NEW] Migration fails between QEMU 1.5 and QEMU 2.0
Public bug reported: This bug looks to be very similar to bug #1291321. The source host runs 12.04 Precise with Ubuntu Cloud Archive. This means we have access to more recent QEMU packages. The source host has QEMU 1.5 installed. (the package looks to be backported from 13.10 Saucy by UCA) The destination host is running 14.04 Trusty with QEMU 2.0. The machine type used by the instance I tried to live migrate is 'pc- i440fx-1.5'. (which looks to be the new default in QEMU 1.5) When performing a live migration from QEMU 1.5 to QEMU 2.0, the migration fails with this error on the destination host: Length mismatch: :00:03.0/virtio-net-pci.rom: 2 in != 4 qemu: warning: error while loading state for instance 0x0 of device 'ram' My hypothesis is that QEMU 1.5 was built against the qemu-kvm source tree. As mentionned in bug #1291321, the machine types defined in qemu- kvm are not compatible with the ones defined in qemu. This means the source 'pc-i440fx-1.5' mahine type is not compatible with the destination 'pc-i440fx-1.5' machine type. A workaround has been introduced in QEMU 2.0 to allow incoming qemu-kvm instances (pc-1.0) to be properly translated to pc-1.0-precise) using the allow_incoming_qemukvm libvirt config. But since the default machine type changed between QEMU 1.0 (pc-1.0) and 1.5 (pc-i440fx-1.5), the above workaround doesn't work for people running QEMU 1.5 introduced by UCA. This means people with QEMU 1.5 on 12.04 Precise are stuck with instances they cannot migrate to a host running the latest LTS without destructive steps. ** Affects: qemu (Ubuntu) Importance: Undecided Status: Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1425619 Title: Migration fails between QEMU 1.5 and QEMU 2.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1425619/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1425619] Re: Migration fails between QEMU 1.5 and QEMU 2.0
Serge, QEMU 2.0 is part of 14.04 Trusty. (which coincidentally happens to be the source of backports in UCA) Irregardless of UCA, people with 13.10 Saucy won't be able to upgrade to the latest supported LTS. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1425619 Title: Migration fails between QEMU 1.5 and QEMU 2.0 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1425619/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1373617] [NEW] Still missing logrotate configuration files
Public bug reported: The bug 1224223 was marked as fixed in 2014.1~b2-0ubuntu1. Looking at the package source, logrotate configuration files are still missing despite debian/changelog claims. ** Affects: ceilometer (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ceilometer in Ubuntu. https://bugs.launchpad.net/bugs/1373617 Title: Still missing logrotate configuration files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/1373617/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs