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

[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 issue
Password: 
An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-897ea566-23d7-4436-8394-2fabf00de7f9)

哔哔one
浏览 2044回答 2
2回答

一只萌萌小番薯

我的环境:CentOS7 + OpenStack Liberty这个问题可能是因为我把controller的localhost改成controller了,在/etc/hostname中那么这个问题出现之后,我在每个服务中都需要使用两个database的认证vi /etc/keystone/keystone.confconnection = mysql://keystone:pass@controller/keystoneconnection = mysql://keystone:pass@localhost/keystone # new line added to suppress HTTP 500 errorAfter 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" keystoneRestart the Identity Service: sudo systemctl enable openstack-keystone.service sudo systemctl start openstack-keystone.service这样就可以了。OpenStack中还有有很多坑的。记录一下。

子衿沉夜

缺少哪个 对应下载哪个的rpm包rpm -ivh xxx安装即可
打开App,查看更多内容
随时随地看视频慕课网APP