分享

计算节点nova启动报错(new)

笑傲风云 发表于 2016-3-3 10:55:41 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 3 9463
计算节点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

已有(3)人评论

跳转到指定楼层
s060403072 发表于 2016-3-3 11:32:50
ERROR nova.virt.driver 楼主这是什么驱动,没见过,是不是打错了
回复

使用道具 举报

笑傲风云 发表于 2016-3-3 11:54:49
就是这些,你是说配置文件里吗
[root@linux-node2 ~]# tail -f /var/log/nova/nova-compute.log              
2016-03-03 11:47:08.517 21986 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2016-03-03 11:47:08.517 21986 ERROR nova.virt.driver Traceback (most recent call last):
2016-03-03 11:47:08.517 21986 ERROR nova.virt.driver   File "/usr/lib/python2.7/site-packages/nova/virt/driver.py", line 1454, in load_compute_driver
2016-03-03 11:47:08.517 21986 ERROR nova.virt.driver     virtapi)
2016-03-03 11:47:08.517 21986 ERROR nova.virt.driver   File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 52, in import_object_ns
2016-03-03 11:47:08.517 21986 ERROR nova.virt.driver     return import_class(import_str)(*args, **kwargs)
2016-03-03 11:47:08.517 21986 ERROR nova.virt.driver   File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 33, in import_class
2016-03-03 11:47:08.517 21986 ERROR nova.virt.driver     traceback.format_exception(*sys.exc_info())))
2016-03-03 11:47:08.517 21986 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 11:47:08.517 21986 ERROR nova.virt.driver
2016-03-03 11:47:11.006 21997 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2016-03-03 11:47:11.058 21997 INFO nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver'
2016-03-03 11:47:11.126 21997 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2016-03-03 11:47:11.126 21997 ERROR nova.virt.driver Traceback (most recent call last):
2016-03-03 11:47:11.126 21997 ERROR nova.virt.driver   File "/usr/lib/python2.7/site-packages/nova/virt/driver.py", line 1454, in load_compute_driver
2016-03-03 11:47:11.126 21997 ERROR nova.virt.driver     virtapi)
2016-03-03 11:47:11.126 21997 ERROR nova.virt.driver   File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 52, in import_object_ns
2016-03-03 11:47:11.126 21997 ERROR nova.virt.driver     return import_class(import_str)(*args, **kwargs)
2016-03-03 11:47:11.126 21997 ERROR nova.virt.driver   File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 33, in import_class
2016-03-03 11:47:11.126 21997 ERROR nova.virt.driver     traceback.format_exception(*sys.exc_info())))
2016-03-03 11:47:11.126 21997 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 11:47:11.126 21997 ERROR nova.virt.driver
回复

使用道具 举报

when30 发表于 2016-3-3 12:16:52
笑傲风云 发表于 2016-3-3 11:54
就是这些,你是说配置文件里吗
[root@linux-node2 ~]# tail -f /var/log/nova/nova-compute.log          ...

对啊,没讲过这么个驱动
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条