← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1849392] [NEW] Neutron - Stein - Having two external networks will prevent the router from being created.

 

Public bug reported:

I am seeing an issue where creating two networks marked as external will
prevent a Neutron router from spawning on the Controllers. Ports
attached to those networks will be shown as down.

Environment:
- Openstack Stein.
- Deployed through Kolla.

1) One network+subnet (EXT) marked as external with X vlan configured on physnet1. This is expected to be used as the SNAT for a router and floating IPs. Not marked as shared.
2) One network+subnet (PROV) marked as external with Y vlan configured on physnet1. Not currently in use on any qrouters.
3) Create one router with SNAT and the external network set as the EXT network.
4) The router is created within Openstack  but is never created on the Controllers namespaces. All port are marked as down.
5) I've attached the logs.
6) If I clear the gateway from the router, the router is spawned and the interfaces come up.
7) If I re-add the gateway with the EXT network. The router goes down and the interfaces are deleted.

```
2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent [-] Router 'b6dba893-1454-4c0f-9088-e61edef31902' is not compatible with this agent.: RouterNotCompatibleWithAgent: Router 'b6dba893-1454-4c0f-9088-e61edef31902' is not compatible with this agent.
2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent Traceback (most recent call last):
2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 710, in _process_routers_if_compatible
2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent     self._process_router_if_compatible(router)
2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 551, in _process_router_if_compatible
2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent     router_id=router['id'])
2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent RouterNotCompatibleWithAgent: Router 'b6dba893-1454-4c0f-9088-e61edef31902' is not compatible with this agent.
2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent
2019-10-22 18:52:27.200 49 DEBUG neutron.agent.l3.agent [-] Payload:

2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server [req-f62c802f-d047-45d7-a3eb-b40e8c44f6ae - - - - -] Exception during message handling: TooManyExternalNetworks: More than one external network exists.
2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/api/rpc/handlers/l3_rpc.py", line 254, in get_external_network_id
2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server     net_id = self.plugin.get_external_network_id(context)
2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/db/external_net_db.py", line 149, in get_external_network_id
2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server TooManyExternalNetworks: More than one external network exists.
```

** Affects: neutron
     Importance: Undecided
         Status: Invalid

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1849392

Title:
  Neutron - Stein - Having two external networks will prevent the router
  from being created.

Status in neutron:
  Invalid

Bug description:
  I am seeing an issue where creating two networks marked as external
  will prevent a Neutron router from spawning on the Controllers. Ports
  attached to those networks will be shown as down.

  Environment:
  - Openstack Stein.
  - Deployed through Kolla.

  1) One network+subnet (EXT) marked as external with X vlan configured on physnet1. This is expected to be used as the SNAT for a router and floating IPs. Not marked as shared.
  2) One network+subnet (PROV) marked as external with Y vlan configured on physnet1. Not currently in use on any qrouters.
  3) Create one router with SNAT and the external network set as the EXT network.
  4) The router is created within Openstack  but is never created on the Controllers namespaces. All port are marked as down.
  5) I've attached the logs.
  6) If I clear the gateway from the router, the router is spawned and the interfaces come up.
  7) If I re-add the gateway with the EXT network. The router goes down and the interfaces are deleted.

  ```
  2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent [-] Router 'b6dba893-1454-4c0f-9088-e61edef31902' is not compatible with this agent.: RouterNotCompatibleWithAgent: Router 'b6dba893-1454-4c0f-9088-e61edef31902' is not compatible with this agent.
  2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent Traceback (most recent call last):
  2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 710, in _process_routers_if_compatible
  2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent     self._process_router_if_compatible(router)
  2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 551, in _process_router_if_compatible
  2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent     router_id=router['id'])
  2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent RouterNotCompatibleWithAgent: Router 'b6dba893-1454-4c0f-9088-e61edef31902' is not compatible with this agent.
  2019-10-22 18:52:27.199 49 ERROR neutron.agent.l3.agent
  2019-10-22 18:52:27.200 49 DEBUG neutron.agent.l3.agent [-] Payload:

  2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server [req-f62c802f-d047-45d7-a3eb-b40e8c44f6ae - - - - -] Exception during message handling: TooManyExternalNetworks: More than one external network exists.
  2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/api/rpc/handlers/l3_rpc.py", line 254, in get_external_network_id
  2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server     net_id = self.plugin.get_external_network_id(context)
  2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/db/external_net_db.py", line 149, in get_external_network_id
  2019-10-22 18:52:20.296 31 ERROR oslo_messaging.rpc.server TooManyExternalNetworks: More than one external network exists.
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1849392/+subscriptions


Follow ups