Menu
Online Notes
  • Privacy Policy
Online Notes

Tag: 18.04

Launching an instance

Posted on October 22, 2020 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….

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…

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…

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…

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…

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…

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 =…

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…

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…

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…

  • 1
  • 2
  • Next

Recent Posts

  • Launching an instance
  • Removing compute node/host from an Openstack deployment
  • Cinder – Block storage services – Storage Nodes
  • Cinder – Block storage service – Controller node
  • Horizon – Dashboard on Controller Node
  • Neutron – Networking service on Compute nodes
  • Neutron – Networking service on Controller node
  • Nova – Compute services on Compute nodes
  • Nova – Compute services on Controller node
  • Placement services on Controller Node

Recent Comments

  • Adding ClamAV Anti-virus checks to existing Postfix, Amavis+Spamassasin configuration – Online Notes on Configuring secure mail server using Postfix with Dovecot, Amavis, Spamassasin, Postgrey and OpenDKIM

Archives

  • October 2020
  • February 2020
  • January 2020
  • December 2019

Categories

  • Howto
  • Installation Steps
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2021 Online Notes | Powered by WordPress & Superb Themes