The change modified instance filtering condition, which filters all
deleted instances on current host, which is not as expected by periodic
task.
The periodic task expects instances, whose instance uuid are associated
with migration record. And after filtering we only need to apply the
instance deletion logic on instance files where instance.host is not
set as current host (CONF.host).
This reverts commit 099cf53925c0a0275325339f21932273ee9ce2bc.
Reviewed: https:/ /review. openstack. org/326262 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=adcc0e418b7 d880a0b0bd60ea9 d0ef1e2ef4e67e
Committed: https:/
Submitter: Jenkins
Branch: master
commit adcc0e418b7d880 a0b0bd60ea9d0ef 1e2ef4e67e
Author: Rajesh Tailor <email address hidden>
Date: Tue Jun 7 07:05:11 2016 +0000
Revert "Optimize _cleanup_ incomplete_ migrations periodic task"
The change modified instance filtering condition, which filters all
deleted instances on current host, which is not as expected by periodic
task.
The periodic task expects instances, whose instance uuid are associated
with migration record. And after filtering we only need to apply the
instance deletion logic on instance files where instance.host is not
set as current host (CONF.host).
This reverts commit 099cf53925c0a02 75325339f219322 73ee9ce2bc.
Change-Id: Ic71c939bef86f1 e5cb485c6827c69 c3d638f2e89
Closes-Bug: 1589821