convergence: creating large resource groups (500+) are slow then fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Expired
|
High
|
Unassigned |
Bug Description
Consider the following test template:
heat_template_
parameters:
count:
default: 2
type: number
resources:
random_group:
type: OS::Heat:
properties:
count: {get_param: count}
resource_def:
type: OS::Heat:
properties:
create: 1
delete: 1
For count=1600 on the legacy engine, creating the stack takes 90 seconds, and create time grows linearly with count.
For count=500 on the convergence engine, creating the stack takes 90 seconds. A count higher than 500 generally results in the stack timing out, sometimes failing early.
Previously I've observed contention of updating Stack.current_deps, so this could be the root cause. According to Zane, current_deps should only be written to once if it is being faithful to the POC https:/
Changed in heat: | |
importance: | High → Medium |
assignee: | Anant Patil (ananta) → nobody |
Changed in heat: | |
milestone: | queens-1 → queens-2 |
Changed in heat: | |
milestone: | queens-2 → queens-3 |
A chart generated from the data in this spreadsheet. The second table is from the template in the description.
https:/ /docs.google. com/a/redhat. com/spreadsheet s/d/1VBWBza5NNt xR_49d7tBJhxErN RCix9ny_ WTbuv07azI/ edit?usp= sharing