Openstack 虚拟机 CPU类型不匹配导致虚拟机创建启动慢的问题
Openstack以qcow2为镜像创建实例,实例的CPU类型自动分配为EYPC,
但是查看计算节点CPU类型为Inter,
因此在nova配置中设置计算节点的cpu_mode
[libvirt] virt_type=kvm cpu_mode=host-model
以下引入Openstack官网的配置信息描述:
virt_type = kvm (StrOpt) Libvirt domain type (valid options are: kvm, lxc, qemu, uml, xen and parallels)
cpu_mode = None (StrOpt) Set to "host-model" to clone the host CPU feature flags; to "host-passthrough" to use the host CPU model exactly; to "custom" to use a named CPU model; to "none" to not set any CPU model. If virt_type="kvm|qemu", it will default to "host-model", otherwise it will default to "none"
cpu_model = None (StrOpt) Set to a named libvirt CPU model (see names listed in /usr/share/libvirt/cpu_map.xml). Only has effect if cpu_mode="custom" and virt_type="kvm|qemu"
相关推荐
Moolightshadow 2020-07-16
fyggzb 2020-07-05
gokeibi 2020-06-12
zziyuann 2020-06-12
fyggzb 2020-06-12
hhphhp 2020-06-12
fyggzb 2020-06-10
JeremyLiu 2020-06-10
JeremyLiu 2020-06-10
jmppok 2020-06-07
jmppok 2020-06-05
hhphhp 2020-06-01
zziyuann 2020-05-17
gokeibi 2020-05-07
gokeibi 2020-04-26
gokeibi 2020-04-19
gokeibi 2020-04-19