Cannot create provider network Openstack-Mitaka RHEL

asked 2016-07-28 13:43:40 -0500

anonymous user

Anonymous

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 = passwordsel
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

Comments

I would back port https://review.openstack.org/gitweb?p...
to RDO Mitaka/stable.

dbaxps gravatar imagedbaxps ( 2016-07-29 07:30:03 -0500 )edit

@dbaxps Where do I find this file to edit? Thanks for the response.

DanJast gravatar imageDanJast ( 2016-08-01 08:43:17 -0500 )edit

Raw text for patch is in link provided. Nothing to search.
Another samples for back porting
http://bderzhavets.blogspot.com/2016/...

dbaxps gravatar imagedbaxps ( 2016-08-01 09:34:55 -0500 )edit

@dbaxps If im not using Packstack, what file would I edit with this code?

DanJast gravatar imageDanJast ( 2016-08-01 12:52:17 -0500 )edit

Then back port patch to stable Mitaka you are using. It was not packaged in Mitaka stable by any vendor which yuou have selected.

dbaxps gravatar imagedbaxps ( 2016-08-01 23:43:23 -0500 )edit