live migration failed no CPU model specified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Incomplete
|
Low
|
Eli Qiao |
Bug Description
1" threads=
<cpu match="exact">
<topology sockets="1" cores="1" threads="1"/>
</cpu>
2015-03-19 15:35:37.697 DEBUG nova.virt.
2015-03-19 15:35:37.699 ERROR nova.virt.
Requested operation is not valid: no CPU model specified
Refer to http://
2015-03-19 15:35:37.702 DEBUG oslo_messaging.
2015-03-19 15:35:37.702 DEBUG oslo_messaging.
2015-03-19 15:35:37.747 ERROR oslo_messaging.
Requested operation is not valid: no CPU model specified
Changed in nova: | |
assignee: | nobody → Eli Qiao (taget-9) |
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: live-migrate |
in nova.conf
[libvirt]
cpu_mode = none
virt_type = kvm
by checking libvirt driver
def _get_guest_ cpu_model_ config( self): cpu_mode cpu_model
mode = CONF.libvirt.
model = CONF.libvirt.
if (CONF.libvirt. virt_type == "kvm" or
CONF. libvirt. virt_type == "qemu"):
mode = "host-model"
return vconfig. LibvirtConfigGu estCPU( )
if mode is None:
if mode == "none":
if mode is set to none, then return vconfig. LibvirtConfigGu estCPU( )
but it doesn't has cpu_model at all.