openstack snapshot, migration, suspend broken by invtsc

Bug #1386503 reported by Don Bowman
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
High
Unassigned
Utopic
Fix Released
High
Unassigned

Bug Description

===========================================================
SRU Justification:
1. Impact: migration fails
2. Test case: Have <cpu mode='host-model'> in xml and try to do virsh managedsave.
3. Regression potential: this same patch was applied to the same libvirt version some time ago in vivid. No regressions are therefore expected.
===========================================================

I believe this commit http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=de0aeafe9ce3eb414c8b5d3aa8995d776a2952de fixes the issue.

In OpenStack nova, one gets this error:
libvirtError: internal error: unable to execute QEMU command 'migrate': State blocked by non-migratable device 'cpu'

when executing 'nova image-create', or 'nova suspend' operations.

This in turn is caused by the 'invtsc' being used for 'host-model', preventing a migration.

$ lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10

$ apt-cache policy libvirt-bin
libvirt-bin:
  Installed: 1.2.8-0ubuntu11
  Candidate: 1.2.8-0ubuntu11
  Version table:
 *** 1.2.8-0ubuntu11 0
        500 http://ca.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
        100 /var/lib/dpkg/status

Changed in libvirt (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 1.2.8-0ubuntu12

---------------
libvirt (1.2.8-0ubuntu12) vivid; urgency=medium

  * complete the 9p support: (LP: #1378434)
    - libvirt-qemu: add fowner and fsetid
    - virt-aa-helper: add 'l' to 9p file options
  * dont-include-non-migrateable-features-in-host-model (LP: #1386503)
 -- Serge Hallyn <email address hidden> Wed, 29 Oct 2014 15:07:21 -0500

Changed in libvirt (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Tony Link (tlink) wrote :

Will this fix work it's way into 14.10 ? or 1.2.8-0ubuntu12 made available for Utopic?

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

1.2.8-0ubuntu12 should be made avalable through the cloud archive. But I will mark this as affecting utopic and aim to add it to the next SRU round.

Changed in libvirt (Ubuntu Utopic):
importance: Undecided → High
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Don, or anyone else affected,

Accepted libvirt into utopic-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/libvirt/1.2.8-0ubuntu11.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libvirt (Ubuntu Utopic):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Don Bowman (donbowman) wrote :

tried on utopic. resolved my issue with OpenStack snapshots.

tags: added: verification-done
removed: verification-needed
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 1.2.8-0ubuntu11.4

---------------
libvirt (1.2.8-0ubuntu11.4) utopic-proposed; urgency=medium

  * d/p/dont-include-non-migrateable-features-in-host-model: (LP: #1386503)
 -- Serge Hallyn <email address hidden> Tue, 10 Feb 2015 15:17:05 -0600

Changed in libvirt (Ubuntu Utopic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for libvirt has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.