yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #85834
[Bug 1924789] [NEW] Since the migration to new engine facade, some operations that shouldn't be executing within a txn, are logging a "session semantic violated" warning
Public bug reported:
When Neutron moved to the new engine facade, some operations that could
not be executed inside a running transaction, are allowed as an
exception. Those commands are executed disabling first the transaction
guard. Example:
if context.session.is_active:
context.GUARD_TRANSACTION = False
There are three occurrences in the code, all of them in the neutron.db.l3_db code, all of them creating/deleting a port from a router.
Snippet: paste.openstack.org/show/804570/
Log:
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_798/786282/1/check
/neutron-fullstack-with-uwsgi/7984131/controller/logs/dsvm-fullstack-
logs/TestHAL3Agent.test_router_fip_qos_after_admin_state_down_up
/neutron-server--2021-04-16--14-34-57-360223_log.txt
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1924789
Title:
Since the migration to new engine facade, some operations that
shouldn't be executing within a txn, are logging a "session semantic
violated" warning
Status in neutron:
New
Bug description:
When Neutron moved to the new engine facade, some operations that
could not be executed inside a running transaction, are allowed as an
exception. Those commands are executed disabling first the transaction
guard. Example:
if context.session.is_active:
context.GUARD_TRANSACTION = False
There are three occurrences in the code, all of them in the neutron.db.l3_db code, all of them creating/deleting a port from a router.
Snippet: paste.openstack.org/show/804570/
Log:
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_798/786282/1/check
/neutron-fullstack-with-uwsgi/7984131/controller/logs/dsvm-fullstack-
logs/TestHAL3Agent.test_router_fip_qos_after_admin_state_down_up
/neutron-server--2021-04-16--14-34-57-360223_log.txt
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1924789/+subscriptions