VMware virtual machine as the OpenStack compute nodes above the virtual machine can not start problem solving

 

Problem Description:
VMware virtual machine as OpenStack compute nodes, if the installation of the operating system is CentOS7.3, then compute nodes are placed in this virtual machine can not start properly, reported the following error:

 


When creating a compute node, in order to allow to create nested KVM virtual machine, virtualization capabilities of the CPU should open. Disposed below the mode of the CPU in VMWare.

 


Confirm CPU supports virtualization with the following command.

 


nova is as follows:

/etc/nova/nova.conf
[the libvirt]
virt_type = KVM
. 1
2
. 3
have been verified, if computing node is installed or CentOS7.2 Ubuntu operating system, the above error is not reported.

Solution:
Modify nova configurations:

/etc/nova/nova.conf
[the libvirt]
virt_type = QEMU
cpu_mode = none
. 1
2
. 3
. 4
restart can nova-compute.

Even if the CPU supports virtualization, it has set virt_type = qemu, or otherwise error.

References:
https://ask.openstack.org/en/question/101928/instance-get-stuck-when-booting-grub/
------------------- -

original: https: //blog.csdn.net/dylloveyou/article/details/77141415

Guess you like

Origin www.cnblogs.com/xuefy/p/11109305.html