Ask Your Question
1

Live Migration : Unacceptable CPU info: CPU doesn't have compatibility.

asked 2017-03-21 07:01:31 -0500

Mohan gravatar image

updated 2017-03-21 07:03:40 -0500

In my Openstack setup (CentOS Packstack) I have two nodes. Controller is also is configures as one of the compute node. test-VM is launched on compute.localdomain and I want to test Live-Migration by moving test-VM to controller.localdomain.

When I try to live migrate instance:

openstack server migrate test-VM --live controller.localdomain

The CLI gives,

0

Refer to http://libvirt.org/html/libvirt-libvirt-host.html#virCPUCompareResult (HTTP 400) (Request-ID: req-ff400f8d-9104-4387-9562-91bf99732487)

What is the problem in that. By surfing I figured out that the hosts are not compatible. How do I fix it so I can able to live migrate the Instance.

Hoping any suggestion on this. :)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-22 04:03:47 -0500

Vinoth gravatar image

yes! like you mentioned, it happens due to the CPU compatibility issue. To fix this, you must live migrate the VMs between the same CPU type/family servers.But in your case, you have only two servers available and I believe it must be something POC kind of setup.

So you could use virt-type as "qemu" to overcome with this issue.

Edit the [libvirt] section in the /etc/nova/nova-compute.conf file as follows:

[libvirt]

virt_type = qemu

Restart the nova-compute service.

edit flag offensive delete link more

Comments

I dont have a a nova-compute.conf file in my controller node. but there is a nova.conf in both controller and compute node. on which file should I make this change?

ShubhamMeshram gravatar imageShubhamMeshram ( 2017-03-24 09:35:17 -0500 )edit

In all the compute node.

Vinoth gravatar imageVinoth ( 2017-03-27 01:23:30 -0500 )edit

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: 2017-03-21 07:01:31 -0500

Seen: 1,223 times

Last updated: Mar 22 '17