OpenStack’s 9th release Icehouse is here and I decided to give it a spin. I will be performing the installation on RHEL 6.5 and what better way to try out OpenStack than Red Hat’s RDO. For starters RDO is a community version of Red Hat Enterprise Linux OpenStack Platform. Read more about RDO here.
I encountered a lot of errors during the installation and it was not as straight forward as mentioned in the RDO quick start guide. So the steps outlined here along with the changes is a result of my experience with the installation process. I performed some additional pre-requisites and ran some additional commands to ensure a smooth installation. The changes are highlighted in bold.
A desktop/laptop with decent CPU, RAM & HDD. Most newer machines with Core i3 & above with 4GB RAM would suffice.
A hypervisor like VMware Workstation, VMware Player or Virtualbox
A Linux Virtual Machine or a Linux distro to create one. For Icehouse Red Hat 6.5 is recommended. Distros like Fedora (20 or above), or similar ones based on Red Hat or Fedora like Cent OS (6.5 recommended), Scientific Linux will also do. I will be installing it on Red Hat EL 6.5 as mentioned earlier.
I would highly recommend that if using Red Hat, register the machine on RHN network. For those that don’t have one, you can get a 30 day trial but you need to use a corporate email address.
Get a Linux Virtual Machine ready. If you don’t have one, use of the compatible distributions to create one. Be sure to provide at least 2GB RAM, 2 CPU cores and most importantly make sure “H/W Virtualization like Intel VT-x/EPT or AMD-V/RVI” is enabled/checked in the virtual machine properties.
NAT worked fine for me but if you end up facing some issues with networking during installation or post installation change the networking mode to “Bridged“.
Once the virtual machine is ready, launch it.
After logging on to the Virtual Machine, open a terminal and run the below commands in order.
<strong>sudo setenforce permissive</strong>
This command is to ask SELinux not to enforce policies. I would recommend using this instead of disabling SELinux completely.
<strong>sudo yum update-y</strong>
The above command updates the current packages in the distribution. Mine was already the latest so there was nothing to do.
This command installs Puppet. I encountered numerous errors on multiple occasions during the installation related to Puppet, including a point where it failed to install Puppet properly too. So I decided to install it separately before starting the Packstack installation.
This starts the OpenStack Icehouse installation.
Once installation is complete, you will get a summary with the IP address of the Horizon Dashboard and some other services. The successful completion will look something like this screenshot below.
You are now ready to test drive OpenStack Icehouse. Open a browser and point it to the IP address for Horizon Dashboard noted earlier. The default login is “admin” and in order to get the password for the first time login, open a terminal and run the commands below as root:
This will printout the keystone credential details for admin user, note down the password.
Enter username and password at the Horizon Dashboard login screen and sing in.
Overview of the fresh setup.
We are now ready to play around with OpenStack Icehouse. This was a simple one machine installation. RDO can also be used for multiple machine installation of course with some modifications and tweaks.
If you are interested in learning more about OpenStack and getting some hands-on, we offer Red Hat OpenStack Administration (CL210) course. If you are interested, click here for more details and to fill out the form. And we will get back to you.
If you liked the post, please share and keep coming back for more articles around OpenStack.