How To: install packstack allinone on Fedora 20 with an existing external network [closed]

asked 2014-03-03 08:15:40 -0500

pheitman gravatar image

I have to admit that it took me days of research and many attempts to successfully install a working instance of openstack on a standalone computer running Fedora 20. I tried many times attempting to install on VMWare and VirtualBox virtual machines, but finally gave up and started installing on a spare disk on my computer at home. Once I started having success I decided to document the process. Here are my instructions in case it helps anyone else. Note that most of this information is available, yet most of it is in pieces. This is my attempt to put all of the steps I needed in one place.

Goal: install a working openstack allinone deployment on Fedora 20 with an existing external network

Environment: This machine is at home which means that it uses DHCP to acquire a local address from my router. The router is the DHCP and DNS server for the home network. My machine gets the address and the router is I am running Fedora 20. My installation automatically created em1 (not eth0).

yum -y update

# enable sshd
systemctl enable sshd
systemctl start sshd

# enable zfs-fuse
yum -y install zfs-fuse
systemctl enable zfs-fuse
systemctl start zfs-fuse

# do initial setup of openvswitch

# this is following "openstack packstack installation with external connectivity"
# (

yum -y install openvswitch

# Make /etc/sysconfig/network-scripts/ifcfg-br-ex resemble this:

cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-br-ex

# Make /etc/sysconfig/network-scripts/ifcfg-em1 resemble this (but change the HWADDR and UUID to match what is currently in ifcfg-em1

cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-em1

# stop using NetworkManager, start using network

systemctl stop NetworkManager
systemctl disable NetworkManager

systemctl enable network


# once we are back from the reboot, verify that we still have network connectivity:


# at this point, 'ovs-vsctl show' looks like:

ovs-vsctl show

    Bridge br-ex
        Port "em1"
            Interface "em1"
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "2.0.0"

# install packstack (but don't run it yet)

yum -y install openstack-packstack

# (from the allthingsopen site)
# "Edit /usr/lib/python2.7/site-packages/packstack/puppet/modules/openstack/manifests/provision.pp and change $floating_range to a range that is suitable for the network em1 is on.". As I stated previous, my network is a local network behind the router. I chose for my floating_range

sed -e "s/^  \$floating_range            = .*$/  \$floating_range            = \'\/27\',/g" -i /usr/lib/python2.7/site-packages/packstack/puppet/modules/openstack/manifests/provision.pp

# (again from the allthingsopen site)
# "One last modification before we run packstack, and thanks to Terry Wilson for pointing this out, we need to remove a a firewall rule that is added during the packstack run that adds ...
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by rbowen
close date 2014-04-14 15:43:13.280017


Do you mind if I repost this over on the RDO website so that even more people may benefit from it?

rbowen gravatar imagerbowen ( 2014-03-03 16:02:35 -0500 )edit

I wouldn't mind at all. I'd be happy if anyone else could benefit from it.

pheitman gravatar imagepheitman ( 2014-03-07 13:34:01 -0500 )edit

I found that I had to remove the anonymous MySQL user in addition to the other items in this list or I would encounter (link text). One of my colleagues found that.

rrknight3 gravatar imagerrknight3 ( 2014-03-28 09:34:00 -0500 )edit
rbowen gravatar imagerbowen ( 2014-04-14 15:42:37 -0500 )edit