码迷,mamicode.com
首页 > 其他好文 > 详细

安装OpenStack QUEENS版本六:dashboard

时间:2018-08-06 17:14:16      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:art   restart   vol   blog   iap   net   neutron   rest   pre   

yum install openstack-dashboard -y
Edit the /etc/openstack-dashboard/local_settings file

vim /etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "controller"
ALLOWED_HOSTS = [‘horizon.example.com‘, ‘localhost‘, ‘controller‘, ‘192.168.137.36‘]
SESSION_ENGINE = ‘django.contrib.sessions.backends.cache‘

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

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

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

"data-processing": 1.1,

"identity": 3,
"image": 2,
"volume": 2,

"compute": 2,

}

OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = ‘Default‘
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

OPENSTACK_NEUTRON_NETWORK = {
‘enable_router‘: True,
‘enable_quotas‘: True,
‘enable_ipv6‘: True,
‘enable_distributed_router‘: False,
‘enable_ha_router‘: False,
‘enable_fip_topology_check‘: True,
}

TIME_ZONE = "Asia/Shanghai"

vim /etc/httpd/conf.d/openstack-dashboard.conf
WSGIApplicationGroup %{GLOBAL}

systemctl restart httpd.service memcached.service
systemctl status httpd.service memcached.service

http://192.168.137.36/dashboard
admin password

技术分享图片

技术分享图片

安装OpenStack QUEENS版本六:dashboard

标签:art   restart   vol   blog   iap   net   neutron   rest   pre   

原文地址:http://blog.51cto.com/andyliu/2155356

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!