Ask Your Question

Revision history [back]

Stein: Error while executing command: HttpException: 503, Unable to create the network. No tenant network is available for allocation.

Im installing OpenStack Stein in RHEL7, i have followed the official installation guide. I have installed networking service option 2. When i try to run the command:

openstack network create selfservice

I got following error:

Error while executing command: HttpException: 503, Unable to create the network. No tenant network is available for allocation.

i have also followed the answer given in the link

https://ask.openstack.org/en/question/85338/neutron-net-create-unable-to-create-the-network-no-tenant-network-is-available-for-allocation/

The configuration of /etc/neutron/plugins/ml2/ml2_conf.ini file is

[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan
mechanism_drivers = linuxbridge,l2population
extension_drivers = port_security

[ml2_type_flat]
flat_networks = provider

[ml2_type_vxlan]
vni_ranges = 1:1000

[securitygroup]
enable_ipset = true

The openstack network agent list is working fine.

[root@controller openstackusr]# openstack network agent list
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
| ID                                   | Agent Type         | Host       | Availability Zone | Alive | State | Binary                    |
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+

| 00787aae-9884-49c5-b5fd-a6058b765197 | Metadata agent     | controller | None              | :-)   | UP    | neutron-metadata-agent    |
| 11994176-a5a5-411d-95b0-0c1a96e1e5fd | Linux bridge agent | controller | None              | :-)   | UP    | neutron-linuxbridge-agent |
| 45e16380-81eb-4b21-980b-d5f7240f0bee | DHCP agent         | controller | nova              | :-)   | UP    | neutron-dhcp-agent        |
| c50cd6cf-e08a-4ef8-9b31-6a73dc3d609e | Linux bridge agent | compute    | None              | :-)   | UP    | neutron-linuxbridge-agent |
| e601e26f-7c5c-4604-90b5-0377e26bd18b | L3 agent           | controller | nova              | :-)   | UP    | neutron-l3-agent          |
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+