Monday 25 November 2019

How to Install Open Stack Client on CentOS 8 (pip Installation)




OpenStack Client is a free and open source command-line tool, which allow to manage OpenStack components i.e. Compute, Identity, Image, Object Storage and Block Storage APIs together over the network.

This article describes How to install and Configure Open Stack Client on CentOS8.

Step 1. Prerequisites Installation: Run the following command to install open stack client prerequisites python2-devel and python2-pip installation:

[root@linuxcnf ~]# dnf install python2 python2-devel python2-pip gcc -y
……………………..
Installed:
  gcc-8.2.1-3.5.el8.x86_64                                                         python2-2.7.15-24.module_el8.0.0+193+7850e68f.x86_64
  python2-devel-2.7.15-24.module_el8.0.0+193+7850e68f.x86_64                       python2-pip-9.0.3-13.module_el8.0.0+32+017b2cba.noarch
……………………..
  kernel-headers-4.18.0-80.11.2.el8_0.x86_64                                       libxcrypt-devel-4.1.1-4.el8.x86_64
  unzip-6.0-41.el8.x86_64                                                          zip-3.0-23.el8.x86_64

Complete!
[root@linuxcnf ~]#

Step 2. Open Stack Client Installation: Run the following command to install open stack client packages:

[root@linuxcnf ~]# pip2.7 install python-openstackclient
…………………….
  Running setup.py install for functools32 ... done
  Running setup.py install for warlock ... done
Successfully installed Babel-2.7.0 PrettyTable-0.7.2
…………………….
subprocess32-3.5.4 unicodecsv-0.14.1 urllib3-1.25.7 warlock-1.3.3 wcwidth-0.1.7 wrapt-1.11.2 zipp-0.6.0
[root@linuxcnf ~]#

Step 3. Verification: Run the following command to verify the installation of Open Stack CLI:

[root@linuxcnf ~]# openstack --version
openstack 4.0.0
[root@linuxcnf ~]#

[root@linuxcnf ~]# which openstack
/usr/bin/openstack
[root@linuxcnf ~]#

Done!!! Open Stack CLI is successfully installed, and ready to be used.

No comments:

Post a Comment