为了账号安全,请及时绑定邮箱和手机立即绑定

安装openstack验证keystone时出现错误怎么处理,求大神处理?

安装openstack验证keystone时出现错误怎么处理,求大神处理?

哔哔one 2019-02-14 15:11:34
[root@linux-node1 ~]# openstack --os-auth-url http://192.168.1.11:35357/v3 --os-project-domain-id default --os-user-domain-id default --os-project-name admin --os-username admin --os-auth-type password token issuePassword: An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-897ea566-23d7-4436-8394-2fabf00de7f9)
查看完整描述

2 回答

?
一只萌萌小番薯

TA贡献1795条经验 获得超7个赞

我的环境:CentOS7 + OpenStack Liberty
这个问题可能是因为我把controller的localhost改成controller了,在/etc/hostname中
那么这个问题出现之后,我在每个服务中都需要使用两个database的认证
vi /etc/keystone/keystone.conf
connection = mysql://keystone:pass@controller/keystone
connection = mysql://keystone:pass@localhost/keystone # new line added to suppress HTTP 500 error
After that run these commands again to reflect keystone.conf changes made,
Populate the database tables for the Identity Service:
su -s /bin/sh -c "keystone-manage db_sync" keystone
Restart the Identity Service: sudo systemctl enable openstack-keystone.service sudo systemctl start openstack-keystone.service
这样就可以了。OpenStack中还有有很多坑的。记录一下。

查看完整回答
反对 回复 2019-03-07
?
子衿沉夜

TA贡献1828条经验 获得超3个赞

缺少哪个 对应下载哪个的rpm包
rpm -ivh xxx安装即可

查看完整回答
反对 回复 2019-03-07
  • 2 回答
  • 0 关注
  • 2033 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信