计算节点nova启动报错
环境:Centos7.1+L版
报错信息:防火墙、selinux正常,启动计算节点nova时报错如下
[root@linux-node2 ~]# systemctl start libvirtd openstack-nova-compute
Job for openstack-nova-compute.service failed because the control process exited with error code. See "systemctl status openstack-nova-compute.service" and "journalctl -xe" for details.
[root@linux-node2 ~]# tail -f /var/log/nova/nova-compute.log
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver Traceback (most recent call last):
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/virt/driver.py", line 1454, in load_compute_driver
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver virtapi)
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 52, in import_object_ns
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver return import_class(import_str)(*args, **kwargs)
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 33, in import_class
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver traceback.format_exception(*sys.exc_info())))
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver ImportError: Class LibvirtDriver cannot be found (['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-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"])
2016-03-03 10:43:53.995 20495 ERROR nova.virt.driver
2016-03-03 10:43:56.375 20506 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2016-03-03 10:43:56.424 20506 INFO nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver'
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver Traceback (most recent call last):
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/virt/driver.py", line 1454, in load_compute_driver
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver virtapi)
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 52, in import_object_ns
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver return import_class(import_str)(*args, **kwargs)
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 33, in import_class
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver traceback.format_exception(*sys.exc_info())))
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver ImportError: Class LibvirtDriver cannot be found (['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-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"])
2016-03-03 10:43:56.485 20506 ERROR nova.virt.driver
|