Floating ips do not work with error "Exception: The 'gateway_external_network_id' option must be configured for this agent as Neutron has more than one external network."

Solution Unverified - Updated -

Issue

  • I can successfully created a private network, external network, router, set external network as gateway and added interface from private network to gateway and assigned floating ips after that to instances, but floating ips fail to work. /var/log/neutron/l3-agent.log shows below error.
2014-04-03 11:44:01.925 15443 TRACE neutron.agent.l3_agent
2014-04-03 11:44:41.921 15443 ERROR neutron.agent.l3_agent [-] Failed synchronizing routers
2014-04-03 11:44:41.921 15443 TRACE neutron.agent.l3_agent Traceback (most recent call last):
2014-04-03 11:44:41.921 15443 TRACE neutron.agent.l3_agent   File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 734, in _sync_routers_task
2014-04-03 11:44:41.921 15443 TRACE neutron.agent.l3_agent     self._process_routers(routers, all_routers=True)
2014-04-03 11:44:41.921 15443 TRACE neutron.agent.l3_agent   File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 648, in _process_routers
2014-04-03 11:44:41.921 15443 TRACE neutron.agent.l3_agent     target_ex_net_id = self._fetch_external_net_id()
2014-04-03 11:44:41.921 15443 TRACE neutron.agent.l3_agent   File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 297, in _fetch_external_net_id
2014-04-03 11:44:41.921 15443 TRACE neutron.agent.l3_agent     raise Exception(msg)
2014-04-03 11:44:41.921 15443 TRACE 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.
2014-04-03 11:44:41.921 15443 TRACE neutron.agent.l3_agent

Environment

  • Red Hat Enterprise Linux Openstack Platform v4.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.