'module' object has no attribute 'get_engine'

Bug #1314850 reported by Amir Sadoughi
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Kevin Benton

Bug Description

  File "neutron/lib/python2.7/site-packages/neutron/wsgi.py", line 98, in start
    session.get_engine(sqlite_fk=True).pool.dispose()
AttributeError: 'module' object has no attribute 'get_engine'

https://review.openstack.org/#/c/77205/

wsgi.py was not updated with these changes and execution results in an exception when get_engine from neutron.openstack.common.db.sqlalchemy.session is invoked.

Revision history for this message
Kevin Benton (kevinbenton) wrote :
Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Medium
milestone: none → juno-1
status: In Progress → Fix Committed
Changed in neutron:
status: Fix Committed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/91497
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=07a130be1a1f77fc86076f37afe5b6bae2692a2c
Submitter: Jenkins
Branch: master

commit 07a130be1a1f77fc86076f37afe5b6bae2692a2c
Author: Kevin Benton <email address hidden>
Date: Wed Apr 30 18:58:05 2014 -0700

    Reference new get_engine() method from wsgi.py

    wsgi.py referenced get_engine in neutron.openstack.common.db.sqlalchemy.session.
    This method was removed from that file in commit 53609f29f3c8fcadc545afb891189253c07b33c3
    change-id I0e1d86878d3eb924b01e04dced0f90b4e57757d8. This patch references the
    replacement method added to neutron.db.api.

    Closes-Bug: #1314850
    Change-Id: Ifd4db5f49e2aaebc67eccb8bdcef8eea54983112

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/94267

Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-1 → 2014.2
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.