tripleo-heat-templates/container_config_scripts
Oliver Walsh 98c7bb1640 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)
(cherry picked from commit c352a78fe0)
2020-12-21 11:58:09 +01:00
..
monitoring Failure status should be set on 0 rather than 1 2020-10-29 16:29:36 -04:00
tests Skip Trilio dirs when setting ownership in /var/lib/nova 2020-12-21 11:58:09 +01:00
__init__.py Rename docker_config_scripts to container_config_scripts 2019-03-06 09:05:50 -05:00
cinder_ffu_db_sync.sh [TRAIN ONLY] Ensure interim db migration containers work properly 2020-06-17 16:24:47 +02:00
glance_ffu_db_sync.sh [TRAIN ONLY] Ensure interim db migration containers work properly 2020-06-17 16:24:47 +02:00
keystone_ffu_db_sync.sh [TRAIN ONLY] Ensure interim db migration containers work properly 2020-06-17 16:24:47 +02:00
manila_ffu_db_sync.sh [Q->T] Add FFU steps for manila 2020-07-06 21:56:27 +00:00
mistral_ffu_db_sync.sh [TRAIN ONLY] Ensure interim db migration containers work properly 2020-06-17 16:24:47 +02:00
neutron_db_rename.sh [TRAIN ONLY] Wait until DB is ready for neutron DB rename 2020-07-07 11:33:53 +01:00
neutron_ffu_db_sync.sh [TRAIN ONLY] Ensure interim db migration containers work properly 2020-06-17 16:24:47 +02:00
nova_ffu_db_sync.sh [TRAIN ONLY] Ensure interim db migration containers work properly 2020-06-17 16:24:47 +02:00
nova_statedir_ownership.py Skip Trilio dirs when setting ownership in /var/lib/nova 2020-12-21 11:58:09 +01:00
nova_wait_for_api_service.py Ensure nova-api is running before starting nova-compute containers 2019-10-01 11:11:44 +01:00
nova_wait_for_compute_service.py Merge "Add multi region support in nova_wait_for_compute_service.py" 2019-10-04 03:43:01 +00:00
pacemaker_restart_bundle.sh Fix pcs restart in composable HA 2020-08-19 17:10:28 +02:00
pacemaker_wait_bundle.sh HA: reorder init_bundle and restart_bundle for improved updates 2020-03-03 09:59:42 +00:00
placement_wait_for_service.py Fix placement_wait_for_service 2019-10-24 04:23:48 +00: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-27 15:50:27 +00:00