Enabling domains in the OpenStack dashboard

If you are using multiple domains in your OpenStack environment, you will need to enable them in the OpenStack dashboard (Horizon) as well. To do so, the OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT variable in Horizon settings needs to be set to True. In this example, we will show you how to do so using OpenStack Ansible playbook.

Getting ready

We are going to use Ansible to update Horizon settings. Make sure that you have access to your openstack-ansible deployment host.

How to do it…

To enable multidomain support in the OpenStack dashboard, we will update one horizon variable, OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT in local_settings.py using the openstack-ansible deployment tool. First, you will need to connect ...

Get OpenStack Cloud Computing Cookbook - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.