[ Previous: Home Lab (7/9) ] [ 8/9: Horizon ] [ Next: Cinder (9/9) ]
Install package.
apt -y install openstack-dashboard
Update configurations in /etc/openstack-dashboard/local_settings.py as shown below (changes in green)
# Modify
CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '10.0.3.1:11211', }, } OPENSTACK_HOST = "10.0.3.1" OPENSTACK_KEYSTONE_URL = "http://10.0.3.1:5000/v3" TIME_ZONE = "Asia/Kolkata"
#Add
SESSION_ENGINE = "django.contrib.sessions.backends.cache" OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
Restart apache2
systemctl restart apache2
We need to allow users to access VM details and console access – Create /etc/nova/policy.json with the following contents
{ "os_compute_api:os-extended-server-attributes": "rule:admin_or_owner", }
Update access rights
chmod 640 /etc/nova/policy.json chgrp nova /etc/nova/policy.json
Restart nova-api service
systemctl restart nova-api
[ Previous: Home Lab (7/9) ] [ 8/9: Horizon ] [ Next: Cinder (9/9) ]