Public bug reported:
It is a common practice in the ``OVNClient`` class to create database admin
contexts without considering the current session:
admin_context = n_context.get_admin_context()
Instead of this, if we are passing the current context, that could have an
active session, elevate the active context using:
admin_context = context.elevated()
** Affects: neutron
Importance: Undecided
Status: In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2129674
Title:
[OVN] Avoid creating session less admin context in the OVN client
methods
Status in neutron:
In Progress
Bug description:
It is a common practice in the ``OVNClient`` class to create database admin
contexts without considering the current session:
admin_context = n_context.get_admin_context()
Instead of this, if we are passing the current context, that could have an
active session, elevate the active context using:
admin_context = context.elevated()
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2129674/+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