Public bug reported: Failure to create HA router is reported to neutron.log but doesn't show up in Error message:
[root@RHEL7Server ~(keystone_admin)]# neutron router-create my-first-ha-router Internal Server Error (HTTP 500) (Request-ID: req-9185be70-a028-438a-afd3-89ce3932a128) from neutron.log: 2014-11-25 09:57:24.145 11159 ERROR neutron.api.v2.resource [req-9185be70-a028-438a-afd3-89ce3932a128 None] create failed 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource Traceback (most recent call last): 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 87, in resource 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource result = method(request=request, **args) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 448, in create 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource obj = obj_creator(request.context, **kwargs) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_db.py", line 165, in create_router 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource router_db = self._create_router_db(context, r, tenant_id) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_hamode_db.py", line 359, in _create_router_db 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource self.delete_router(context, router_db.id) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/openstack/common/excutils.py", line 82, in __exit__ 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_hamode_db.py", line 355, in _create_router_db 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource self._create_ha_interfaces(context, router_db, ha_network) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_hamode_db.py", line 299, in _create_ha_interfaces 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource num_agents = self.get_number_of_agents_for_scheduling(context) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_hamode_db.py", line 265, in get_number_of_agents_for_scheduling 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource num_agents=num_agents) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource HANotEnoughAvailableAgents: Not enough l3 agents available to ensure HA. Minimum required 5, available 1. How to reproduce: 1. In neutron.conf set: min_l3_agents_per_router = <number greater than your active l3-agents> 2. create an HA router ** Affects: neutron Importance: Undecided Status: New ** Tags: l3-ha ** Tags added: l3-ha -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1396010 Title: Error HANotEnoughAvailableAgents not reported to user Status in OpenStack Neutron (virtual network service): New Bug description: Failure to create HA router is reported to neutron.log but doesn't show up in Error message: [root@RHEL7Server ~(keystone_admin)]# neutron router-create my-first-ha-router Internal Server Error (HTTP 500) (Request-ID: req-9185be70-a028-438a-afd3-89ce3932a128) from neutron.log: 2014-11-25 09:57:24.145 11159 ERROR neutron.api.v2.resource [req-9185be70-a028-438a-afd3-89ce3932a128 None] create failed 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource Traceback (most recent call last): 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 87, in resource 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource result = method(request=request, **args) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 448, in create 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource obj = obj_creator(request.context, **kwargs) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_db.py", line 165, in create_router 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource router_db = self._create_router_db(context, r, tenant_id) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_hamode_db.py", line 359, in _create_router_db 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource self.delete_router(context, router_db.id) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/openstack/common/excutils.py", line 82, in __exit__ 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_hamode_db.py", line 355, in _create_router_db 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource self._create_ha_interfaces(context, router_db, ha_network) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_hamode_db.py", line 299, in _create_ha_interfaces 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource num_agents = self.get_number_of_agents_for_scheduling(context) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/l3_hamode_db.py", line 265, in get_number_of_agents_for_scheduling 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource num_agents=num_agents) 2014-11-25 09:57:24.145 11159 TRACE neutron.api.v2.resource HANotEnoughAvailableAgents: Not enough l3 agents available to ensure HA. Minimum required 5, available 1. How to reproduce: 1. In neutron.conf set: min_l3_agents_per_router = <number greater than your active l3-agents> 2. create an HA router To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1396010/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp