Neutron basic RDO setup (havana 2013.2) to have original LAN as external on Fedora 19 with native Ethernet interfaces names

Follow as normal   http://openstack.redhat.com/Quickstart, just after

 $ sudo yum install -y openstack-packstack

 run   $ sudo yum -y update

one more time to upgrade python-backports to 1.0.4

Create under /etc/sysconfig/network-interfaces files :

[root@openstack network-scripts(keystone_admin)]# cat ifcfg-br-ex
DEVICE=”br-ex”
BOOTPROTO=”static”
IPADDR=”192.168.1.135″
NETMASK=”255.255.255.0″
DNS1=”83.221.202.254″
BROADCAST=”192.168.1.255″
GATEWAY=”192.168.1.1″
NM_CONTROLLED=”no”
DEFROUTE=”yes”
IPV4_FAILURE_FATAL=”yes”
IPV6INIT=no
ONBOOT=”yes”
TYPE=”OVSBridge”
DEVICETYPE=”ovs”

In my particular case ifcfg-enp2s0 is responsible for active ethernet interface p37p1.

[root@openstack network-scripts(keystone_admin)]# cat ifcfg-enp2s0
NAME=”enp2s0″
HWADDR=90:E6:BA:2D:11:EB
ONBOOT=”yes”
TYPE=”OVSPort”
DEVICETYPE=”ovs”
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Enable network service, due to known bugs

Bug 981583 – Openstack firewall rules are not enabled after reboot

https://bugzilla.redhat.com/show_bug.cgi?id=981583

Bug 981652 – firewalld does not cover openstack/packstack use case.

https://bugzilla.redhat.com/show_bug.cgi?id=981652

Run:-

# yum -y install iptables-services
# systemctl disable firewalld
# systemctl enable iptables

then  reboot

In dashboard environment delete router1 and public network.

# source keystonerc_admin
# nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
# nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
# neutron net-create public –router:external=True
# neutron subnet-create public 192.168.1.0/24 –name vlan –enable_dhcp False \
–allocation_pool start=192.168.1.57,end=192.168.1.92  \
–gateway 192.168.1.1
# neutron floatingip-create public
# EXTERNAL_NETWORK_ID=`neutron net-list | grep public | awk ‘{ print $2 }’`
# INT_SUBNET_ID=`neutron subnet-list | grep private_subnet | awk ‘{ print $2}’`
# SERVICE_TENANT_ID=`keystone tenant-list | grep service | awk ‘{ print $2}’`
# neutron router-create –name router2 –tenant-id $SERVICE_TENANT_ID router2
# neutron router-gateway-set router2  $EXTERNAL_NETWORK_ID
# neutron router-interface-add router2  $INT_SUBNET_ID
# neutron subnet-update $INT_SUBNET_ID –dns_nameservers list=true 83.221.202.254
# neutron subnet-update $INT_SUBNET_ID –gateway_ip 10.0.0.1

Create images via command line :-

# glance image-create –name ‘Fedora19image’ –disk-format qcow2 –container-format bare –is-public true \
–copy-from http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2

# glance image-create –name ‘UbuntuServer13.10image’ \
–disk-format qcow2 \
–container-format bare –is-public true \
–copy-from http://cloud-images.ubuntu.com/saucy/current/saucy-server-cloudimg-amd64-disk1.img

Since this point you can proceed as suggested in

Glusterfs Striped volumes based Havana 2013.2 instances on NFS-Like Standalone Storage Server With GlusterFS 3.4.1 Fedora 19

http://bderzhavets.blogspot.ru/2013/10/glusterfs-striped-volumes-based-havana.html

About these ads

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

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: