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….
Tag: train
Cinder – Block storage services – Storage Nodes
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
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
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
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
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
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
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
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
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…