Error when creating new networks in Horizon or Neutron
Issue
- When a new network is being created via horizon, we get this message:
Unable to create the network. No tenant network is available for allocation.
-
An exception is thrown on
server.log
:2015-11-23 19:55:25.987 5239 ERROR neutron.api.v2.resource [req-02e6d8d9-4ce2-4685-8261-7f27dc63d881 None] create failed 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource Traceback (most recent call last): 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 87, in resource 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource result = method(request=request, **args) 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 448, in create 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource obj = obj_creator(request.context, **kwargs) 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/plugin.py", line 513, in create_netwo 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource network) 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 105, in wrapper 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource return f(*args, **kwargs) 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/plugin.py", line 509, in _create_netw 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource return self._create_network_db(context, network) 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/plugin.py", line 499, in _create_netw 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource tenant_id) 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py", line 160, in create_net 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource segment = self.allocate_tenant_segment(session) 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py", line 192, in allocate_t 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource raise exc.NoNetworkAvailable() 2015-11-23 19:55:25.987 5239 TRACE neutron.api.v2.resource NoNetworkAvailable: Unable to create the network. No tenant network is available for allocation.
Environment
- Red Hat Enterprise OpenStack Platform (RHOS) 6.x (Juno)
- VxLAN Tunnels (for GRE check https://access.redhat.com/solutions/756453)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.