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:

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20repolist%20%0ALoaded%20plugins%3A%20fastestmirror%0ALoading%20mirror%20speeds%20from%20cached%20hostfile%0A%C2%A0*%20base%3A%20mirror.bitco.co.za%0A%C2%A0*%20epel%3A%20ftp-stud.hs-esslingen.de%0A%C2%A0*%20extras%3A%20mirror.bitco.co.za%0A%C2%A0*%20updates%3A%20mirror.bitco.co.za%0Arepo%20id%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%20repo%20name%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%20status%0Abase%2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2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%20991%0Arepolist%3A%2020%2C894%0A%5Broot%40controller%20~%5D%23%C2%A0″/]

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

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20cat%20%2Fetc%2Fyum.repos.d%2Fepel.repo%20%7C%20grep%20enabled%0Aenabled%3D1%0Aenabled%3D0%0Aenabled%3D0%0A%5Broot%40controller%20~%5D%23%20cat%20%2Fetc%2Fyum.repos.d%2Frdo-release.repo%20%7C%20grep%20enabled%0Aenabled%3D1%0A%5Broot%40controller%20~%5D%23″/]

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:

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20-y%20install%20python-openstackclient%20openstack-keystone%20openstack-utils%20python-memcached%0A”/]

  • Install OpenStack Image Service ( Glance) Service:

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20-y%20install%20openstack-glance%0A”/]

  • Install OpenStack Compute Service (Nova):

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20-y%20install%20openstack-nova%20openstack-nova-network%20openstack-nova-compute%20openstack-nova-api%0A”/]

  • Install OpenStack Dashboard (Horizon) Service:

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20-y%20install%20openstack-dashboard%20openstack-nova-novncproxy%0A”/]

  • Install OpenStack Network (Neutron) Service:

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20-y%20install%20openstack-neutron%20openstack-neutron-ml2%20openstack-neutron-linuxbridge%20python-neutronclient%20ebtables%20ipset%0A”/]

  • Install OpenStack Block Storage (Cinder) Service:

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20-y%20install%20openstack-cinder%20targetcli%0A”/]

  • Install OpenStack Object Storage (Swift) Service:

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20-y%20install%20openstack-swift-proxy%20openstack-swift-account%20xfsprogs%20openstack-swift-container%20openstack-swift-object”/]

  • Install OpenStack Orchestration Service (Heat) Service:

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20-y%20install%20openstack-heat-common%20python-heatclient%20openstack-heat-api%20openstack-heat-engine%20openstack-heat-api-cfn”/]

  • Install OpenStack Metering Service (Ceilometer) Service:

[pastacode lang=”bash” message=”” highlight=”” provider=”manual” manual=”%5Broot%40controller%20~%5D%23%20yum%20-y%20install%20openstack-ceilometer-api%20openstack-ceilometer-compute%20openstack-ceilometer-central%20openstack-ceilometer-collector%20openstack-ceilometer-alarm%20openstack-ceilometer-notification%20python-ceilometerclient%20python-oslo-policy%20python-ceilometer%20python-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: 
 
You can support us by downloading this article as PDF from the Link below. Download the guide as PDF