40-hiera-datafiles takes over 20 seconds to run
Bug #1596373 reported by
Steve Baker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Dan Prince |
Bug Description
This is very slow for something which is simply transforming a json dict to a directory of hiera files.
The slowness is likely due to calling jq and os-apply-config for every single hiera key - the whole script would likely benefit from being rewritten from scratch in python
Changed in tripleo: | |
milestone: | newton-3 → newton-rc1 |
Changed in tripleo: | |
milestone: | newton-rc1 → newton-rc2 |
Changed in tripleo: | |
assignee: | nobody → Dan Prince (dan-prince) |
Changed in tripleo: | |
milestone: | newton-rc2 → ocata-1 |
Changed in tripleo: | |
status: | Triaged → In Progress |
tags: | added: newton-backport-potential |
Changed in tripleo: | |
milestone: | ocata-1 → ocata-2 |
To post a comment you must log in.
We should replace this with something that's run directly via heat-config, apart from being slow this implementation has no error path in the event something goes wrong (like a full disk for example).