Merge "Fix compatibility with oslo.db 12.1.0"
This commit is contained in:
commit
12617f1627
@ -1,4 +1,5 @@
|
||||
- project:
|
||||
queue: murano
|
||||
templates:
|
||||
- check-requirements
|
||||
- openstack-cover-jobs
|
||||
@ -14,7 +15,6 @@
|
||||
- murano-grenade
|
||||
- murano-tempest-api-ipv6-only
|
||||
gate:
|
||||
queue: murano
|
||||
jobs:
|
||||
- murano-tempest-api
|
||||
- murano-tempest-api-ipv6-only
|
||||
|
@ -37,6 +37,9 @@ def _create_facade_lazily():
|
||||
global _LOCK, _FACADE
|
||||
|
||||
if _FACADE is None:
|
||||
# FIXME(zigo): autocommit=True it's not compatible with
|
||||
# SQLAlchemy 2.0, and will be removed in future
|
||||
_FACADE = db_session.EngineFacade.from_config(CONF, autocommit=True)
|
||||
with _LOCK:
|
||||
if _FACADE is None:
|
||||
_FACADE = db_session.EngineFacade.from_config(CONF,
|
||||
|
Loading…
Reference in New Issue
Block a user