Skip to content

Home Lab

Notes from my learning sessions

Menu
Menu

Tag: train

Launching an instance

Posted on October 22, 2020September 27, 2021 by sandeep

Prior to launching an instance in the non-admin user project space, first we need to create flavor(s) and provider network. Login in as admin user and access Admin -> Compute -> Flavors -> Create Flavor Create a provider network, access Admin -> Networks -> Create Network Next we have to enter the provider network details….

Read more

Cinder – Block storage services – Storage Nodes

Posted on October 11, 2020October 21, 2020 by sandeep

In my case all the three compute nodes will also be storage nodes. In all the three nodes had created a single virtual disk in RAID controller. /dev/sda1 was use for efi boot and /dev/sda2 for OS installation. a new partition /dev/sda3 was created for the remaining space. Install the supporting utility packages apt install…

Read more

Cinder – Block storage service – Controller node

Posted on October 11, 2020October 21, 2020 by sandeep

Compute nodes will also be used as storage nodes. However we need to install the services in controller node. Create the database, grant privileges CREATE DATABASE cinder; GRANT ALL PRIVILEGES ON cinder.* TO ‘cinder’@’localhost’ IDENTIFIED BY ‘commonpass’; GRANT ALL PRIVILEGES ON cinder.* TO ‘cinder’@’%’ IDENTIFIED BY ‘commonpass’; FLUSH PRIVILEGES; exit Create service credentials . admin-openrc…

Read more

Horizon – Dashboard on Controller Node

Posted on October 11, 2020October 21, 2020 by sandeep

Install the packages (on controller node) apt install -y openstack-dashboard Update configurations – Edit /etc/openstack-dashboard/local_settings.py # Replaced 127.0.0.1 with controller OPENSTACK_HOST = “controller” # ALLOWED_HOSTS : Not the one at the end of configuration file # under ubuntu section, but the one at the top for configuration # file ALLOWED_HOSTS = ‘controller.xxxxxxx.net’ # Replaced existing…

Read more

Neutron – Networking service on Compute nodes

Posted on October 11, 2020October 20, 2020 by sandeep

Install the component(s) apt install -y neutron-linuxbridge-agent Edit /etc/neutron/neutron.conf and update the configurations in respective sections [ Replace local ip with the management ip of the compute node ] [DEFAULT] transport_url = rabbit://openstack:commonpass@controller auth_strategy = keystone [keystone_authtoken] www_authenticate_uri = http://controller:5000 auth_url = http://controller:5000 memcached_servers = controller:11211 auth_type = password project_domain_name = default user_domain_name = default…

Read more

Neutron – Networking service on Controller node

Posted on October 10, 2020October 20, 2020 by sandeep

Create database and grant privileges CREATE DATABASE neutron; GRANT ALL PRIVILEGES ON neutron.* TO ‘neutron’@’localhost’ IDENTIFIED BY ‘commonpass’; GRANT ALL PRIVILEGES ON neutron.* TO ‘neutron’@’%’ IDENTIFIED BY ‘commonpass’; FLUSH PRIVILEGES; exit Create neutron user and add admin role . admin-openrc openstack user create –domain default –password-prompt neutron openstack role add –project service –user neutron admin…

Read more

Nova – Compute services on Compute nodes

Posted on October 10, 2020October 20, 2020 by sandeep

Install the packages apt install -y nova-compute Update following configurations in respective sections of /etc/nova/nova.conf [ Replace my_ip with the management ip of the compute node] [DEFAULT] transport_url = rabbit://openstack:commonpass@controller my_ip = 10.1.1.x use_neutron = true firewall_driver = nova.virt.firewall.NoopFirewallDriver [api] auth_strategy = keystone [keystone_authtoken] www_authenticate_uri = http://controller:5000/ auth_url = http://controller:5000/ memcached_servers = controller:11211 auth_type =…

Read more

Nova – Compute services on Controller node

Posted on October 9, 2020October 20, 2020 by sandeep

Create the required databases and grant previleges CREATE DATABASE nova_api; CREATE DATABASE nova; CREATE DATABASE nova_cell0; GRANT ALL PRIVILEGES ON nova_api.* TO ‘nova’@’localhost’ IDENTIFIED BY ‘commonpass’; GRANT ALL PRIVILEGES ON nova_api.* TO ‘nova’@’%’ IDENTIFIED BY ‘commonpass’; GRANT ALL PRIVILEGES ON nova.* TO ‘nova’@’localhost’ IDENTIFIED BY ‘commonpass’; GRANT ALL PRIVILEGES ON nova.* TO ‘nova’@’%’ IDENTIFIED BY…

Read more

Placement services on Controller Node

Posted on October 9, 2020October 20, 2020 by sandeep

Create the database and grant privileges CREATE DATABASE placement; GRANT ALL PRIVILEGES ON placement.* TO ‘placement’@’localhost’ IDENTIFIED BY ‘commonpass’; GRANT ALL PRIVILEGES ON placement.* TO ‘placement’@’%’ IDENTIFIED BY ‘commonpass’; FLUSH PRIVILEGES; exit Create a placement service user . admin-openrc openstack user create –domain default –password-prompt placement Add the Placement user to the service project with…

Read more

Glance – Image Service on Controller Node

Posted on October 9, 2020October 20, 2020 by sandeep

Create database and grant privileges (from MySQL prompt) CREATE DATABASE glance; GRANT ALL PRIVILEGES ON glance.* TO ‘glance’@’localhost’ IDENTIFIED BY ‘commonpass’; GRANT ALL PRIVILEGES ON glance.* TO ‘glance’@’%’ IDENTIFIED BY ‘commonpass’; FLUSH PRIVILEGES; exit Create glance user . admin-openrc openstack user create –domain default –password-prompt glance Add the admin role to the glance user and service project openstack role add –project…

Read more
  • 1
  • 2
  • Next

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
© 2022 Home Lab | Powered by Minimalist Blog WordPress Theme