Ask Your Question

Revision history [back]

First issue is F21 it's not Ubuntu flavor and RH RDO Support on F21 seems to be broken.
You would better install CentOS 7.1 (1503) on both boxes
Then run on Controller&&Network Node :-

# yum update -y
# yum install -y https://rdoproject.org/repos/rdo-release.rpm
# yum install -y openstack-packstack

On Compute Node

# yum update -y
# yum install -y https://rdoproject.org/repos/rdo-release.rpm

Pick up only answer-file from http://bderzhavets.blogspot.com/2014/11/rdo-setup-two-real-node.html

CONFIG_NOVA_NETWORK_PUBIF=eth0
CONFIG_NOVA_NETWORK_PRIVIF=eth0
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth0
CONFIG_KEYSTONE_SERVICE_NAME=httpd

Then run :-

packstack --answer-file=TwoNodeVXLAN.txt

It will result RDO Kilo 2 Node install - Controller&&Network + Compute ( ML2&OVS&VXLAN)

UPDATE 07/14/2015

10.20.151.0/24 is supposed to be your mgmt, ext and vtep's LAN at a time
192.168.1.0/24 is supposed  to be private network ( say for tenant demo)
Create neutron router with gateway to 10.20.151.0/24  and interface to 192.168.1.0/24
# . keystonerc_admin
# neutron net-create ext --router:external  ( Kilo syntax )
# neutron subnet-create   ext  10.20.151.0/24 --enable_dhcp=False --allocation-pool  \
  start=10.20.151.10,end=10.20.151.200 --gateway 10.20.151.1
#  . keystonerc_demo
# neutron router-create router1
# neutron router-gateway-set router1 ext
# neutron net-create int
# neutron subnet-create int 192.168.1.0/24  --dns_nameservers list=true 8.8.8.8
 Created a new subnet:
  +------------------+--------------------------------------------+
  | Field            | Value                                      |
  +------------------+--------------------------------------------+
  | allocation_pools | {"start": "192.168.1.2", "end": "192.168.1.254"} |
  | cidr             | 192.168.1.0/24                                |
  | dns_nameservers  | 8.8.8.8                              |
  | enable_dhcp      | True                                       |
  | gateway_ip       | 192.168.1.1                                   |
  | host_routes      |                                            |
  | id               | 04b95f13-cc77-4f9a-8206-7f6ed183461d       |
  | ip_version       | 4                                          |
  | name             |                                            |
  | network_id       | 1a4157a6-5cf2-46e3-bdea-1533c8f54cdf       |
  | tenant_id        | 2c845a6ad20e45ccb0b045cee27a9661           |
  +------------------+--------------------------------------------+
  # neutron router-interface-add router1 04b95f13-cc77-4f9a-8206-7f6ed183461d

END UPDATE

First issue is F21 it's not Ubuntu flavor and RH RDO Support on F21 seems to be broken.
You would better install CentOS 7.1 (1503) on both boxes
Then run on Controller&&Network Node :-

# yum update -y
# yum install -y https://rdoproject.org/repos/rdo-release.rpm
# yum install -y openstack-packstack

On Compute Node

# yum update -y
# yum install -y https://rdoproject.org/repos/rdo-release.rpm

Pick up only answer-file from http://bderzhavets.blogspot.com/2014/11/rdo-setup-two-real-node.html

CONFIG_NOVA_NETWORK_PUBIF=eth0
CONFIG_NOVA_NETWORK_PRIVIF=eth0
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth0
CONFIG_KEYSTONE_SERVICE_NAME=httpd

Then run :-

packstack --answer-file=TwoNodeVXLAN.txt

It will result RDO Kilo 2 Node install - Controller&&Network + Compute ( ML2&OVS&VXLAN)

UPDATE 07/14/2015

10.20.151.0/24 is supposed to be your mgmt, ext and vtep's LAN at a time
192.168.1.0/24 is supposed  to be private network ( say for tenant demo)
Create neutron router with gateway to 10.20.151.0/24  and interface to 192.168.1.0/24
# . keystonerc_admin
# neutron net-create ext --router:external  ( Kilo syntax )
# neutron subnet-create   ext  10.20.151.0/24 --enable_dhcp=False --allocation-pool  \
  start=10.20.151.10,end=10.20.151.200 --gateway 10.20.151.1
#  . keystonerc_demo
# neutron router-create router1
# neutron router-gateway-set router1 ext
# neutron net-create int
# neutron subnet-create int 192.168.1.0/24  --dns_nameservers list=true 8.8.8.8
 Created a new subnet:
  +------------------+--------------------------------------------+
  | Field            | Value                                      |
  +------------------+--------------------------------------------+
  | allocation_pools | {"start": "192.168.1.2", "end": "192.168.1.254"} |
  | cidr             | 192.168.1.0/24                                |
  | dns_nameservers  | 8.8.8.8                              |
  | enable_dhcp      | True                                       |
  | gateway_ip       | 192.168.1.1                                   |
  | host_routes      |                                            |
  | id               | 04b95f13-cc77-4f9a-8206-7f6ed183461d       |
  | ip_version       | 4                                          |
  | name             |                                            |
  | network_id       | 1a4157a6-5cf2-46e3-bdea-1533c8f54cdf       |
  | tenant_id        | 2c845a6ad20e45ccb0b045cee27a9661           |
  +------------------+--------------------------------------------+
  # neutron router-interface-add router1 04b95f13-cc77-4f9a-8206-7f6ed183461d

