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

2025年05月05日 02:47
有2个网友回答
网友(1):

我的环境: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中还有有很多坑的。记录一下。

网友(2):

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