diff options
| author | Dan Prince <dprince@redhat.com> | 2012-12-01 21:25:30 -0500 |
|---|---|---|
| committer | Dan Prince <dprince@redhat.com> | 2012-12-04 08:25:09 -0500 |
| commit | 2c84191d93fed209d6ae68cf80f52bbdca7646d7 (patch) | |
| tree | e2a5ef2aa4ff5e7c88d35b5a8d0615756bcb43be /nova/openstack | |
| parent | ca1a2566d33aad15de640bf60630330aceb0ef2c (diff) | |
| download | nova-2c84191d93fed209d6ae68cf80f52bbdca7646d7.tar.gz nova-2c84191d93fed209d6ae68cf80f52bbdca7646d7.tar.xz nova-2c84191d93fed209d6ae68cf80f52bbdca7646d7.zip | |
network managers: Pass elevated cxtx to update_dhcp
Updates the Nova FlatDHCPManager and VlanManager network
managers so they pass an elevated context to update_dhcp.
In some cases (linux_net) the network driver may make use of
DB calls which require an admin context.
This fixes an issue where resize operations (confirm, revert)
would fail if the user was not an admin.
This is more fallout from 14e2ed3 where we stopped passing admin
contexts for resize across RPC.
Fixes LP Bug #1085071
Change-Id: I718c40f0df0b2955626033cf3b6f78323527e9cf
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
