我要评分
获取效率
正确性
完整性
易理解

VM Creation Failure, libvirtError Reported in Logs

Symptom

VM creation using OpenStack fails and "libvirtError" is displayed in the log.

Key Process and Cause Analysis

Servers support kvm instead of qemu for virt_type. If virt_type is set to qemu, the VM cannot be created.

Conclusion and Solution

  1. Modify the Nova configuration file /etc/nova/nova.conf and set virt_type under [libvirt] to the following information:
    virt_type = kvm
  2. Restart the nova-compute service for the configuration to take effect.
    systemctl restart openstack-nova-compute.service