← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1824571] Re: l3agent can't create router if there are multiple external networks

 

** Changed in: neutron
       Status: Fix Released => Confirmed

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

Title:
  l3agent can't create router if there are multiple external networks

Status in neutron:
  Confirmed

Bug description:
  In case there are more than one external network the l3 agent unable
  to create routers with the following error:

  2019-04-12 17:33:18.844 103 ERROR neutron.agent.l3.agent Traceback (most recent call last):
  2019-04-12 17:33:18.844 103 ERROR neutron.agent.l3.agent   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 701, in _process_routers_if_compatible
  2019-04-12 17:33:18.844 103 ERROR neutron.agent.l3.agent     self._process_router_if_compatible(router)
  2019-04-12 17:33:18.844 103 ERROR neutron.agent.l3.agent   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 548, in _process_router_if_compatible
  2019-04-12 17:33:18.844 103 ERROR neutron.agent.l3.agent     target_ex_net_id = self._fetch_external_net_id()
  2019-04-12 17:33:18.844 103 ERROR neutron.agent.l3.agent   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 376, in _fetch_external_net_id
  2019-04-12 17:33:18.844 103 ERROR neutron.agent.l3.agent     raise Exception(msg)
  2019-04-12 17:33:18.844 103 ERROR neutron.agent.l3.agent Exception: The 'gateway_external_network_id' option must be configured for this agent as Neutron has more than one external network.

  It happens in DVR scenario on both dvr and dvr_snat agents and it
  started after upgraded from Rocky to Stein, before the upgrade it
  worked fine. The gateway_external_network_id is not set in my config,
  because I want the l3 agent to be able to use multiple external
  networks.

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


References