initializing _facade in sqlalchemy/api.py after OSprofiler causes error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Tovin Seven |
Bug Description
When I try to enable OSprofiler in Heat. I got this:
----------
'NoneType' object has no attribute 'get_engine'
at db/sqlalchemy/
----------
Because of this commit [1], the order of initializing _facade and osprofiler had changed.
Therefore, if we enable OSprofiler, Heat will display this error.
Current initializing order:
if CONF.profiler.
if CONF.profiler.
_facade = db_context.
[1] https:/
Changed in heat: | |
assignee: | nobody → Tovin Seven (tovin07) |
Changed in heat: | |
importance: | Undecided → Medium |
milestone: | none → ocata-3 |
Fix proposed to branch: master /review. openstack. org/421635
Review: https:/