Ask Your Question
0

live migration error

asked 2014-10-28 00:40:48 -0500

senyapsudah gravatar image

hi guys,

would like to get some advise from you guys. i try to do live migration between my two compute node. but sadly i get below error:

ERROR (BadRequest): Unacceptable CPU info: CPU doesn't have compatibility.

0

Refer to http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult (HTTP 400) (Request-ID: req-081c9d9f-e8ab-4e99-9ad3-51bde3d11395)

is there anyway to solve this issue?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2014-10-30 07:18:45 -0500

senyapsudah gravatar image

i have test it and restart services. when i change the cpu_model it seems that i will get an error to instantiate new instance. so what i do is i check the cpu capabilities by using virsh capabilities command and i can see that my cpu can only run kvm32. when i change to kvm32, i'm able to instantiate new instance, reboot and also live migrations. but it just for 32 bit server.

i believe this is the issue with the processor itself.

one more thing need to take note is to be able to fully run live migration, you will need to have your instance being placed inside a shared storage which has been mount by all of your compute node.

as far as i can see, doing simple migration is enough as what it does is just migrate whole block of image to the new host. libvirt does not check cpu model. what lacking is the instance will be just pause while being transferred to other host, you will see your server will not be available for few minutes.

edit flag offensive delete link more
0

answered 2014-10-28 11:49:23 -0500

mpetason gravatar image

So you either need the same CPU between the different node types or you can look at modifying:

cpu_model = None

You'll see the options in the nova.conf:

http://docs.openstack.org/trunk/confi...

Look into possibly editing it to this on all of the compute nodes:

[libvirt] 
cpu_mode=custom 
cpu_model=kvm64
edit flag offensive delete link more

Comments

i have test it. still no luck. :( seems like both compute need to have same cpu then you can do the migration between host.

senyapsudah gravatar imagesenyapsudah ( 2014-10-29 06:42:29 -0500 )edit

You would need to update these options and restart nova-compute on the compute nodes then look at doing the migration.

mpetason gravatar imagempetason ( 2014-10-29 09:23:48 -0500 )edit
0

answered 2014-10-30 12:34:13 -0500

First try to boot a VM on the Hypervisor in which you are facing this issue (Unacceptable CPU info: ). If that is successes then go for Live Migration. I think your Hypervisor doesn't support CPU virtulization, check its flags in (/proc/cpuinfo) you should able to find either vmx or svm flags there.

edit flag offensive delete link more

Comments

yes, i check both of my compute and seems like both of then has the same features, do we need to have both ? vmx and svm? or either one will do? i'm currently running on i5.

senyapsudah gravatar imagesenyapsudah ( 2014-10-31 06:23:11 -0500 )edit

No need to have both. Either of them is fine. Do one thing.. 1. Restart the compute service and paste the compute logs.

If there is no any error, boot an instance and try to check for errors.

TechPatron gravatar imageTechPatron ( 2014-10-31 07:37:28 -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: 2014-10-28 00:40:48 -0500

Seen: 1,637 times

Last updated: Oct 30 '14