Skip to content

Home Lab

Notes from my learning sessions

Menu
Menu

Openstack Xena on Ubuntu 20.04 – Horizon

Posted on December 19, 2021April 17, 2022 by sandeep

[  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) ]

Recent Posts

  • Openstack Xena on Ubuntu 20.04 – Cinder
  • Preparing custom Debian 11 MATE image
  • Setup Ubuntu 20.04 repository mirror server
  • Preparing custom Debian 11 server cloud image
  • Complile Linux Kernel (on Debian 11)
  • Openstack Xena – Test Home Lab
  • Openstack Xena on Ubuntu 20.04 – Horizon
  • Openstack Xena on Ubuntu 20.04 -Home Lab
  • Openstack Xena on Ubuntu 20.04 – Neutron
  • Openstack Xena on Ubuntu 20.04 – Nova

Archives

  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • October 2021
  • September 2021
  • October 2020
  • February 2020
  • January 2020
  • December 2019
© 2023 Home Lab | Powered by Minimalist Blog WordPress Theme