Reviewed: https://review.openstack.org/280194 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3188b458fd29bbd7711277bc337c0dacbaab4b9e Submitter: Jenkins Branch: master
commit 3188b458fd29bbd7711277bc337c0dacbaab4b9e Author: Oleg Bondarev <[email protected]> Date: Mon Feb 15 15:39:59 2016 +0300 L3 agent: log traceback on floating ip setup failure Currently l3 agent suppresses exception traceback and just raises new FloatingIpSetupException so it's impossible to see actual issue from logs. The patch adds LOG.exception() to the exception handler before reraising. Closes-Bug: #1545695 Change-Id: Ia4557473c7e362f98a564475527b97ee6d0178f9 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1545695 Title: L3 agent: traceback is suppressed on floating ip setup failure Status in neutron: Fix Released Bug description: Following traceback says nothing about actual exception and makes it hard to debug issues: 2016-02-10 05:26:54.025 682 ERROR neutron.agent.l3.router_info [-] L3 agent failure to setup floating IPs 2016-02-10 05:26:54.025 682 TRACE neutron.agent.l3.router_info Traceback (most recent call last): 2016-02-10 05:26:54.025 682 TRACE neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/l3/router_info.py", line 604, in process_external 2016-02-10 05:26:54.025 682 TRACE neutron.agent.l3.router_info fip_statuses = self.configure_fip_addresses(interface_name) 2016-02-10 05:26:54.025 682 TRACE neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/l3/router_info.py", line 268, in configure_fip_addresses 2016-02-10 05:26:54.025 682 TRACE neutron.agent.l3.router_info raise n_exc.FloatingIpSetupException('L3 agent failure to setup ' 2016-02-10 05:26:54.025 682 TRACE neutron.agent.l3.router_info FloatingIpSetupException: L3 agent failure to setup floating IPs Need to log actual exception with traceback before reraising. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1545695/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

