Ask Your Question
0

External network with more than one VLAN not working in Stein Release.

asked 2019-04-15 04:08:41 -0500

diegos79 gravatar image

Hi all, I'm pretty desperate, I hope you can give me a helpful tip. A few days ago I've deployed Openstack Stein using kolla-ansible. The Deployment itself was ok. I've configured the interface bond0 as the "neutron_external_interface" in the /etc/kolla/globals.yml file. On the bond0 there are 6 VLANs/subnets configurated on external Switch/Router side.

My goal is to configure all those VLANs/networks on Openstack as External Networks. The first VLAN configured works perfectly, but from the second VLAN doesn't work. When I try to configure a Router connected to the second VLAN/network I got this error on the file log /var/log/kolla/neutron/neutron-l3-agent.log:

2019-04-12 20:31:12.832 13 INFO neutron.agent.l3.agent [-] Starting router update for 887f1298-2bb7-4096-908d-b32a5fbd1441, action 3, priority 2 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent [-] Failed to process compatible router: 887f1298-2bb7-4096-908d-b32a5fbd1441: Exception: The 'gateway_external_network_id' option must be configured for this agent as Neutron has more than one external network. 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent Traceback (most recent call last): 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 701, in _process_routers_if_compatible 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent self._process_router_if_compatible(router) 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 552, in _process_router_if_compatible 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent if ex_net_id != self._fetch_external_net_id(force=True): 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 376, in _fetch_external_net_id 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent raise Exception(msg) 2019-04-12 20:31:13.884 13 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. 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent

2019-04-12 20:31:12.832 13 INFO neutron.agent.l3.agent [-] Starting router update for 887f1298-2bb7-4096-908d-b32a5fbd1441, action 3, priority 2 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent [-] Failed to process compatible router: 887f1298-2bb7-4096-908d-b32a5fbd1441: Exception: The 'gateway_external_network_id' option must be configured for this agent as Neutron has more than one external network. 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent Traceback (most recent call last): 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 701, in _process_routers_if_compatible 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent self._process_router_if_compatible(router) 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 552, in _process_router_if_compatible 2019-04-12 20:31:13.884 13 ERROR neutron.agent.l3.agent if ex_net_id ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-04-18 05:07:29 -0500

diegos79 gravatar image

Hi Mark, thanks for your answer. I'm not sure how to do what you asked for.

Also, from what I understood: the parameters "gateway_external_network_id" and "external_network_bridge" should be deprecated. is that correct?

Any suggestion how to apply the modification ypu have suggested in the configuration file?

Thx

edit flag offensive delete link more
0

answered 2019-04-15 10:09:39 -0500

The error message says:

The 'gateway_external_network_id' option must be configured for this agent as Neutron has more than one external network

Have you tried setting that config option?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-04-15 04:08:41 -0500

Seen: 26 times

Last updated: Apr 15