commit d01336a332a4080f26ac70d131ecf3ed66e129a9
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)
Reviewed: https:/ /review. openstack. org/604448 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d01336a332a 4080f26ac70d131 ecf3ed66e129a9
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit d01336a332a4080 f26ac70d131ecf3 ed66e129a9
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)
Closes-Bug: #1793533
(cherry picked from commit 37f3444c32ccb72
(cherry picked from commit 518fdc7a22dd3da