Description of problem:
After deploying the overcloud with neutron in vlan mode, "neutron net-create foo" fails with:
Unable to create the network. No tenant network is available for allocation.
I spent some time investigating this, and it turned out that the vlan range I specified in the deploy command was not in the neutron config. In /etc/neutron/plugin.ini was this line:
network_vlan_ranges =datacentre
On all controllers, I changed this to:
network_vlan_ranges =datacentre:201:220
then restarted the controllers, and was able to create networks successfully.
The command used to deploy was:
openstack overcloud deploy -t 90 --templates ~/pilot/templates/overcloud -e ~/pilot/templates/network-environment.yaml -e ~/pilot/templates/overcloud/environments/storage-environment.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml --control-scale 3 --control-flavor controller --compute-flavor compute --ceph-storage-flavor storage --swift-storage-flavor storage --block-storage-flavor storage --neutron-public-interface bond1 --neutron-network-type vlan --neutron-disable-tunneling --compute-scale 3 --ceph-storage-scale 3 --ntp-server 0.centos.pool.ntp.org --neutron-network-vlan-ranges datacentre:201:220
Version-Release number of selected component (if applicable):
8.0 Beta 2
How reproducible:
Deploy the overcloud with neutron using vlans as above.
Steps to Reproduce:
See above.
Actual results:
VLAN range was not configured in neutron
Expected results:
VLAN range should be configured in neutron.
Additional info: