Ask Your Question
0

flat and vlan network creation shows error-"No tenant network is available for allocation"

asked 2015-09-30 00:39:39 -0500

updated 2015-09-30 01:24:49 -0500

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?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-11-05 20:45:53 -0500

I just restarted my server, then I can run net-create....seems I modified some chagnes and did not take it effect.

edit flag offensive delete link more
0

answered 2015-09-30 04:10:48 -0500

updated 2015-09-30 04:12:31 -0500

Hi Vikrant, Thanks for reply. I'm creating the tenant network after successfully created the external network associated with physnet2 using the below command- neutron net-create external2 --shared --provider:physical_network physnet2 --provider:network_type flat --router:external=True Here error is coming while creating the tenant network that would be used as an internal network using the below command- neutron net-create internal2

your suggested command is showing the below error-

neutron net-create internal2 --shared --provider:physical_network=physnet2 --provider:network_type=vlan
400-{u'NeutronError': {u'message': u"Invalid input for operation: network_type value 'vlan' not supported.", u'type': u'InvalidInput', u'detail': u''}}

 neutron net-create internal2 --shared --provider:physical_network=physnet2 --provider:network_type=flat
409-{u'NeutronError': {u'message': u'Unable to create the flat network. Physical network physnet2 is in use.', u'type': u'FlatNetworkInUse', u'detail': u''}}


 neutron net-create internal2
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''}}
edit flag offensive delete link more
0

answered 2015-09-30 01:54:22 -0500

vikrant gravatar image

try adding --provider:physical_network=physnet2 --provider:network_type=vlan while creating the network

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-30 00:39:39 -0500

Seen: 6,006 times

Last updated: Sep 30 '15