搭建openstack环境时出现的问题

penstack环境搭建程度(安装完keystone) 然后运行 openstack domain create --description "An Example Domain" example 出现报错 An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-5e6811f3-0671-4615-88aa-00f35b1e9258) 解决方法: vim /etc/keystone/keystone.conf connection = mysql://keystone:redhat@localhost/keystone 解决方法一:去掉原先的 connection = mysql+pymysql://keystone:KEYSTONE_DBPASS@controller/keystone 然后按照官方指导从下面的命令开始重新操作一遍 su -s /bin/sh -c "keystone-manage db_sync" keystone 解决方法二: 数据库中授权 grant all privileges on keystone.* to 'keystone'@'controller' identified by 'redhat'; 然后按照官方指导从下面的命令开始重新操作一遍 su -s /bin/sh -c "keystone-manage db_sync" keystone

猜你喜欢

转载自www.cnblogs.com/zjsylg/p/9858187.html