这里把dashboard安装在controller节点上。

1、安装程序包

# yum install -y openstack-dashboard

2、修改配置文件

# vim /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',
    }
}

Enable the Identity API version 3:
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

OPENSTACK_API_VERSIONS = {
    "identity": 3,
    "image": 2,
    "volume": 2,
}

OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default"

OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

configure the time zone:
TIME_ZONE = "Asia/Shanghai"

3、重启httpd和memcached服务

# systemctl restart httpd.service memcached.service

4、验证

用浏览器访问 http://controller/dashboard

使用admin账号或demo账号登录。

安装配置openstack-dashboard(horizon)

概览

安装配置openstack-dashboard(horizon)

网络拓扑

安装配置openstack-dashboard(horizon)

相关文章:

  • 2021-06-02
  • 2022-02-20
  • 2021-06-09
  • 2022-12-23
  • 2021-11-13
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-13
  • 2021-04-10
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2021-10-09
相关资源
相似解决方案