You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

After completing Part one of Openstack Lab guide series:

Openstack Liberty Lab PART ONE: Setup Networking and all Prerequisites

We’re ready to install Openstack packages in this part two guide. From Part three we’ll start doing configurations.All packages that we’ll install include:

  1. Openstack OpenStack Identity (keystone) Service
  2. OpenStack Image Service ( Glance) Service
  3. OpenStack Compute Service (Nova)
  4. OpenStack Dashboard (Horizon) Service
  5. OpenStack Network (Neutron) Service
  6. OpenStack Block Storage (Cinder) Service
  7. OpenStack Object Storage (Swift) Service
  8. OpenStack Orchestration Service (Heat) Service
  9. OpenStack Metering Service (Ceilometer) Service

We’ll later do configurations in order of installation. From Keystone and finishing with configuration of ceilometer metering service.Without much theory, let’s start installing above services.
NOTE: You must have both epel and rdo-release repositories enabled. To see  list of enabled repos in CentOS/ RHEL, do:

[[email protected] ~]# yum repolist 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
repo id                   repo name                                       status
base/7/x86_64             CentOS-7 - Base                                 9,007
epel/x86_64               Extra Packages for Enterprise Linux 7 - x86_64  9,692
extras/7/x86_64           CentOS-7 - Extras                                 228
openstack-liberty/x86_64  OpenStack Liberty Repository                      976
updates/7/x86_64          CentOS-7 - Updates                                991
repolist: 20,894
[[email protected] ~]# 
repolist enabled repos

Additionally, you can cat and grep enabled from repo contents:

[[email protected] ~]# cat /etc/yum.repos.d/epel.repo | grep enabled
[[email protected] ~]# cat /etc/yum.repos.d/rdo-release.repo | grep enabled
[[email protected] ~]#

From epel repo output, we only require first repo to be enabled, which is contain stable Extra Packages for Enterprise Linux 7.
Since the repos that we need are enabled, we can proceed to installation of Openstack service packages.
Remember that this is Openstack Libery ALL IN ONE installation, we’re running all openstack services on a single node server.

  • Install Openstack OpenStack Identity (keystone) Service:
[[email protected] ~]# yum -y install python-openstackclient openstack-keystone openstack-utils python-memcached
  • Install OpenStack Image Service ( Glance) Service:
[[email protected] ~]# yum -y install openstack-glance
  • Install OpenStack Compute Service (Nova):
[[email protected] ~]# yum -y install openstack-nova openstack-nova-network openstack-nova-compute openstack-nova-api
  • Install OpenStack Dashboard (Horizon) Service:
[[email protected] ~]# yum -y install openstack-dashboard openstack-nova-novncproxy
  • Install OpenStack Network (Neutron) Service:
[[email protected] ~]# yum -y install openstack-neutron openstack-neutron-ml2 openstack-neutron-linuxbridge python-neutronclient ebtables ipset
  • Install OpenStack Block Storage (Cinder) Service:
[[email protected] ~]# yum -y install openstack-cinder targetcli
  • Install OpenStack Object Storage (Swift) Service:
[[email protected] ~]# yum -y install openstack-swift-proxy openstack-swift-account xfsprogs openstack-swift-container openstack-swift-object
  • Install OpenStack Orchestration Service (Heat) Service:
[[email protected] ~]# yum -y install openstack-heat-common python-heatclient openstack-heat-api openstack-heat-engine openstack-heat-api-cfn
  • Install OpenStack Metering Service (Ceilometer) Service:
[[email protected] ~]# yum -y install openstack-ceilometer-api openstack-ceilometer-compute openstack-ceilometer-central openstack-ceilometer-collector openstack-ceilometer-alarm openstack-ceilometer-notification python-ceilometerclient python-oslo-policy python-ceilometer python-ceilometerclient

We have installed all Openstack services that we’ll configure in the coming parts of the series. If you would like to install other Openstack service packages like Load balancer,Firewall,Trove and others, you can do them here as well.


Openstack Liberty Lab PART ONE: Setup Networking and all Prerequisites

You can support us by downloading this article as PDF from the Link below. Download the guide as PDF


Please enter your comment!
Please enter your name here