背景
给子公司新部署好一套Openstack集群,验证功能时,无意间发现在创建project时出现加载图标之后瞬间关闭的情况,然后验证其他功能是页面有报 Error: Could not find default role "user" in Keystone,这个错误就比较明显了,可以参看下图

解决方法
通过上面的报错我们可以基本判断在role中没有user,那么我们手动创建一个试试
命令方式创建
source admin-openrc
openstack role create user
web方式创建看下图

验证结果
创建project页面显示出来了,也不在有提示user不存在的错误

网友评论