dashboard部署

版权声明:文章转发需标明文章出处地址及作者 https://blog.csdn.net/weixin_44267608/article/details/89314670

openstack必须安装此服务,才能登录web界面

部署

环境:chen1:192.168.1.13
下载
yum -y install openstack-dashboard

编辑文件
cp /etc/openstack-dashboard/local_settings /etc/openstack-dashboard/local_settings.bak
vim /etc/openstack-dashboard/local_settings #更改以下选项

OPENSTACK_HOST = "chen1"

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': 'chen1:11211',
    },
}

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

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"

ALLOWED_HOSTS = ['horizon.example.com', 'localhost','*']

之后重启相关服务
systemctl restart httpd.service memcached.service

之后在网页上登录即可
192.168.1.13/dashboard

猜你喜欢

转载自blog.csdn.net/weixin_44267608/article/details/89314670