commit 699b46799fe408bab1f23c108c2e9887638ec5b0
Author: Joe Gordon <email address hidden>
Date: Tue Oct 21 16:46:19 2014 -0700
Don't make a no-op DB call
drivers_uuid can be empty, but we are still doing a DB call. This is causing
a sqlalchemy SAWarning.
SAWarning: The IN-predicate on "instances.uuid" was invoked with an
empty sequence. This results in a contradiction, which nonetheless can
be expensive to evaluate. Consider alternative strategies for improved
performance.
Reviewed: https:/ /review. openstack. org/134740 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=699b46799fe 408bab1f23c108c 2e9887638ec5b0
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 699b46799fe408b ab1f23c108c2e98 87638ec5b0
Author: Joe Gordon <email address hidden>
Date: Tue Oct 21 16:46:19 2014 -0700
Don't make a no-op DB call
drivers_uuid can be empty, but we are still doing a DB call. This is causing
a sqlalchemy SAWarning.
SAWarning: The IN-predicate on "instances.uuid" was invoked with an
empty sequence. This results in a contradiction, which nonetheless can
be expensive to evaluate. Consider alternative strategies for improved
performance.
Conflicts:
nova/ tests/unit/ compute/ test_compute_ mgr.py
Change-Id: Ib8c9b85e84800c 9e2ddcdf204851f 1b51101926c bb21d5264142673 bc4961ec75)
Closes-Bug: #1383617
(cherry picked from commit 150428f76e6149a