问题一:Didn’t find service registered by hostname after 120 seconds
解决方法:
执行
./unstack
在local.conf中加入
enable_service placement-api
执行
./stack

问题二:
An unexpected error prevented the server from fulfilling your request. (HTTP 500 ) (Request-ID: req-37b73ba5-293b-4df5-af56-1e954851df3f)
查看/var/log/keystone/keystone-manage
Error: (pymysql.err.InternalError) (1071, u‘Specified key was too long; max key length is 767 bytes‘) [SQL: u‘\nCREATE TABLE migrate_ver
解决方法,把/etc/mysql/mariadb.conf/所有的配置文件中的字符集格式全改为utf8,然后把keystone数据库删掉,重新建立即可。