OpenStack(Queens)搭建之Dashboard-controller节点
一:安装Dashboard组件
yum install openstack-dashboard -y
二:编辑 /etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "172.30.200.31"
ALLOWED_HOSTS = ['*',]
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '172.16.14.224:11211',
}
}
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOSTOPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
OPENSTACK_API_VERSIONS = {
"identity": 3,
"image": 2,
"volume": 2,
}OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default"
:OPENSTACK_NEUTRON_NETWORK = {
'enable_router': False, 'enable_quotas': False, 'enable_distributed_router': False, 'enable_ha_router': False, 'enable_lb': False, 'enable_firewall': False, 'enable_vpn': False, 'enable_fip_topology_check': False,
}
TIME_ZONE = "Asia/Shanghai"
三:重启HTTP和Memcached服务
systemctl restart httpd memcached
四:验证登陆
在浏览器输入http://172.30.200.31/dashboard.,访问openstack的web页面
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于