Reviewed: https://review.openstack.org/272709 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0e5c3fa44d72fef56346d1cdd2426aa6fe3a3475 Submitter: Jenkins Branch: master
commit 0e5c3fa44d72fef56346d1cdd2426aa6fe3a3475 Author: Ryan Tidwell <[email protected]> Date: Tue Jan 26 11:46:07 2016 -0800 Elevate context for router lookups during floating IP association. During a floating IP association, the tenant making the request may not always be the owner of the router. To make the association, Neutron needs to query the router details internally but needs to use an elevated context to do so. Otherwise, the user sees a cryptic error stating that the router doesn't exist. Change-Id: If2bd6baa785ff879c61ce12e70b62e0ba25635f5 Closes-Bug: #1537754 ** 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/1537754 Title: Unable to associate floating IP 172.24.5.4 to fixed IP 10.1.0.5 for instance ... Status in Ironic: Triaged Status in neutron: Fix Released Bug description: Gate seems to be failing because of: 2016-01-25 12:27:22.139 ERROR nova.api.openstack.compute.floating_ips [req-ebc3999e-b054-400f-a85e-bc3446a49f44 tempest-BaremetalBasicOps-1761846040 tempest-BaremetalBasicOps-1606508311] Unable to associate floating IP 172.24.5.4 to fixed IP 10.1.0.5 for instance 213b10ac-06eb-4ea0-b638-263f2b75a329. Error: Router a771a17f-0224-4293-b757-59fcc6d21410 could not be found 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips Traceback (most recent call last): 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/opt/stack/new/nova/nova/api/openstack/compute/floating_ips.py", line 238, in _add_floating_ip 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips fixed_address=fixed_address) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/opt/stack/new/nova/nova/network/base_api.py", line 77, in wrapper 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips res = f(self, context, *args, **kwargs) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/opt/stack/new/nova/nova/network/neutronv2/api.py", line 1203, in associate_floating_ip 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips client.update_floatingip(fip['id'], {'floatingip': param}) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 100, in with_params 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips ret = self.function(instance, *args, **kwargs) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 714, in update_floatingip 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips return self.put(self.floatingip_path % (floatingip), body=body) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 275, in put 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips headers=headers, params=params) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 243, in retry_request 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips headers=headers, params=params) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 206, in do_request 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips self._handle_fault_response(status_code, replybody) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 182, in _handle_fault_response 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips exception_handler_v20(status_code, des_error_body) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 69, in exception_handler_v20 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips status_code=status_code) 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips NotFound: Router a771a17f-0224-4293-b757-59fcc6d21410 could not be found 2016-01-25 12:27:22.139 2247 ERROR nova.api.openstack.compute.floating_ips http://logs.openstack.org/10/255310/10/check/gate-tempest-dsvm-ironic- pxe_ssh/67c7e80/logs/screen-n-api.txt.gz#_2016-01-25_12_27_22_139 To manage notifications about this bug go to: https://bugs.launchpad.net/ironic/+bug/1537754/+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

