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:

[root@controller ~]# yum repolist 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.bitco.co.za
 * epel: ftp-stud.hs-esslingen.de
 * extras: mirror.bitco.co.za
 * updates: mirror.bitco.co.za
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
[root@controller ~]# 

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

[root@controller ~]# cat /etc/yum.repos.d/epel.repo | grep enabled
enabled=1
enabled=0
enabled=0
[root@controller ~]# cat /etc/yum.repos.d/rdo-release.repo | grep enabled
enabled=1
[root@controller ~]#

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:
[root@controller ~]# yum -y install python-openstackclient openstack-keystone openstack-utils python-memcached
  • Install OpenStack Image Service ( Glance) Service:
[root@controller ~]# yum -y install openstack-glance
  • Install OpenStack Compute Service (Nova):
[root@controller ~]# yum -y install openstack-nova openstack-nova-network openstack-nova-compute openstack-nova-api
  • Install OpenStack Dashboard (Horizon) Service:
[root@controller ~]# yum -y install openstack-dashboard openstack-nova-novncproxy
  • Install OpenStack Network (Neutron) Service:
[root@controller ~]# yum -y install openstack-neutron openstack-neutron-ml2 openstack-neutron-linuxbridge python-neutronclient ebtables ipset
  • Install OpenStack Block Storage (Cinder) Service:
[root@controller ~]# yum -y install openstack-cinder targetcli
  • Install OpenStack Object Storage (Swift) Service:
[root@controller ~]# yum -y install openstack-swift-proxy openstack-swift-account xfsprogs openstack-swift-container openstack-swift-object
  • Install OpenStack Orchestration Service (Heat) Service:
[root@controller ~]# yum -y install openstack-heat-common python-heatclient openstack-heat-api openstack-heat-engine openstack-heat-api-cfn
  • Install OpenStack Metering Service (Ceilometer) Service:
[root@controller ~]# 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.

PREVIOUS ARTICLE:

Openstack Liberty Lab PART ONE: Setup Networking and all Prerequisites

NEXT ARTICLE: