Rate This Document
Findability
Accuracy
Completeness
Readability

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