RDO on Fedora 19

A few months back I installed RDO on a Fedora 18 and it just worked! Unfortunately I ran into a few blockers when trying to install it on Fedora 19. In this post I will describe my experiences of setting up RDO on Fedora 19 and how I made it work.

Cheat-Sheet

Here is the set of commands in order that I used to install RDO on Fedora 19. An explaination of why each was done can be found in the later sections of the post

Open /usr/lib/python2.7/site-packages/packstack/puppet/templates/nova_compute.pp

Delete lines 40 – 45 (6 lines total)

adduser jbresnah

passwd jbresnah

usermod -G wheel jbresnah

su – jbresnah

packstack –allinone –os-quantum-install=n

sed -i ‘s/cluster-mechanism/ha-mechanism/’ /etc/qpidd.conf

reboot

RDO

RDO is Red Hat’s community distribution of OpenStack. The quick start for installing it can be found here. The documentation there will be the most authoritative source as it will be kept up to date and this blog post will likely not. That said,these are the steps I had to do in order to get the present day version of Fedora 19 to work with the current packstack.

Bug 3: django14

Bug 4: qpidd

The file /etc/qpidd.cong has an invalid value in it. To correct this run the following:

sed -i 's/cluster-mechanism/ha-mechanism/' /etc/qpidd.conf

Install OpenStack with packstack

At this point we are ready to install with packstack. You need to run packstack as a non-root user:

su - jbresnah
packstack --allinone --os-quantum-install=n

Once this completes OpenStack should be installed and all set. From there proceed with the instructions in the RDO Quick Start starting here.

Note: Running RDO in a Fedora 19 VM on Fedora 19

I tried this out in a VM and had some trouble. My host OS is Fedora 19 and the VM in which I was installing RDO was also Fedora 19. The problem is that on both the host and the guest the IP address for the network bridge was the same: 192.168.122.1. This ultimately cause a failure in packstack:

ERROR : Error during puppet run : Error: /usr/sbin/tuned-adm profile virtual-host returned 2 instead of one of [0]

Thanks Pádraig! Please note that I am not suggesting that what I did was the best way to get packstack running on Fedora 19, it is just the way that worked for me st the time when I did it. I did run into the django14 issue when I did this installation earlier this week. I again refer everyone to the RDO site for complete instructions.