Red Hat Bugzilla – Bug 1290598
VLAN range not configured in neutron/plugin.ini
Last modified: 2016-04-18 02:59:30 EDT
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:
On all controllers, I changed this to:
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
Deploy the overcloud with neutron using vlans as above.
Steps to Reproduce:
VLAN range was not configured in neutron
VLAN range should be configured in neutron.
*** This bug has been marked as a duplicate of bug 1282963 ***