commit 81fe10ffbce67977577e04c72cd48bdf9b0e498c
Author: Dan Smith <email address hidden>
Date: Thu Sep 20 07:15:25 2018 -0700
Filter deleted computes from get_all_by_uuids()
Fix ComputeNodeList.get_all_by_uuids() to use model_query() so that
deleted compute nodes are filtered from the results. Without this,
a stale result from placement could cause us to choose a compute
node as a scheduling destination that has since been deleted.
Reviewed: https:/ /review. openstack. org/604451 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=81fe10ffbce 67977577e04c72c d48bdf9b0e498c
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit 81fe10ffbce6797 7577e04c72cd48b df9b0e498c
Author: Dan Smith <email address hidden>
Date: Thu Sep 20 07:15:25 2018 -0700
Filter deleted computes from get_all_by_uuids()
Fix ComputeNodeList .get_all_ by_uuids( ) to use model_query() so that
deleted compute nodes are filtered from the results. Without this,
a stale result from placement could cause us to choose a compute
node as a scheduling destination that has since been deleted.
Conflicts:
nova/ tests/functiona l/db/test_ compute_ node.py
test_ compute_ node.test_ get_by_ hypervisor_ type did not exist in
Ocata so had to be cleared out.
Change-Id: I811e84af46d678 c3fdbf94ee400ea be659fc3d4e 076a1a6549c183f 40c33fe684) bbc9dd032e816e0 aecdd75150) f26ac70d131ecf3 ed66e129a9) 5bb9ba86bf7970b f7185ef285)
Closes-Bug: #1793533
(cherry picked from commit 37f3444c32ccb72
(cherry picked from commit 518fdc7a22dd3da
(cherry picked from commit d01336a332a4080
(cherry picked from commit 976e52a49c7b43a