配置horizon支持keystone v3 api
From:
https://docs.hpcloud.com/commercial/GA1/1.1commerical.services-identity-configure-v3.html
To switch Horizon from Keystone v2 to Keystone v3:
In each controller node, navigate to the local_settings.py file located in /opt/stack/venvs/openstack/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py
Edit the file as follows:
a. Set the OpenStack API version to version 3:
1 | OPENSTACK_API_VERSIONS = { |
b. Enable multi-domain support:
1 | OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True |
c. Point to Keystone V3 endpoint:
1 | OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST |
The Keystone v3 endpoint is in the format: http://
- Restart the apache server in each controller nodes:
1 | sudo service apache2 restart |