本帖最后由 liuwanbing1985 于 2015-10-27 16:05 编辑
egrep -c '(vmx|svm)' /proc/cpuinfo
输出:0
/etc/nova/nova-compute.conf配置文件
compute_driver=libvirt.LibvirtDriver
[libvirt]
virt_type=qemu
以下日志错误:
tail /var/log/nova/nova-compute.log
2015-10-27 15:26:28.575 3769 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2015-10-27 15:26:28.575 3769 TRACE nova.virt.driver Traceback (most recent call last):
2015-10-27 15:26:28.575 3769 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1389, in load_compute_driver
2015-10-27 15:26:28.575 3769 TRACE nova.virt.driver virtapi)
2015-10-27 15:26:28.575 3769 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 52, in import_object_ns
2015-10-27 15:26:28.575 3769 TRACE nova.virt.driver return import_class(import_str)(*args, **kwargs)
2015-10-27 15:26:28.575 3769 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 33, in import_class
2015-10-27 15:26:28.575 3769 TRACE nova.virt.driver traceback.format_exception(*sys.exc_info())))
2015-10-27 15:26:28.575 3769 TRACE nova.virt.driver ImportError: Class LibvirtDriver cannot be found (['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 29, in import_class\n return getattr(sys.modules[mod_str], class_str)\n', "AttributeError: 'module' object has no attribute 'LibvirtDriver'\n"])
2015-10-27 15:26:28.575 3769 TRACE nova.virt.driver
|