openstack 部署笔记--dashboard

Posted 三木燕

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openstack 部署笔记--dashboard相关的知识,希望对你有一定的参考价值。

控制节点

# yum install openstack-dashboard
# vim /etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "keystone.downtown8.cn"
ALLOWED_HOSTS = [‘openstack.downtown8.cn‘]

SESSION_ENGINE = ‘django.contrib.sessions.backends.cache‘

CACHES = {
    ‘default‘: {
         ‘BACKEND‘: ‘django.core.cache.backends.memcached.MemcachedCache‘,
         ‘LOCATION‘: ‘cache.downtown8.cn:11211‘,
    }
}

OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

OPENSTACK_API_VERSIONS = {
    "identity": 3,
    "image": 2,
    "volume": 2,
}

OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default"

OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

TIME_ZONE = "Asia/Shanghai"
# systemctl restart httpd.service memcached.service

  

 

以上是关于openstack 部署笔记--dashboard的主要内容,如果未能解决你的问题,请参考以下文章

OpenStack 运维 - 部署Dashboard组件 [T版]

OpenStack 运维 - 部署Dashboard组件 [T版]

OpenStack 运维 - 部署Dashboard组件 [T版]

openstack部署dashboard

OpenStack的部署之Dashboard项目(7-7)

OpenStack的部署之Dashboard项目(7-7)