Posts

Showing posts from June, 2017

Configure CentOS 7 based Ansible provisioning server for OpenStack

To configure a CentOS 7 system as ansible provisioning server for OpenStack environment we need the following packages to be installed: gcc python-devel python-pip pbr python-openstackclient shade But these packages need to be installed in a sequence, else you may get some dependency related errors. Steps to install the above packages: 1. Install epel repo and gcc package on CentOS 7 system:    # yum install gcc epel-release -y 2. Install ansible using yum:    # yum install ansible -y 3. Install python-devel and python-pip    # yum install python-devel python-pip -y  4. Now use pip to upgrade python-pip package:     # pip install --trusted-host pypi.python.org --upgrade pip    Collecting pip    Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)     100% |████████████████████████████████| 1.3MB 203kB/s    Installing collected packages: pip    Found existing installation: pip 8.1.2     Uninstalling pip-8.1.2:       Successfully uninstalled