NSXv: use admin context for metadata port config
Using session context for the port creation caused conflict with IP allocation for the metadata port. Use of a new admin context resolves this issue. Change-Id: Ic65b70ffd80be07aae4b668b4b8af09a915ab747 Co-Authored-By: Salvatore Orlando <sorlando@vmware.com>
This commit is contained in:
parent
35549f46a6
commit
ef81e5b565
@ -704,7 +704,7 @@ class NsxVMetadataProxyHandler(object):
|
||||
lb_obj.submit_to_backend(self.nsxv_plugin.nsx_v.vcns, edge_id)
|
||||
|
||||
def configure_router_edge(self, context, rtr_id):
|
||||
ctx = context.elevated()
|
||||
ctx = neutron_context.get_admin_context()
|
||||
# Connect router interface to inter-edge network
|
||||
port_data = {
|
||||
'port': {
|
||||
|
Loading…
x
Reference in New Issue
Block a user