tripleo-heat-templates/container_config_scripts/tests
Oliver Walsh 3846879d46 Skip Trilio dirs when setting ownership in /var/lib/nova
Trilio currently mounts an NFS export in /var/lib/nova to make it accessible
from within the nova_compute and nova_libvirt containers.
This can result in considerable delays when walking the directory tree to
ensure the ownership is correct.

This patch adds the ability to skip paths when recursively setting the
ownership and selinux context in /var/lib/nova. The list of paths to skip
can be set via te NovaStatedirOwnershipSkip heat parameter. This default to
the Trilio dir.

Also:
merges https://review.opendev.org/c/openstack/tripleo-heat-templates/+/763623
into this patch to not have a dedicated fix needed.

Change-Id: Ic6f053d56194613046ae0a4a908206ebb453fcf4
(cherry picked from commit c156534010)
(cherry picked from commit fbc55f02f2)
2020-12-21 11:55:11 +01:00
..
__init__.py Rename docker_config_scripts to container_config_scripts 2019-03-06 09:05:50 -05:00
test_nova_statedir_ownership.py Skip Trilio dirs when setting ownership in /var/lib/nova 2020-12-21 11:55:11 +01:00