Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install dashboard in openstack-mitaka

Shulou Source: shulou.com Published: 2022-06-01 01:43:03 09月22日 Update

Editor to share with you how to install dashboard in openstack-mitaka, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Install and configure components

1. Install the package

Yum install openstack-dashboard

two。 Edit the / etc/openstack-dashboard/local_settings file and modify the operation:

L configure dashboard to use OpenStack services at the control node

OPENSTACK_HOST = "controller"

L allow all hosts to access dashboard

ALLOWED_HOSTS = ['*',]

L configure memcached session storage service

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

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

L Open Identity API version 3

OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3"% OPENSTACK_HOST

L enable support for domains

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

L configure API version

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

L configure default as the default domain when creating users through dashboard

OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default"

L configure user as the default role when creating users through dashboard

OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

L how to choose network mode 1, you need to turn off support for layer-3 network services (previously selected mode 2, so ignored here)

OPENSTACK_NEUTRON_NETWORK = {... 'enable_router': False, 'enable_quotas': False,' enable_distributed_router': False, 'enable_ha_router': False,' enable_lb': False, 'enable_firewall': False,' enable_vpn': False, 'enable_fip_topology_check': False,}

L configure when time and space

TIME_ZONE = "TIME_ZONE"

Replace TIME_ZONE with the appropriate time and space identifier. For more information, see list of time zones.

Complete the installation

1. Restart the web server and session storage service

Systemctl restart httpd.service memcached.service authentication operation

Access http://controller/dashboard with browser

Account number: admin/admin or demo / demo

Domain: default

The above is all the contents of the article "how to install dashboard in openstack-mitaka". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Configuration services articles content time more patterns versions users space network storage support selection appropriate not much hosts information most files Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Apple Redmi NVidia OPPO Reno