tripleo-heat-templates/common
Alex Schultz 08e34dbcae Re-Add facter cache for container configurations
Rather than running all the facts for every invocation of
container-puppet.py, let's cache the facts for the entire container
config step.  This is similar to what used to happen when we ran puppet
in a single instance for a given step. This improves the time it takes
puppet tp execute within the containers. When systems have large number
of interfaces, the fact generation for puppet can come to a crawl given
that puppet is not supposed to be invoked multiple times in parallel. By
pre-caching the facts, we eliminate the need for puppet to do the
network (and other fact) related lookups when running container
configuration generation.

This patch includes logic to exclude the puppet caching dirs that we
mount as read only in the config containers.

Change-Id: I94002572ec7ac1767fbfbfdf4c6fa6fbf0cd58d5
Closes-Bug: #1837082
Closes-Bug: #1835959
2019-07-18 19:58:03 +00:00
..
services Introduce scale_tasks 2019-04-24 11:07:53 -04:00
container-puppet.py Re-Add facter cache for container configurations 2019-07-18 19:58:03 +00:00
deploy-steps-tasks.yaml Re-Add facter cache for container configurations 2019-07-18 19:58:03 +00:00
deploy-steps.j2 Merge "Use template for NetworkConfig script" 2019-07-15 19:03:38 +00:00
post.j2.yaml Consolidate puppet/docker deployments with one deploy steps workflow 2017-08-11 17:25:02 +00:00