tripleo-heat-templates/container_config_scripts
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
..
monitoring Return details in output of container health check 2020-10-19 12:50:57 +00:00
tests Skip Trilio dirs when setting ownership in /var/lib/nova 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
nova_statedir_ownership.py Skip Trilio dirs when setting ownership in /var/lib/nova 2020-12-21 11:55:11 +01:00
nova_wait_for_api_service.py Change optparse to argparse 2020-01-21 04:17:09 +00:00
nova_wait_for_compute_service.py Change optparse to argparse 2020-01-21 04:17:09 +00:00
pacemaker_restart_bundle.sh Fix pcs restart in composable HA 2020-08-19 14:30:01 +00:00
pacemaker_wait_bundle.sh HA: reorder init_bundle and restart_bundle for improved updates 2020-01-23 16:09:36 +01:00
placement_wait_for_service.py Fix placement_wait_for_service 2019-10-17 16:08:36 +02:00
pyshim.sh Rename docker_config_scripts to container_config_scripts 2019-03-06 09:05:50 -05:00
wait-port-and-run.sh Ensure redis_tls_proxy starts after all redis instances 2020-07-23 07:48:07 +00:00