7.openstack之mitaka搭建dashboard

部署控制面板dashboard

控制节点

1.安装软件包

yum install openstack-dashboard -y

2.配置

vim /etc/openstack-dashboard/local_settings


OPENSTACK_HOST = "controller01"

ALLOWED_HOSTS = ['*', ]

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

CACHES = {
    'default': {
         'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
         'LOCATION': 'controller: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 = "UTC"

3.启动服务

systemctl enable httpd.service memcached.service
systemctl restart httpd.service memcached.service

4.验证

http://IP/dashboard
posted @ 2016-10-23 03:00  刘耀  阅读(829)  评论(0编辑  收藏  举报