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