commit 976e52a49c7b43a5bb9ba86bf7970bf7185ef285
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.
Change-Id: I811e84af46d678c3fdbf94ee400eabe659fc3d4e
Closes-Bug: #1793533
(cherry picked from commit 37f3444c32ccb72076a1a6549c183f40c33fe684)
(cherry picked from commit 518fdc7a22dd3dabbc9dd032e816e0aecdd75150)
(cherry picked from commit d01336a332a4080f26ac70d131ecf3ed66e129a9)
Reviewed: https:/ /review. openstack. org/604449 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=976e52a49c7 b43a5bb9ba86bf7 970bf7185ef285
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 976e52a49c7b43a 5bb9ba86bf7970b f7185ef285
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.
Change-Id: I811e84af46d678 c3fdbf94ee400ea be659fc3d4e 076a1a6549c183f 40c33fe684) bbc9dd032e816e0 aecdd75150) f26ac70d131ecf3 ed66e129a9)
Closes-Bug: #1793533
(cherry picked from commit 37f3444c32ccb72
(cherry picked from commit 518fdc7a22dd3da
(cherry picked from commit d01336a332a4080