<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all,<div>As per the subject, It seems I can't create a tenant network in case the provider network has been configured as flat.</div><div><br></div><div>That's the way the system looks now:</div><div><br></div><div><div><font face="monospace, monospace">[wrsroot@controller-0 ~(keystone_admin)]$ system host-if-list controller-0</font></div><div><font face="monospace, monospace">+--------------------------------------+------+----------+----------+---------+-----------+----------+-------------+---------------------------+-------------------+</font></div><div><font face="monospace, monospace">| uuid                                 | name | class    | type     | vlan id | ports     | uses i/f | used by i/f | attributes                | provider networks |</font></div><div><font face="monospace, monospace">+--------------------------------------+------+----------+----------+---------+-----------+----------+-------------+---------------------------+-------------------+</font></div><div><font face="monospace, monospace">| 38da435a-5fc5-44ac-b038-52af9f23d52d | lo   | platform | virtual  | None    | []        | []       | []          | MTU=1500                  | None              |</font></div><div><font face="monospace, monospace">| 7f806264-9c19-45f4-b7d7-df1f90e9d540 | eno5 | platform | ethernet | None    | [u'eno5'] | []       | []          | MTU=1500                  | None              |</font></div><div><font face="monospace, monospace">| 9f7365e8-bc9a-4c9c-8725-72d40f5a18ff | eno6 | data     | ethernet | None    | [u'eno6'] | []       | []          | MTU=1500,accelerated=True | public_flat       |</font></div><div><font face="monospace, monospace">+--------------------------------------+------+----------+----------+---------+-----------+----------+-------------+---------------------------+-------------------+</font></div></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">[wrsroot@controller-0 ~(keystone_admin)]$ openstack providernet list</font></div><div><font face="monospace, monospace">+--------------------------------------+---------------+------+------+--------+</font></div><div><font face="monospace, monospace">| ID                                   | Name          | Type |  MTU | Ranges |</font></div><div><font face="monospace, monospace">+--------------------------------------+---------------+------+------+--------+</font></div><div><font face="monospace, monospace">| 197c33ba-6db0-4918-9a0e-e98b01aee1e8 | public_flat   | flat | 1500 |        |</font></div><div><span style="font-family:monospace,monospace">+--------------------------------------+---------------+------+------+--------+</span><br></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><div>[wrsroot@controller-0 ~(keystone_admin)]$ openstack providernet show public_flat</div><div>+------------------+--------------------------------------+</div><div>| Field            | Value                                |</div><div>+------------------+--------------------------------------+</div><div>| description      | None                                 |</div><div>| id               | 197c33ba-6db0-4918-9a0e-e98b01aee1e8 |</div><div>| mtu              | 1500                                 |</div><div>| name             | public_flat                          |</div><div>| ranges           |                                      |</div><div>| status           | ACTIVE                               |</div><div>| type             | flat                                 |</div><div>| vlan_transparent | False                                |</div><div>+------------------+--------------------------------------+</div><div><br></div></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">[wrsroot@controller-0 ~(keystone_admin)]$ openstack network list</font></div><div><font face="monospace, monospace">+--------------------------------------+---------------+--------------------------------------+</font></div><div><font face="monospace, monospace">| ID                                   | Name          | Subnets                              |</font></div><div><font face="monospace, monospace">+--------------------------------------+---------------+--------------------------------------+</font></div><div><font face="monospace, monospace">| 9d50e31b-e533-4424-b459-53679d2d4eb5 | provider_flat | 2d591fde-0f11-446e-928f-1592ea4e42a7 |</font></div><div><font face="monospace, monospace">+--------------------------------------+---------------+--------------------------------------+</font></div><div><font face="monospace, monospace"><div>[wrsroot@controller-0 ~(keystone_admin)]$ openstack network show provider_flat</div><div>+---------------------------+--------------------------------------+</div><div>| Field                     | Value                                |</div><div>+---------------------------+--------------------------------------+</div><div>| admin_state_up            | UP                                   |</div><div>| availability_zone_hints   |                                      |</div><div>| availability_zones        | nova                                 |</div><div>| created_at                | 2019-01-10T10:58:51Z                 |</div><div>| description               |                                      |</div><div>| dns_domain                | None                                 |</div><div>| id                        | 9d50e31b-e533-4424-b459-53679d2d4eb5 |</div><div>| ipv4_address_scope        | None                                 |</div><div>| ipv6_address_scope        | None                                 |</div><div>| is_default                | False                                |</div><div>| is_vlan_transparent       | False                                |</div><div>| mtu                       | 1500                                 |</div><div>| name                      | provider_flat                        |</div><div>| port_security_enabled     | False                                |</div><div>| project_id                | dc1c43142a0d43578783bc64dc0650f7     |</div><div>| provider:network_type     | flat                                 |</div><div>| provider:physical_network | public_flat                          |</div><div>| provider:segmentation_id  | None                                 |</div><div>| qos_policy_id             | None                                 |</div><div>| revision_number           | 4                                    |</div><div>| router:external           | External                             |</div><div>| segments                  | None                                 |</div><div>| shared                    | True                                 |</div><div>| status                    | ACTIVE                               |</div><div>| subnets                   | 2d591fde-0f11-446e-928f-1592ea4e42a7 |</div><div>| tags                      |                                      |</div><div>| updated_at                | 2019-01-10T11:01:41Z                 |</div><div>+---------------------------+--------------------------------------+</div><div><br></div></font></div><div><font face="monospace, monospace">[wrsroot@controller-0 ~(keystone_admin)]$ openstack subnet list</font></div><div><font face="monospace, monospace">+--------------------------------------+------------------+--------------------------------------+-------------+-----------------------+-----------------+</font></div><div><font face="monospace, monospace">| ID                                   | Name             | Network                              | Subnet      | Allocation Pools      | WRS-Net:VLAN ID |</font></div><div><font face="monospace, monospace">+--------------------------------------+------------------+--------------------------------------+-------------+-----------------------+-----------------+</font></div><div><font face="monospace, monospace">| 2d591fde-0f11-446e-928f-1592ea4e42a7 | sn_provider_flat | 9d50e31b-e533-4424-b459-53679d2d4eb5 | <a href="http://10.1.8.0/24">10.1.8.0/24</a> | 10.1.8.100-10.1.8.200 |                 |</font></div><div><font face="monospace, monospace">+--------------------------------------+------------------+--------------------------------------+-------------+-----------------------+-----------------+</font></div></div><div><font face="monospace, monospace"><div>[wrsroot@controller-0 ~(keystone_admin)]$ openstack subnet show sn_provider_flat</div><div>+-------------------------+--------------------------------------+</div><div>| Field                   | Value                                |</div><div>+-------------------------+--------------------------------------+</div><div>| allocation_pools        | 10.1.8.100-10.1.8.200                |</div><div>| cidr                    | <a href="http://10.1.8.0/24">10.1.8.0/24</a>                          |</div><div>| created_at              | 2019-01-10T10:59:29Z                 |</div><div>| description             |                                      |</div><div>| dns_nameservers         |                                      |</div><div>| enable_dhcp             | True                                 |</div><div>| gateway_ip              | 10.1.8.254                           |</div><div>| host_routes             |                                      |</div><div>| id                      | 2d591fde-0f11-446e-928f-1592ea4e42a7 |</div><div>| ip_version              | 4                                    |</div><div>| ipv6_address_mode       | None                                 |</div><div>| ipv6_ra_mode            | None                                 |</div><div>| name                    | sn_provider_flat                     |</div><div>| network_id              | 9d50e31b-e533-4424-b459-53679d2d4eb5 |</div><div>| project_id              | dc1c43142a0d43578783bc64dc0650f7     |</div><div>| revision_number         | 1                                    |</div><div>| segment_id              | None                                 |</div><div>| service_types           |                                      |</div><div>| subnetpool_id           | None                                 |</div><div>| tags                    |                                      |</div><div>| updated_at              | 2019-01-10T11:01:41Z                 |</div><div>| use_default_subnet_pool | None                                 |</div><div>| wrs_net_vlan_id         | None                                 |</div><div>+-------------------------+--------------------------------------+</div><div><br></div></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">If I try to create a tenant network now, I get:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">[wrsroot@controller-0 ~(keystone_admin)]$ openstack network create new_nw</font></div><div><font face="monospace, monospace">Error while executing command: Unable to create the network. No tenant network is available for allocation. (HTTP 503) (Request-ID: req-14d0ad64-cdc4-47f4-9b43-4299a3aec8d5)</font></div></div><div><br></div><div>In case of a "vlan" provider network I have no limitation.</div><div><br></div><div>Any suggestion ?</div><div><br></div><div>Many thanks </div><div><br></div><div>BR</div><div>/Giuseppe</div><div><br></div><div><br></div></div></div></div></div></div></div></div></div>