安装OpenStack QUEENS版本六:dashboard
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装OpenStack QUEENS版本六:dashboard相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章