Redundant resource deletion for heat resource cleanup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Confirmed
|
Medium
|
Unassigned |
Bug Description
During writing one of tests I found the following definition of Heat cleanup manager in rally.context.
@base.resource(
class HeatStack(
pass
The definition above means that rally is trying to cleanup resources (=stacks for Heat) for every user because tenant_resource option is not defined and the default value for this attribute is False.
But it turns out that heat stacks are tenant based and tenant stacks are available for all users in project. So there is no need to delete stacks for every user.
Heat supports deletion in cycle (=deletion of the same resource several times) but it definitely leads to some overhead because when the new deletion begins the previous deletion jobs has stopped.
So I propose to define the new behavior for heat cleanup manager in order to get rid of this overhead during testing.
Changed in rally: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in rally: | |
importance: | High → Medium |