私有云落地解决方案之openstack高可用(pike版本)-horizon

时间:2022-08-04 17:12:11

作者:【吴业亮】

博客:http://blog.csdn.net/wylfengyujiancheng

安装rpm包

# yum -y install openstack-dashboard

修改配置文件 /etc/openstack-dashboard/local_settings

ALLOWED_HOSTS = ['*', 'localhost']
OPENSTACK_API_VERSIONS = {
# "data-processing": 1.1,
"identity": 3,
"volume": 2,
"compute": 2,
}


OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '172.16.100.60:11211',
},
}

OPENSTACK_HOST = "172.16.100.50"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

重启服务

# systemctl restart httpd memcached

登录web

http://172.16.8.50/dashboard

admin/Changeme_123
demo/Changeme_123