dashboard

yum install  openstack-dashboard

vi /etc/openstack-dashboard/local_settings
OPENSTACK_HOST= "CONTROLLER"
ALLOWED_HOSTS=['*',]

配置memcached 会话存储服务
SESSION_ENGINE = 'django.contrib.session.backends.cache'

CACHES = {
'default' = {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
         'LOCATION': 'controller:11211',

}
}  //'注释其他的回话存储服务
   启用第三版 认证API
OPENSTACK_KEYSTONE_URL="http://%s:5000/v3" % OPENSTACK_HOST

启用对域的支持

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT  =True

配置API版本
OPENSTACK_API_VERSION = {
"identify": 3,
"image": 2,
"volume": 2,
}


通过仪表盘创建用户时默认域配置为default
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default"
默认角色为user
OPENSTACK_KEYSTONE_DEFAULT_ROLE="user"

TIME_ZONE="CN"

systemctl restart httpd.service memcached.service

 

你可能感兴趣的:(dashboard)