安裝devstack產生的問題

問題一: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數據庫刪掉,重新建立即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章