COMPAT: Neutron DB API no longer has get_session()

Bug #1750684 reported by Shriram Chander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vpp
Fix Released
Undecided
Naveen Joy

Bug Description

I'm unable to spin up instances when using devstack master, and after consulting with Naveen it was found that the session = neutron_db_api.get_session() call in mech_vpp.py is failing with the following exception:
Feb 20 22:20:31 shrircha-test3 neutron-server[22384]: #033[01;33mWARNING networking_vpp.mech_vpp [#033[00;36m-#033[01;33m] #033[01;35m#033[01;33m'module' object has no attribute 'get_session'#033[00m

Naveen Joy (najoy)
Changed in networking-vpp:
assignee: nobody → Naveen Joy (najoy)
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vpp (master)

Reviewed: https://review.openstack.org/546463
Committed: https://git.openstack.org/cgit/openstack/networking-vpp/commit/?id=8dd085db87e939e51fb2fcc77123daf11c7a87fb
Submitter: Zuul
Branch: master

commit 8dd085db87e939e51fb2fcc77123daf11c7a87fb
Author: Naveen Joy <email address hidden>
Date: Tue Feb 20 16:28:08 2018 -0800

    Get session from context instead of neutron_db_api

    From the Queens release onwards, the Neutron DB API no longer has
    get_session(). We need to use the session from the context.

    Change-Id: Ib072ffa538a4123444beb5b632171f679b6d72cf
    Closes-Bug: #1750684

Changed in networking-vpp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.