END UPDATE

First issue is F21 it's not Ubuntu flavor and RH RDO Support on F21 seems to be broken.
You would better install CentOS 7.1 (1503) on both boxes
Then run on Controller&&Network Node :-

# yum update -y
# yum install -y https://rdoproject.org/repos/rdo-release.rpm
# yum install -y openstack-packstack

On Compute Node

# yum update -y
# yum install -y https://rdoproject.org/repos/rdo-release.rpm

Pick up only answer-file from http://bderzhavets.blogspot.com/2014/11/rdo-setup-two-real-node.html

CONFIG_NOVA_NETWORK_PUBIF=eth0
CONFIG_NOVA_NETWORK_PRIVIF=eth0
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth0
CONFIG_NOVA_NETWORK_PUBIF=em1
CONFIG_NOVA_NETWORK_PRIVIF=em1
CONFIG_NEUTRON_OVS_TUNNEL_IF=em1
CONFIG_KEYSTONE_SERVICE_NAME=httpd

Then run :-

packstack --answer-file=TwoNodeVXLAN.txt

It will result RDO Kilo 2 Node install - Controller&&Network + Compute ( ML2&OVS&VXLAN)

UPDATE 07/15/2015

Please, run on Network Node :-
ip netns | grep private-network-id 
ip netns | grep router-id 
ip netns exec qdhcp-private-network-id route -n 
ip netns exec qrouter-router-id ifconfig 
ip netns exec qdhcp-private-network-id ping 10.20.151.1 
ip netns exec qrouter-router-id ping 10.20.151.1

UPDATE 07/14/2015

10.20.151.0/24 is supposed to be your mgmt, ext and vtep's LAN at a time
192.168.1.0/24 is supposed  to be private network ( say for tenant demo)
Create neutron router with gateway to 10.20.151.0/24  and interface to 192.168.1.0/24
# . keystonerc_admin
# neutron net-create ext --router:external  ( Kilo syntax )
# neutron subnet-create   ext  10.20.151.0/24 --enable_dhcp=False --allocation-pool  \
  start=10.20.151.10,end=10.20.151.200 --gateway 10.20.151.1
#  . keystonerc_demo
# neutron router-create router1
# neutron router-gateway-set router1 ext
# neutron net-create int
# neutron subnet-create int 192.168.1.0/24  --dns_nameservers list=true 8.8.8.8
 Created a new subnet:
  +------------------+--------------------------------------------+
  | Field            | Value                                      |
  +------------------+--------------------------------------------+
  | allocation_pools | {"start": "192.168.1.2", "end": "192.168.1.254"} |
  | cidr             | 192.168.1.0/24                                |
  | dns_nameservers  | 8.8.8.8                              |
  | enable_dhcp      | True                                       |
  | gateway_ip       | 192.168.1.1                                   |
  | host_routes      |                                            |
  | id               | 04b95f13-cc77-4f9a-8206-7f6ed183461d       |
  | ip_version       | 4                                          |
  | name             |                                            |
  | network_id       | 1a4157a6-5cf2-46e3-bdea-1533c8f54cdf       |
  | tenant_id        | 2c845a6ad20e45ccb0b045cee27a9661           |
  +------------------+--------------------------------------------+
  # neutron router-interface-add router1 04b95f13-cc77-4f9a-8206-7f6ed183461d

END UPDATE

First issue is F21 it's not Ubuntu flavor and RH RDO Support on F21 seems to be broken.
You would better install CentOS 7.1 (1503) on both boxes
Then run on Controller&&Network Node :-

# yum update -y
# yum install -y https://rdoproject.org/repos/rdo-release.rpm
# yum install -y openstack-packstack

On Compute Node

# yum update -y
# yum install -y https://rdoproject.org/repos/rdo-release.rpm

Pick up only answer-file from http://bderzhavets.blogspot.com/2014/11/rdo-setup-two-real-node.html

CONFIG_NOVA_NETWORK_PUBIF=em1
CONFIG_NOVA_NETWORK_PRIVIF=em1
CONFIG_NEUTRON_OVS_TUNNEL_IF=em1
CONFIG_KEYSTONE_SERVICE_NAME=httpd

Then run :-

packstack --answer-file=TwoNodeVXLAN.txt

It will result RDO Kilo 2 Node install - Controller&&Network + Compute ( ML2&OVS&VXLAN)