Openstack : 8、报错No handlers could be found for logger "keystoneauth.identity.generic.base" 解决办法

本文介绍了当使用OpenStack时遇到无法列出实例的问题,并给出了详细的解决方案。主要原因是Keystone服务未正常运行,提供了多种方法来启动或重启Keystone服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

openstack执行nova list报错

No handlers could be found for logger "keystoneauth.identity.generic.base"
ERROR (ConnectFailure): Unable to establish connection to  http://10.20.0.14:5000/v2.0/tokens

参考这篇文章:http://www.cnblogs.com/felixwa/p/5793528.html

应该是keystone没有启动。执行如下命令:

systemctl start openstack-keystone
systemctl start openstack-keystone.service

如果没有生效。

参考这篇文章:https://ask.openstack.org/en/question/91371/unable-to-start-keystone/


Keystone service has been included as apache wsgi in the past releases. If you start keystone service it will fail because ports are already in use by the keystone wsgi processes.

You can check that keystone ports are bind and which process uses it with:

netstat -antupo | egrep '(5000|35357)'

To restart keystone, you can simply restart apache:

systemctl restart httpd
说keystone和apache服务放在一起,因此重启apahce即可,即执行命令

systemctl restart httpd


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值