Failing to create Provider Network Openstack Mitaka RHEL

asked 2016-07-28 13:39:14 -0600

DanJast gravatar image

I currently have a setup of three servers. One consisting of the Controller, Neutron and Identity, and two others as computes. I have been able to do this on Ubuntu, but when I try installing OpenStack on RHEL there seems to be some errors. One of the more prominent errors has had to do with provider networks. When I run the command:

neutron subnet-create --name provider \
      --allocation-pool start=START_IP_ADDRESS,end=END_IP_ADDRESS \
      --dns-nameserver DNS_RESOLVER --gateway PROVIDER_NETWORK_GATEWAY \
      provider PROVIDER_NETWORK_CIDR

the GUI pops up the cloud icon instead of the Globe. The cloud usually represents self-service networks; however, I need a provider, and then a self-service network, otherwise the VMs won't be able to ping out.

Below are some relevant configurations.

Controller Node =>

/etc/nova/nova.conf:

[neutron]
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = PASSWORD

/etc/neutron/plugins/ml2/ml2_conf.ini:

[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan
mechanism_drivers = linuxbridge,l2population
extension_drivers = port_security

[ml2_type_flat]
flat_networks = provider

/etc/neutron/plugins/ml2/linuxbridge_agent.ini:

[linux_bridge]
physical_interface_mappings = provider:eth1

Compute 1&2 => /etc/nova/nova.conf:

[neutron]
url=http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = PASSWORD

/etc/neutron/plugins/ml2/linuxbridge_agent.ini:

[linux_bridge]
physical_interface_mappings = provider:eth1

Please let me know if there are any config files or commands that I should post to further help explain the problem. OpenStack is a huge machine and it would impractical to post everything, but I will gladly update the question with anything that is necessary.

edit retag flag offensive close merge delete