← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2008775] [NEW] [sqlalchemy-20][vnpaas] Parent instance <VPNService at xxx> is not bound to a Session

 

*** This bug is a duplicate of bug 2008001 ***
    https://bugs.launchpad.net/bugs/2008001

Public bug reported:

The method ``BaseIPsecVPNDriver.create_vpnservice`` is using a SQL
object outside a DB context. The "vpnservice" object retrieved in [1] is
used in the next line but outside the read context used to retrieve it.

Logs: https://paste.opendev.org/show/bC9xTO39Www41MAKrnOy/

[1]https://github.com/openstack/neutron-
vpnaas/blob/d34ff613d720c4990f41c417060e32f92f19f25a/neutron_vpnaas/services/vpn/service_drivers/base_ipsec.py#L174

** Affects: neutron
     Importance: Undecided
         Status: New

** This bug has been marked a duplicate of bug 2008001
   [neutron-vpnaas] SQL error during the "vpnservice" creation

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2008775

Title:
  [sqlalchemy-20][vnpaas] Parent instance <VPNService at xxx> is not
  bound to a Session

Status in neutron:
  New

Bug description:
  The method ``BaseIPsecVPNDriver.create_vpnservice`` is using a SQL
  object outside a DB context. The "vpnservice" object retrieved in [1]
  is used in the next line but outside the read context used to retrieve
  it.

  Logs: https://paste.opendev.org/show/bC9xTO39Www41MAKrnOy/

  [1]https://github.com/openstack/neutron-
  vpnaas/blob/d34ff613d720c4990f41c417060e32f92f19f25a/neutron_vpnaas/services/vpn/service_drivers/base_ipsec.py#L174

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2008775/+subscriptions