commit 3ede373f281edb07141b7e8752670c16878eb909
Author: Brian Waldon <email address hidden>
Date: Fri Nov 2 10:47:34 2012 -0700
Use elevated context in disassociate_floating_ip
The call to service_get_by_host_and_topic would raise AdminRequired
in the case that a non-admin tried to disassociate a floating ip
from their instance and multi_host was on. Using an elevated
context for the db lookup enables the host lookup to happend and
allows a user to disassociate their floating ips.
Reviewed: https:/ /review. openstack. org/17072 github. com/openstack/ nova/commit/ 3ede373f281edb0 7141b7e8752670c 16878eb909
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit 3ede373f281edb0 7141b7e8752670c 16878eb909
Author: Brian Waldon <email address hidden>
Date: Fri Nov 2 10:47:34 2012 -0700
Use elevated context in disassociate_ floating_ ip
The call to service_ get_by_ host_and_ topic would raise AdminRequired
in the case that a non-admin tried to disassociate a floating ip
from their instance and multi_host was on. Using an elevated
context for the db lookup enables the host lookup to happend and
allows a user to disassociate their floating ips.
Fixes bug 1074437
Change-Id: I3d47b5a48eae21 ea913120bd00728 a0b8132da81 5561d30732b7ccf 71e9a7d428)
(cherry picked from commit eedd98477dd3b8a