Devstack (Icehouse) 설치 (Neutron)

CS/Linux 2014.10.02 06:17

TODO : Network topology

TODO : Multi-Node

TODO : Host network settings



/etc/network/interfaces

# Public / Management network

auto eth0
iface eth0 inet static
      address 192.168.55.11
      netmask 255.255.255.0
      gateway 192.168.55.1
      dns-nameservers 8.8.8.8


# Data network
auto eth1
iface eth1 inet manual
      up ip link set $IFACE up
      down ip link set $IFACE down



# ovs-vsctl add-port br-int eth1

# ovs-vsctl add-port br-eth1 eth1



# groupadd stack
# useradd -g stack -s /bin/bash -d /opt/stack -m stack

# echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers


# git clone -b stable/icehouse devstack https://github.com/openstack-dev/devstack.git



local.conf

[[local|localrc]]

HOST_IP=192.168.55.11
MULTI_HOST=True

FLAT_INTERFACE=eth1

PHYSICAL_NETWORK=physnet1
OVS_PHYSICAL_BRIDGE=br-eth1

FLOATING_RANGE=172.16.0.0/16
PUBLIC_NETWORK_GATEWAY=172.16.0.1
Q_FLOATING_ALLOCATION_POOL=start=172.16.0.2,end=172.16.254.254

FIXED_RANGE=10.0.0.0/16
NETWORK_GATEWAY=10.0.0.1


disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron

LOGFILE=/opt/stack/logs/stack.sh.log

ADMIN_PASSWORD=stack
MYSQL_PASSWORD=stack
RABBIT_PASSWORD=stack
SERVICE_PASSWORD=stack
SERVICE_TOKEN=stacktoken

GLANCE_BRANCH=stable/icehouse
HORIZON_BRANCH=stable/icehouse
KEYSTONE_BRANCH=stable/icehouse
NOVA_BRANCH=stable/icehouse
NEUTRON_BRANCH=stable/icehouse
HEAT_BRANCH=stable/icehouse
CEILOMETER_BRANCH=stable/icehouse


IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2"



$ cd /path/to/devstack

$ ./stack.sh



# iptables -t nat -A POSTROUTING -s 172.16.0.0/16 -o eth0 -j MASQUERADE


신고
Trackbacks 2 : Comment 0

티스토리 툴바