Ask Your Question
0

live-migration - libvirt - invtsc

asked 2014-10-08 06:52:55 -0500

DocEmmetBrown gravatar image

Hi all,

I'm using openstack on Debian, with http://archive.gplhost.com/debian icehouse apt mirror.

Installing new compute nodes yesterday seems to break live migration from these new hosts. Libvirt installed version is now 1.2.7-11~bpo70+1 and seems to introduce a new cpu feature :

$ virsh capabilities : 



<capabilities>
  <host>
    <uuid>xxxxxxxx</uuid>
    <cpu>
      <arch>x86_64</arch>
      <model>Haswell</model>
      <vendor>Intel</vendor>
      <topology sockets='1' cores='4' threads='2'/>
      <feature name='invtsc'/>

.....

When I try a live migrate, I get an error in the nova-compute.log of the host from which the instance should be migrating :

Live Migration failure: Requested operation is not valid: domain has CPU feature: invtsc

I googled it, and didn't find a lot of answers, mainly this post https://bugs.launchpad.net/nova/+bug/1373949 (https://bugs.launchpad.net/nova/+bug/...) confirming that it is a libvirt issue.

Does anyone has had this issue ? Is there any workaround to be able to live-migrate from these newly installed hosts ?

Thanx

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-10-08 08:58:59 -0500

DocEmmetBrown gravatar image

updated 2014-10-08 11:00:42 -0500

After discussions on the #openstack-nova channel, it IS a libvirt bug / regression due on the newly backported package.

As it seems to be corrected in the upstream libvirt with commit de0aeafe9ce3eb414c8b5d3aa8995d776a2952de, does anybody know how to contact the maintainers of the archive.gplhost.com/debian icehouse-backports repository in order to ask them to backport the libvirt-bin package ?

Thanx again !

Update :

ugly but working workaround :

comment the invtsc feature in /usr/share/libvirt/cpu_map.xml

 <!-- Advanced Power Management edx features -->
    <!--
    <feature name='invtsc'>
      <cpuid function='0x80000007' edx='0x00000100'/>
    </feature>
    -->

Restart libvirt service

Restart nova-compute service

Et voilà...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-08 06:52:55 -0500

Seen: 2,203 times

Last updated: Oct 08 '14