yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86642
[Bug 1936675] [NEW] Do no coerce a subquery into a select, create a proper select condition
Public bug reported:
When executing the UTs, we can see the following error:
/opt/stack/neutron/neutron/db/db_base_plugin_v2.py:114: SAWarning: Coercing Subquery object into a select() for use in IN(); please pass a select() construct explicitly
conditions |= (models_v2.Port.network_id.in_(
This is happening in method [1].
[1]https://github.com/openstack/neutron/blob/d20b8708bc03fa0dfe45656b48408b3f74a67709/neutron/db/db_base_plugin_v2.py#L111-L118
** Affects: neutron
Importance: Low
Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
Status: In Progress
** Changed in: neutron
Importance: Undecided => Low
** Changed in: neutron
Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1936675
Title:
Do no coerce a subquery into a select, create a proper select
condition
Status in neutron:
In Progress
Bug description:
When executing the UTs, we can see the following error:
/opt/stack/neutron/neutron/db/db_base_plugin_v2.py:114: SAWarning: Coercing Subquery object into a select() for use in IN(); please pass a select() construct explicitly
conditions |= (models_v2.Port.network_id.in_(
This is happening in method [1].
[1]https://github.com/openstack/neutron/blob/d20b8708bc03fa0dfe45656b48408b3f74a67709/neutron/db/db_base_plugin_v2.py#L111-L118
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1936675/+subscriptions
Follow ups