1, the components mounted on the control node horizon
-Y APT the install openstack- Dashboard
CP /etc/openstack-dashboard/local_settings.py / etc / OpenStack-Dashboard / local_settings.py.bak official backup #
# profile
VI / etc / OpenStack-Dashboard / local_settings.py
# modified as follows
Line # 40 uncomment and the Add own hostname
allowed_hosts = [ ' controller1 ' , ' localhost ' ]
# Line 66 : Change uncomment and like Follows
OPENSTACK_API_VERSIONS = {
# " Data-Processing " :1.1,
"identity": 3,
"image": 2,
"volume": 3,
"compute": 2,
}
# line 77: uncomment and change
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
# line 99: uncomment
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
# line 170: change to your own Memcache server
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '192.168.222.29:11211',
},
}
# line203: change to your own Host
OPENSTACK_HOST = "192.168.222.29"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "member"
systemctl restart apache2 memcached
2, login web page
http://192.168.222.29/horizon/
# default,admin,adminpassword to login