分享

nova-compute服务无法启动

jz2015 发表于 2016-4-25 10:23:10 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 8517
环境:centos 6.7  三个节点  Controller network compute
          openstack 版本是icehouse
故障现象:初始安装完后,在compute节点启动openstack-nova-compute服务,无法启动,状态为 openstack-nova-compute dead but pid file exists
                 查看看compute.log日志
                 2016-04-25 10:20:38.277 4027 INFO nova.openstack.common.periodic_task [-] Skippi
ng periodic task _periodic_update_dns because its interval is negative
2016-04-25 10:20:38.329 4027 INFO nova.virt.driver [-] Loading compute driver 'n
ova.virt.libvirt.LibvirtDriver'
2016-04-25 10:20:38.355 4027 ERROR nova.virt.driver [-] Unable to load the virtu
alization driver
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver Traceback (most recent call
last):
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver   File "/usr/lib/python2.6/s
ite-packages/nova/virt/driver.py", line 1301, in load_compute_driver
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver     virtapi)
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver   File "/usr/lib/python2.6/s
ite-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver     return import_class(impo
rt_str)(*args, **kwargs)
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver   File "/usr/lib/python2.6/s
ite-packages/nova/virt/libvirt/driver.py", line 379, in __init__
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver     get_connection=self._get
_connection)
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver   File "/usr/lib/python2.6/s
ite-packages/nova/virt/firewall.py", line 49, in load_driver
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver     fw_class = importutils.i
mport_class(CONF.firewall_driver or default)
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver   File "/usr/lib/python2.6/s
ite-packages/nova/openstack/common/importutils.py", line 33, in import_class
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver     traceback.format_excepti
on(*sys.exc_info())))
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver ImportError: Class NoopFirew
allDriver cannot be found (['Traceback (most recent call last):\n', '  File "/us
r/lib/python2.6/site-packages/nova/openstack/common/importutils.py", line 29, in
import_class\n    return getattr(sys.modules[mod_str], class_str)\n', "Attribut
eError: 'module' object has no attribute 'NoopFirewallDriver'\n"])
2016-04-25 10:20:38.355 4027 TRACE nova.virt.driver


这个故障怎么解决????

已有(1)人评论

跳转到指定楼层
Alkaloid0515 发表于 2016-4-25 10:37:29
楼主的配置账户和启动服务是否同一个账户。注意配置文件的权限问题,特别是
nova.conf的权限
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条