This commit updates the default tripleo_containers jinja template
splitting off the Ceph related container images.
With this new approach pulling the ceph containers is optional,
and can be avoided by setting the 'ceph_images' boolean to False.
To make this possible, a new jinja template processing approach
has been introduced, and a template basedir parameter (required
by the jinja loader) has been added to the BaseImageManager.
In particular:
- the 'template_dir' parameter represents the location path to the
j2 templates that can be included in the main tripleo containers
template; a default location (which matches with the default j2
path) has been added, but if nothing is passed the old behavior
is maintained;
- Two more 'ceph_' prefixed containers, required to deploy the Ceph
Ingress daemon are added, and they are supposed to match with the
tripleo-heat-templates 'OS::TripleO::Services::CephIngress' service.
The Ingress daemon won’t be baked into the Ceph daemon container,
hence `tripleo container image prepare` should be executed to pull
the new container images/tags in the undercloud as made for the
Ceph Dashboard and the regular Ceph image.
Change-Id: I7e337596b653cf635f07a36606e9f673044402a3