Add filter for soft-deleted instances to periodic cleanup task
The periodic cleanup task added recently does a db query to get
instances in need of cleanup. The filters applied to the query
must have a filter to not include soft-deleted instances.
This fix adds the required filter and adds a test to verify the
correct behavior.
Reviewed: https:/ /review. openstack. org/45878 github. com/openstack/ nova/commit/ 6ae5899a86c0d86 3f1c64fdd960b10 9fb2a5c80f
Committed: http://
Submitter: Jenkins
Branch: master
commit 6ae5899a86c0d86 3f1c64fdd960b10 9fb2a5c80f
Author: Hans Lindgren <email address hidden>
Date: Tue Sep 10 15:20:08 2013 +0200
Add filter for soft-deleted instances to periodic cleanup task
The periodic cleanup task added recently does a db query to get
instances in need of cleanup. The filters applied to the query
must have a filter to not include soft-deleted instances.
This fix adds the required filter and adds a test to verify the
correct behavior.
Change-Id: I0c5d7e317d1fdd 4e1e618c1c38870 e775a715eab
Closes-Bug: #1223345