[Basic] OpenStack Installation
Basic Installation Procedure for CentOS based OpenStack
Before we use packstack
or any other commands, we need to have our OpenStack's repos and requirements set properly. Otherwise, we have to roll back our OpenStack environment, which is very painful.
0. Tips
If your
dnf
is too slow, try addingadd max_parallel_downloads=10
andfastestmirror=true
to/etc/dnf/dnf.conf
.If your OpenStack failed, just wipe out the OS and reinstall everything. I would suggest using ESXi or some other virtual devices which supports snapshots before diving into real physical devices and running with USBs with OS image.
1. Install Dependencies and Packages
With some CentOS releases, without powertools
, we are not even able to install centos-release-openstack-zed
or some other packages. Also, even if you have managed to install yoga in your environment, not having powertools
will result in failure of installation:
For example, following error will happen due to dnf install -y openstack-glance
failing due to not having proper repository:
Also, do not forget to setenforce 0
if you would not want any more headache.
When you have followed all commands, check if packages are actually able to be installed. Check this using
sudo dnf install openstack-glance
. If this fails, it means that the repositories were not set properly and PackStack will eventually fail in the future when applying puppet.
Last updated