openstack on centos 7.1(dashboard)

来源:互联网 发布:编程人生 编辑:程序博客网 时间:2024/06/18 13:51

1.Install and configure

Install and configure components

yum install openstack-dashboard

/etc/openstack-dashboard/local_settings

OPENSTACK_HOST = "controller"ALLOWED_HOSTS = ['*', ]SESSION_ENGINE = 'django.contrib.sessions.backends.cache'CACHES = {    'default': {         'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',         'LOCATION': 'controller:11211',    }}OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOSTOPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = TrueOPENSTACK_API_VERSIONS = {    "identity": 3,    "image": 2,    "volume": 2,}OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default"OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"TIME_ZONE = "TIME_ZONE" #Replace TIME_ZONE with an appropriate time zone identifier

Finalize installation

systemctl restart httpd.service memcached.service

Verify operation

http://controller/dashboard
0 0