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中還有有很多坑的。記錄一下。
- 2 回答
- 0 關注
- 2175 瀏覽
添加回答
舉報