flat and vlan network creation shows error-"No tenant network is available for allocation"
I have configured 1 flat network and during creation of vlan network i.e. tenant network, it shows below error-
# neutron net-create internal2 --tenant-id=admin
503-{u'NeutronError': {u'message': u'Unable to create the network. No tenant network is available for allocation.', u'type': u'NoNetworkAvailable', u'detail': u''}}
openstack Icehouse is used for 2-Node setup where network node is configured in controller machine-
ml2_conf file:
[ml2]
type_drivers = vlan,flat
tenant_network_types = vlan
mechanism_drivers = openvswitch
[ml2_type_flat]
flat_networks = physnet1
[ml2_type_vlan]
network_vlan_ranges = physnet2:1000:2999
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True
enable_ipset = True
[ovs]
local_ip = #management_Ip#
tenant_network_type = vlan
bridge_mappings = physnet1:br-ex,physnet2:br-ex3
integration_bridge = br-int
network_vlan_ranges = physnet2:1000:2999
neutron.conf file-
core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
service_plugins=neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
allow_overlapping_ips = True
What is going wrong in my mixed flat+vlan network configuration?