rhel-osp-director: 8.0 - deploying with VLAN network type: the vlan ranges provides with --neutron-network-vlan-ranges aren't written into /etc/neutron/plugin.ini. Environment: python-neutron-7.0.0-3.el7ost.noarch openstack-neutron-7.0.0-3.el7ost.noarch openstack-neutron-ml2-7.0.0-3.el7ost.noarch openstack-neutron-common-7.0.0-3.el7ost.noarch openstack-neutron-lbaas-7.0.0-2.el7ost.noarch python-neutronclient-3.1.0-1.el7ost.noarch python-neutron-lbaas-7.0.0-2.el7ost.noarch openstack-neutron-metering-agent-7.0.0-3.el7ost.noarch openstack-neutron-openvswitch-7.0.0-3.el7ost.noarch instack-undercloud-2.1.3-1.el7ost.noarch Steps to reproduce: 1. Deploy overcloud with --neutron-network-type vlan --neutron-bridge-mappings datacentre:br-ex --neutron-network-vlan-ranges datacentre:<range> --neutron-disable-tunneling 2. Login to one controller and check the network_vlan_ranges line in /etc/neutron/plugin.ini file. Result: network_vlan_ranges =datacentre Expected result: network_vlan_ranges =datacentre:<range>
For the record this means that you can't install OpenStack using VLAN tenant networks, nothing will work.
*** Bug 1290598 has been marked as a duplicate of this bug. ***
Please provide a log of the deployment.
Created attachment 1112963 [details] overcloud deployment log
Created attachment 1112973 [details] the right overcloud deployment log
Ran into this issue with OSP8-beta5 and director-beta2 I notice in /etc/neutron/plugin.ini that not only the vlan range is missing but the network name is also wrong. Still show "datacenter" instead of "tenant" that I specified. Deployed with: . . --neutron-disable-tunneling \ --neutron-network-type vlan \ --neutron-network-vlan-ranges tenant:2101:2199 \ --neutron-flat-networks datacenter,sdn,tenant \ --neutron-bridge-mappings datacenter:br-ex,sdn:br-trunk-sdn,tenant:br-trunk-tenant plugin.ini snip: [ml2_type_flat] # (ListOpt) List of physical_network names with which flat networks # can be created. Use * to allow flat networks with arbitrary # physical_network names. # # flat_networks = flat_networks =datacenter,sdn,tenant # Example:flat_networks = physnet1,physnet2 # Example:flat_networks = * [ml2_type_vlan] # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples # specifying physical_network names usable for VLAN provider and # tenant networks, as well as ranges of VLAN tags on each # physical_network available for allocation as tenant networks. # # network_vlan_ranges = network_vlan_ranges =datacentre # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
This appears to be fixed in the latest poodle. [ml2_type_flat] # (ListOpt) List of physical_network names with which flat networks # can be created. Use * to allow flat networks with arbitrary # physical_network names. # # flat_networks = flat_networks =datacenter,sdn,tenant # Example:flat_networks = physnet1,physnet2 # Example:flat_networks = * [ml2_type_vlan] # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples # specifying physical_network names usable for VLAN provider and # tenant networks, as well as ranges of VLAN tags on each # physical_network available for allocation as tenant networks. # # network_vlan_ranges = network_vlan_ranges =tenant:2101:2199 # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
Verified: Environment: openstack-tripleo-heat-templates-0.8.7-12.el7ost.noarch openstack-puppet-modules-7.0.6-2.el7ost.noarch openstack-neutron-common-7.0.1-10.el7ost.noarch openstack-neutron-ml2-7.0.1-10.el7ost.noarch openstack-neutron-openvswitch-7.0.1-10.el7ost.noarch openstack-neutron-7.0.1-10.el7ost.noarch Deployed with: --neutron-network-vlan-ranges datacentre:118:143 The /etc/neutron/plugin.ini file has: network_vlan_ranges =datacentre:118:143
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0604.html