you're reading...

OpenStack Revisit – Icehouse – Getting Started

Getting StartedController ServerNetwork ServerCompute ServerFinishing Up

We are reviewing some hypervisor setups right now and one of the things we are looking at is OpenStack (again) but this time with LXC.

I decided to setup some local VM’s to test with, ideally I want to try to get SmartOS working as a hypervisor, but to start I will be using LXC.

I’m using a reference architecture from OpenStack Operations Guide.

My setup uses 3 Virtualbox VMs, this is a testing setup, not production.

The network looks like this:

# VM Name:
#    Network Name (NIC)    IP

  oint (eth0)
  nat  (eth1)
  vnet (eth2)
  nat  (eth3)

  oint (eth0)
  opub (eth1)

  oint (eth0)
  nat  (eth1)
  onet (eth2)

oint -
vnet -
nat  -
opub -

The non-nat networks are attached to internal networks.

Before I get into setting up OpenStack, I suggest creating a appliance for VirtualBox.

Basically create a new VM, call it node or something, and use minimalish specs(1 cpu, 512mb, 4GB disk)

Install Centos 6.5 minimal then do post config:

vi /etc/selinux/config
SELINUX=permissive # or disabled

chkconfig ip6tables off
chkconfig iptables off
chkconfig iscsi off
chkconfig iscsid off
chkconfig postfix off

yum install http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-3.noarch.rpm

yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

yum -y update

yum install openstack-utils

cat >>/etc/hosts<<EOF       controller       network       compute

Once done, clean up the image for making a appliance:

vi /etc/sysconfig/network-scripts/ifcfg-eth0
# Delete MAC and UUID entry, make sure ONBOOT=yes

vi /etc/udev/rules.d/70-persistent-net.rules
# Delete all SUBSYSTEM=="net" entries, should be just NAME="eth0"

Shutdown the VM and export as an appliance, I use OVA 2.0 file with Meta data.

Now we build the controller server.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s